I end up having a lot of global variables such as UPGRADE_MOVESPEED, UPGRADE_SCOREMULT, etc so that I can then do things like upgradeData.At(UPGRADE_MOVESPEED, UPGRADE_PRICE) without having to remember which entry in the array the upgrade I want is at.
There's many more examples of cases where I find this approach is useful but I end up with 834239012093 global variables that I treat as const's cluttering up my variable list.
The plugin would let you do something like this:
- action -> create enum "UPGRADES"
- action -> add "PRICE" to enum "UPGRADES"
- and then you can use expression UPGRADES.PRICE
Any thoughts / advice before I start this in the next few days?