It's time for another one of these questions. I looked this up last night, but everyone else who needed to make an item change a variable was doing this for a specific purpose that wasn't mine, and got solutions that were specific to their design.
So, inspired by Spiderweb Software's Queen's Wish, I wanted to implement a system where consumables are limited by the amount of containers you have, rather than the number of consumables you purchase, and the container is returned after consumption. Now, I *can* do this through a series of common events, where each container category (i.e. sacks for food, bottles for medicine, syringes for stimulants) has its own common event that it calls, but I want to consolidate these into one common event that I can simply update with new container types, because I don't know how many types of container, and thus different common events, I'll actually want to use, and I prefer to keep things tidy.
So, inspired by Spiderweb Software's Queen's Wish, I wanted to implement a system where consumables are limited by the amount of containers you have, rather than the number of consumables you purchase, and the container is returned after consumption. Now, I *can* do this through a series of common events, where each container category (i.e. sacks for food, bottles for medicine, syringes for stimulants) has its own common event that it calls, but I want to consolidate these into one common event that I can simply update with new container types, because I don't know how many types of container, and thus different common events, I'll actually want to use, and I prefer to keep things tidy.