A downloadable tool

Download NowName your own price

This plugin will let you easily create custom shops with limited inventory.

Newly created custom shops will be stored (as well as their stock) and you'll be able to re-use them anywhere you want (on different map and different event).

Several plugin commands will allow you to setup stocks, add new items, fill the merchant stocks again and remove items exactly the way you want. This plugin also come with a plugin parameters that will let you decide if out of stock objects should be hidden or not when opening a shop.


 ABOUT PLUGIN COMMANDS :

Plugin commands parameters between [ ] are optionnal.

 - setShop

 This plugin command will let you create a new shop with stocks :

  customShop setShop typeObject idObject numberItem priceItem

  typeObject : A string. The type of the object in your database (item, armor,  weapon)

  idObject : A number. The ID of the object in your database.

  numberItem : A number. The stock of that object the merchant will sell. You  can set a random number between a min-max value by separating two number by a "-" (but no space). You can also use the keyword "inf" to setup an infinite stock.

 priceItem : A number. The price of the object.

 Ex : customShop setShop weapon 1 10 500

          customShop setShop item 5 5-10 100

  You can setup multiple object in the same plugin command by separating  the different object by a ,

 Ex : customShop setShop item 2 2-5 150, weapon 1 1 300, armor 3 1 500

 Note : This plugin command does not open a shop, you'll have to use the plugin command openShop or open a normal shop with the engine command to do so.

  - openShop

 This plugin command will let you open a shop that you have created in a different event/different map :

 customShop openShop [mapId eventId]

 mapId : A number. the map ID in your project where your shop has been  created. If not specified, current map ID will be applied.

 eventId : A number. the event ID in your project where your shop has been created. If not specified, current event ID will be applied.

 Ex : customShop openShop

         customShop openShop 5 3

 - setStock 

 This plugin command will let you setup the number of items sold by the next shop to be open. This will not overwrite stocks of a custom shop already created. You can also use that plugin command with normal shops.

 customShop setStock numberItem [numberItem1] [numberItem2] [...]

 Ex : customShop setStock 5 3 1

 numberItem : the number of object the shop will sold. You can also use the  keyword "inf" to setup an infinite stock.

 Note : This plugin command does not open a shop, you'll have to use the plugin  command openShop or open a normal shop with the engine command to do so.

  - addItem

 This plugin command will add an item to a specific shop with the specified stock OR it will increase the item stock if the item is already sold by the shop.

 customShop addItem typeObject idObject numberItem priceItem [mapId] [eventId]

 typeObject : A string. The type of the object in your database (item, armor, weapon)

 idObject : A number. The ID of the object in your database.

 numberItem : A number. The stock of that object the merchant will sell. You  can set a random number between a min-max value by separating two number by  a - (but no space). You can also use the keyword "inf" to setup an infinite  stock.

priceItem : A number. The price of the object.

 mapId : A number. the map ID in your project where your shop has been created. If not specified, current map ID will be applied.

 eventId : A number. the event ID in your project where your shop has been created. If not specified, current event ID will be applied.

 Ex : customShop addItem weapon 3 5 500

  - removeItem

 This plugin command will remove an item to the specified shop.

 customShop removeItem typeObject idObject [mapId] [eventId]

 typeObject : A string. The type of the object in your database (item, armor, weapon)

 idObject : A number. The ID of the object in your database.

 mapId : A number. the map ID in your project where your shop has been created. If not specified, current map ID will be applied.

 eventId : A number. the event ID in your project where your shop has been created. If not specified, current event ID will be applied.

 Ex : customShop removeItem weapon 3 5



If you have any suggestion or need to report a bug, you can join my dedicated discord server thanks to this link : https://discord.gg/ckYyc8hHGb

Happy game dev' !

Banner vector created by starline - www.freepik.com

StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorDrag & Plugin
Tagsasset, mv, plugin, RPG Maker, RPG Maker MV, rpgmakermv, tool

Download

Download NowName your own price

Click download now to get access to the following files:

Drag Custom Shop (v1.0.0) 4 kB

Comments

Log in with itch.io to leave a comment.

Hey Drag, you are in shape lately! I'm glad. Hope you're doing good. I really love your plugins. Thank you so much for your work. 

Hey Fizzly ! 
I'm going good, thank you, and I hope it's the same for you. :D
Thank you very much for your message, it's really kind of you. :)
Yeah, I succeeded to get some free time to work on RPG Maker plugins again, so... Here it goes. And it feel good, I missed it. 
Anyway, have a good day and stay safe. :)

Thank you so much :) Can't wait to see more of your AWESOME work. Also have a good day, stay safe and healthy.