I'm making this quest and want to add a passive ability in the form of a discount in all stores.
How would I go about doing this? ... If it is even possible to do this.
I'm fiddling around with States, but I haven't been able to figure out just where I should look.
theoretically it can be done by eventing, but most likely you'll have to look for an advanced shop plugin.
with eventing, you would make each shop event with branches checking a switch if that ability exists or not - and then in some branches have the shop processing override the defaults with lower prices.
yes, that is extremely tedious to enter all the prices multiple times if you have a lot of items or shops.
if you can find a plugin that adds such an ability to the shop processing, that would be much easier.
Checking if said ability exists before changing the variable using the code above would probably work, yeah. How would one go about tying it directly to a state, though? 😅