Dirty Shopkeeper

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:

dirtyshopace001.jpg

Nope, it's not a mockup but an actual screenshot of the script doing its job.
It's an intriguing idea, but I'm not sure it would work massively well in an RPG. I guess it depends on the kind of in-game economy you establish, because in games where money is scarce or carefully-curated, having to pay extra for a purchase you've already struggled to afford is never going to feel anything but bad.

It feels like RNG being applied to something which in an RPG people would usually consider to be static and predictable (you check shop prices and see something costs X, earn X amount to buy it).

Then there's the question of how you'd persist this. I'm assuming the player could choose not to make the purchase and back out, but if the proc chance of the extra charge happening is random, they could just quit out and re-enter the shop until it doesn't happen. And to avoid that, you'd need to make it always happen once it procs, which kind of defeats the purpose of it having been random in the first place. There are a lot of mini-decisions that would determine whether this is a good fit, I think.
This thread has been moved to RGSSx Scripts in Development at OP’s request.
Well, trilobite forumer, I guess your concerns are the usual ones for my strange scripting proposal. I didn't really consider making it random as in just spinning the wheel and see if you're gonna get lucky or not. I was thinking about doing it based on amounts or item rarity instead. And yeah, why wouldn't it keep track of that "indecent" proposal for a while?
Gonna say, I didn't think I needed something like this till I saw it.
Perfect for adding some chaos and character to my shopkeeper.
Well, trilobite forumer, I guess your concerns are the usual ones for my strange scripting proposal. I didn't really consider making it random as in just spinning the wheel and see if you're gonna get lucky or not. I was thinking about doing it based on amounts or item rarity instead. And yeah, why wouldn't it keep track of that "indecent" proposal for a while?
Even so, outside of a momentary "Ha, that's kinda cool" reaction, I imagine players would just never use that vendor again once they know he might end up overcharging for things.
I was thinking about having merchants refuse to buy stolen goods (like maybe you have to find a shady one to offload the loot), would your script be able to do something like that? For specific items and not for others?
Even so, outside of a momentary "Ha, that's kinda cool" reaction, I imagine players would just never use that vendor again once they know he might end up overcharging for things.
Not if you make that the only available vendor. He he he.
Well, I've got my reservations about this idea of mine. Am I encouraging the creation of an in game black market?

Yeah, I also thought that exclusivity would be an important factor in games portraying such illegal transactions.

Making a shop for only certain items to be purchased by the shady store keeper...
Even so, outside of a momentary "Ha, that's kinda cool" reaction, I imagine players would just never use that vendor again once they know he might end up overcharging for things.
I mean, it could work if say, the merchant shows up while the player is halfway through a dungeon and in desperate need of potions. Or in roguelike/roguelite games where you don't know when the next decent merchant will show up; you'd have to weigh the risks/rewards of overpaying now or trying to hold out until you can get a better deal.
merchants refuse to buy stolen goods
if you're thinking on something like Oblivion or Skyrim, that would require tagging each object everywhere with the name of it's owner..... because if you put them back, they stop being flagged, so, *putting them back* *WHERE?*
there needs to be a correlation there.... which implies [named NPCS], which means, [NPCs as individual objects separate from the editor events].
that's a taller order.
Not that hard if using OpenChest that already keeps track of the original items found in that chest.

Original thread: https://forums.rpgmakerweb.com/threads/dirty-shopkeeper.159303/