Luminol
Luminol copied to clipboard
Switch/Variable Grouping
Is your feature request related to a problem? Please describe.
Often times you end up in a situation where switches or variables are all over the place instead of in a fixed range, usually as a result of going back to tweak things and adding new switches, so finding related switches or variables can get tedious sometimes.
Describe the solution you'd like
The ability to group switches and variables under labels independent of their IDs would allow for easier managing without too much hassle, or relying on naming conventions like cfg: xxx
which usually only add more clutter and confusion.
When viewing switches/variables, there would be a view where you'll have a list of drop downs labeled with their name. Each drop down will display both the switches and the variables grouped under it, and will allow you to select a switch/variable from the group. If you're viewing it from a switches context, you'll still see the variables, but you won't be able to insert them, and vice versa.
The user would be able to manage these groups, by creating new ones, renaming/deleting existing ones, and adding entries to the groups.
This should not affect the game logic, it's just an easier way to organize things in editor.
Describe alternatives you've considered
Using prefixes in switch/variable names, which isn't very helpful when the switches/variables are all over the place, and make the rest of the name less readable.
Additional context
The structure should be as simple as:
{
"group_name": [100, 101, 102]
}
Also might be worth notifying the user when a switch/variable is in more than one group.
If you could draft up a UI that would be great!
✨*Graphic design is my passion~*✨
It's closer to the RMXP styled menu than what you have going for Luminol, but I believe it conveys the idea well enough.
This could work well with #32.