MZ [Dev] Shop Inventory


With the release of the HIME Inventory System, the next step is to bring inventory management into shops. This is basically the Shop Manager plugin in Ace but supercharged with MZ functionality.


This is what it means for you

1. You'll be able to keep track of shops throughout your game. So that shop in the first town called "First Shop"? Everytime you visit that shop, it'll always be the same shop as long as you "open" the shop before you enter the shop processing scene.

1599184836636.png


2. You can set up your shops with some initial data. With MZ's new plugin parameters, you get to set up your shop using a nice interface instead of making script calls.

So for example, we want to add Potion to the shop and let players buy it for 100 gold, and sell it back for 50 gold.

1599185027226.png


You can set up your weapons, armors, and items for the shop, the same way you would normally do it with shop processing. However, I've also added the option to buy/sell skills, actors, enemies, or common events. These don't do anything on its own, but extension plugins might make use of it,

- maybe buying a skill will cast the skill on the selected actor, sort of like a hospital.

- maybe buying a skill will have the actor learn the skill.

- maybe you can "recruit" actors from a shop and they'll be added to your party, or you can sell "enemies" to the shop for...reasons.

3. Since it's an actual inventory, we can also keep track of shop stock. Maybe they only carry 5 potions a day ? Maybe you can only sell 20 bricks a week?

4. All of the data can be manipulated using additional plugin commands. You can therefore re-stock items, weapons, armors. You could also change things like the prices, or the things that are available for sale.

5. Shops can keep track of all of the transactions you've made, which means they'll know how many potions you bought or how many bricks you've sold to them. This can be used in conditional branches so that you can create events that occur based on the player's shopping habits.

Maybe if they sell 100 bricks to the store, a new item will be available for sale because the shop has taken all those bricks and did some R&D and now is selling you a brick sword.

This should be allow you to improve the shopping system in your game, and may even be used to create complex commerce systems.

If there's anything that you think might be useful for shop management plugin feel free to leave your thoughts.
Tsukihime, thank you for making this shopping store plugin. I am suggesting if you would like to make the shop allows for more currencies. I think it is possible by using the variable to track the transaction of customizing currency in the shop plugin if it is possible. I greatly appreciate it. I am thinking about the bartering system [ People exchanged goods for goods in return.] of the ancient people like Mesopotamia tribes and Phoenicians.

Anyway, it might be difficult than I might think, but thank you for listening to suggestions.

Here is not specific I would like, but I threw the ideas anyway for the shop plugin expansion lol.
  1. Magic shop uses a job point/ ability point to buy the skill or the ability.
  2. Crafting shop in which the player can update weapons for a price.
Tsukihime, thank you for making this shopping store plugin. I am suggesting if you would like to make the shop allows for more currencies. I think it is possible by using the variable to track the transaction of customizing currency in the shop plugin if it is possible. I greatly appreciate it. I am thinking about the bartering system [ People exchanged goods for goods in return.] of the ancient people like Mesopotamia tribes and Phoenicians.

Anyway, it might be difficult than I might think, but thank you for listening to suggestions.

I think "Cost" would be something that we can expand on.

I won't bundle different currencies into this system directly, but if you have a plugin that supports multiple currencies, I can provide a list of currency inputs instead, so for example your game has multiple currencies

1599188298510.png


But then I thought, if we wanted to actually trade with items directly, why not just let you provide an item as input directly?

1599188490678.png

It wouldn't be a bartering system, but you could for example require "two potions", and then the player would have to go through their item bag and select two potions or something (or it just automatically deducts 2 potions for you)

We could add "weapon" and "armor" as costs as well.
This might be used in a crafting/alchemy system, where you basically set up your shop items to cost different weapons/armors/items to purchase new ones.

I think a flexible "cost" setup would be useful for setting up shop goods.
Tsukihime, thank you for your time to explain it to me. I do not see the multiple currencies create in MZ yet. I saw and used Yanfly more currency and also I saw Mr.Trival that plugin too. Yeah, I think to use the variables in MZ [not the coding one] to create the customized currency as the workaround for now. If you would like to do expand more currencies plugin. I will be greatly thankful if you would like to with that direction.

I won't bundle different currencies into this system directly, but if you have a plugin that supports multiple currencies, I can provide a list of currency inputs instead, so for example your game has multiple currencies
Yeah, I agree with you that the plugin extension would be a better idea to handle this function. The "cost" would be reusable than the bartering system.
Thank you for talking to me and hearing out my bad ideas.
MAybe its me, but i downloaded the inventory system and it says its not an MZ plugin?? :awat:
MAybe its me, but i downloaded the inventory system and it says its not an MZ plugin?? :awat:

I probably forgot to say that it's compatible with MZ. The editor will warn that it might not work if I don't include it in the plugin.
:ewat: Ah that makes sense cheers
A suggestion: Put on purchase evals for the skill shop.
Also if you make the cost variable and allow for costs other than the default currency, you can make a "level up" shop!
I know I could use that in my project. 🙂
Hi, does anyone know if TSUKIHIME managed to finish the SHOP Manager Plugin and shared it anywhere?
When should this be available or is it out now and I missed the link? And thank you thank you so much for making this... I have wanted a shop with item stock for mz for a while now and couldn't find an answer. Do you think it would be compatible with Vissustella plug-ins?

Original thread: https://forums.rpgmakerweb.com/threads/dev-shop-inventory.126717/