Valid for Any RGSS Based Engine!
Well, I was thinking that some games are kind of unrealistic because their storekeepers either sell you stuff or they simply don't based on switches or fame points and the like. Isn't that a bit boring?
What if some shopkeepers could actually... extort you out of nowhere for no good reason?
Wouldn't that make the interaction a lot more realistic?
Oh and I don't mean here that this has to ever interrupt your shopping at all, he, he.
Fine. Forget about discussing the idea. Why? Because I already started working on this project. 😀
This is how it would work.
First you would need to call the script to preset up to 2 values, namely the active variable and the extortion one. You would also need to configure a game variable that would hold the percentage used later on as a "tip percent" or extra charge or blackmail if you prefer.
Then it would let you open a normal shop. Business as usual you would think. Not quite. Once you try to buy or sell stuff, a message window will show up. Why? Because the script would have called a common event at that point. Then you'd see something like this picture:
Nope, it's not a mockup but an actual screenshot of the script doing its job.