I find that I usually am working on one quest at a time. Therefore, it's two extra clicks every time I'm writing a condition to select my quest or it's entry: One click to open the drop down, one click to pick the right quest. Since I think I usually want to pick the last quest I've picked, it would be nice if the dropdown always defaulted to the last one.
If this is going to be implemented, I think it should be one shared variable between conditions and scripts. That way, if I pick a quest in a condition, it'll be preselected when I pick a quest for a script, and vice versa. Same thing applies to whether I'm picking a quest, or a quest entry.
To clarify, I'm talking about this part of the UI:
Feature request: In conditions/scripts, always default to the last quest used
Re: Feature request: In conditions/scripts, always default to the last quest used
Good idea! I'll add it to the list.
Re: Feature request: In conditions/scripts, always default to the last quest used
This feature is in hotfix 20190614 and will be in version 2.1.8.
Re: Feature request: In conditions/scripts, always default to the last quest used
Glad to add this one! I put together a short example for someone yesterday, and this feature already came in handy for myself.
Re: Feature request: In conditions/scripts, always default to the last quest used
Sorry I didn't say this earlier, but consider enhancing this to apply to the wizard's first dropdown. I *think* if I selected a variable last time, I'm more likely to select a variable next time. Same goes for a quest or a quest entry. I'm not as confident that this request is the right solution to the problem, but I do know that Quest is picked by default and it's a relatively rare choice for me. I'm usually picking Variable or Quest Entry instead.
Re: Feature request: In conditions/scripts, always default to the last quest used
What do you mean by the wizard's first dropdown? I think this should already work.
For example, say I edit node 1 and use the Conditions wizard to set Variable > PlantedCrops > Is > True.
Then if I edit node 2, click "..." to open the Script wizard, and click "+", the first dropdown will start at Variable > PlantedCrops.
Currently it forgets the value when you recompile code or switch into play mode. But otherwise it should remember your last choice. In version 2.1.8, I'll extend it to remember the choice even after recompiling code or switching into play mode.
For example, say I edit node 1 and use the Conditions wizard to set Variable > PlantedCrops > Is > True.
Then if I edit node 2, click "..." to open the Script wizard, and click "+", the first dropdown will start at Variable > PlantedCrops.
Currently it forgets the value when you recompile code or switch into play mode. But otherwise it should remember your last choice. In version 2.1.8, I'll extend it to remember the choice even after recompiling code or switching into play mode.