Hello all, I am in the middle of development of a plugin for the Shop Processing scene.
I have looked around the forums and also on Itch.IO pages for a good shop plugin that does the following:
Here is an early prototype I've developed.
In this example, I just place comment tag <Advanced Shop: name> and <Merchant Gold: x> before the Shop Processing event command. It turns any basic shop into an "advanced shop".
Also notice that, in order to add more quantities of the item, I just add more entries of that item.
And in-game, it looks like this:
Notice the merchant gold window at the bottom right. The merchant starts with 2000 gold and it gets updated whenever you buy or sell from that merchant.
It also plays nicely with VisuStella plugins. Here is a screenshot below.
In this case, the merchant gold window has shifted to the top right. It's tied to the help window, so it will go wherever the help window is.
When "selling" items, the scene won't allow selling of items if the merchant cannot afford them. Here is a screenshot.
Notice that even though I have 99 Potions in my possession, the scene won't let me go past 40, because that's all the merchant can afford.
Note: This also works if you have entered custom selling prices using <Sell Price: x> VisuStella note tags. The plugin does not do notetag parsing in this case, but calculates the final selling price after all customizations.
Here is a screenshot of the plugin parameters and customizations available.
I have also added support for "global" and "local" shops. Global shops persist across maps, so if for example, you have a "travelling merchant" that travels between maps, or if you have some universal shop, you can set up a global shop.
Alternatively, if you want more customization, you can set up using the Plugin Commands below:
This allows you to:
Furthermore, if you want to set up an "auto-restock" (timer-based), you can either use the plugin commands, or simply use a note tag.
In this example below, the <Auto Restock: x> tag will restock the shop to its original state every 600 seconds of playtime.
Would anyone find value in a plugin like this?
I've built this prototype because I needed features in my own game such as merchant gold tracking, quantity-based inventory, and optional restocking mechanics, all while staying compatible with VisuStella (since I'm using a lot of VisuStella plugins).
If there's interest in this, I'd be happy to package it into a proper plugin (free + paid tier) and release it for others to use.
Note & Disclaimer:
This plugin does not expose, modify, or reverse engineer any VisuStella plugin code. It is built entirely using the default available RPG Maker MZ code base, and is designed to coexist with VisuStella plugins, not interfere with them.
I have looked around the forums and also on Itch.IO pages for a good shop plugin that does the following:
- Item quantity tracking
- Auto / manual restocking
- Merchant gold tracking
- Track total spent / total earned at each shop
- Plug-and-play setup (just use note tags instead of complicated setups)
- Plugin compatibility (works alongside VisuStella and other major plugins without issues)
- Persistent state (shop inventories and merchant gold persist across saves)
Here is an early prototype I've developed.
In this example, I just place comment tag <Advanced Shop: name> and <Merchant Gold: x> before the Shop Processing event command. It turns any basic shop into an "advanced shop".
Also notice that, in order to add more quantities of the item, I just add more entries of that item.
And in-game, it looks like this:
Notice the merchant gold window at the bottom right. The merchant starts with 2000 gold and it gets updated whenever you buy or sell from that merchant.
It also plays nicely with VisuStella plugins. Here is a screenshot below.
In this case, the merchant gold window has shifted to the top right. It's tied to the help window, so it will go wherever the help window is.
When "selling" items, the scene won't allow selling of items if the merchant cannot afford them. Here is a screenshot.
Notice that even though I have 99 Potions in my possession, the scene won't let me go past 40, because that's all the merchant can afford.
Note: This also works if you have entered custom selling prices using <Sell Price: x> VisuStella note tags. The plugin does not do notetag parsing in this case, but calculates the final selling price after all customizations.
Here is a screenshot of the plugin parameters and customizations available.
Alternatively, if you want more customization, you can set up using the Plugin Commands below:
This allows you to:
- Call Global Shop - Calls a global shop specified in plugin parameters.
- Shop Advanced - Creates an advanced shop with tracking.
- Restock Shop - Manually restock a shop.
- Get Merchant Gold - Stores a merchant's gold value into a variable.
- Get Item Quantity - Gets quantity of specific item in shop.
- Set Merchant Gold - Sets a merchant's gold to a value/variable.
- Change Items - Add new items or set quantities of existing items.
- Remove Items - Remove items from a specific shop.
Furthermore, if you want to set up an "auto-restock" (timer-based), you can either use the plugin commands, or simply use a note tag.
In this example below, the <Auto Restock: x> tag will restock the shop to its original state every 600 seconds of playtime.
Would anyone find value in a plugin like this?
I've built this prototype because I needed features in my own game such as merchant gold tracking, quantity-based inventory, and optional restocking mechanics, all while staying compatible with VisuStella (since I'm using a lot of VisuStella plugins).
If there's interest in this, I'd be happy to package it into a proper plugin (free + paid tier) and release it for others to use.
Note & Disclaimer:
This plugin does not expose, modify, or reverse engineer any VisuStella plugin code. It is built entirely using the default available RPG Maker MZ code base, and is designed to coexist with VisuStella plugins, not interfere with them.