Original Source
- Original title: Global Stocks for specific items in shops
- Original author: MiD
- Original date: July 25, 2022
- Source thread: https://forums.rpgmakerweb.com/threads/global-stocks-for-specific-items-in-shops.149791/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMZ)
Summary
Hello everyone! I originally made this plugin for RMMV, but I updated it to work for RMMZ too just now. Here's the original thread: Spoiler: Copied from original thread
Archived First Post
I originally made this plugin for RMMV, but I updated it to work for RMMZ too just now.
Here's the original thread:
https://forums.rpgmakerweb.com/index.php?threads/global-stocks-for-specific-items.149612/
First of all, where to get it:
https://github.com/MichDrog/Makai/blob/master/maka-globalStocks.js
Free for Commercial and Non-commercial use.
Credit Makai Rosi in your credits.
Place it after any plugins that change the shop scene/window. (Place it at the end of your plugins if you're unsure)
The help section inside really contains any info one could possibly need, but if you have any questions, suggestions, comments or bug reports, please post here or dm me.
What can you do with it? Simply, you can setup an item to have limited availability globally, by a number, a variable or even code! Once the item has been bought the maximum number of times, you can remove it completely from shops, or just show a message implying it's out of stock via the parameters. You can also show the player the maximum number of times they can buy that item.
I might work on a version to also have a message saying "limited stock" for such items.
Note: This only works for *items* - not weapons or armors.
I have tested this with Yanfly's Core Engine, Shop Menu Core, Item Core and More Currencies plugins and found no issues.
I have also included a section of potential uses which I will copy paste here:
- Buy limited crafting materials and replenish shops per x days
- Upgrade your house/base
- Buy unique items (like a book, a famous jewel or an item for a quest)
- Buy powerful powerups and replenish shops per milestone
- Setup a season or period during which certain items are out of stock
- Add stock when the player clears an area (for example a sawmill)
Note: This was created for simple shop menus, but it will probably have no issues for more complex ones. However, if it does have issues, feel free to edit (but credit me as the original author).
I hope you find it handy!
EDIT: Updated to work with MZ too!
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Free for Commercial and Non-commercial use. Credit Makai Rosi in your credits. Place it after any plugins that change the shop scene/window. (Place it at the end of your plugins if you're unsure) The help section inside really contains any info one could possibly need, but if you have any questions, suggestions, comments or bug reports, please post here or dm me.
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...