じ☆ve冰风 发表于 2026-7-26 15:18:15

Item Limit

New plugin! Yay!
Ever wanted to set a limit on any of your items/weapons/armors? Well, now you can! (And you don't even have to use plugin commands or script calls every time you want to add an item, just use the pre-made event command!)

So here's how it works:


[*]Set up the custom error messages in the parameters, that will appear when the limit has been reached. (MUST BE DONE, OR YOUR GAME WILL CRASH!)
[*]Set up the default limit for all items/weapons/armors in the parameters. (MUST BE DONE, OR YOUR GAME WILL CRASH!)
[*]Add a <limit:x> tag in any item/weapon/armor's notes in the database, this will give that specific item a certain limit.
[*]When you use the "Change item/weapon/armor" event, the plugin will automatically run, so no worries!


License: Free for non-commercial and commercial. Be sure to give me credits and send me an email or DM when your game is finished! A free version of your game would be appreciated

Download: https://github.com/DaedraKyne/RMMV/blob/master/plugins/Limit item.js


本贴来自国际rpgmaker官方论坛作者:SebyDevDev处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/item-limit.87766/
页: [1]
查看完整版本: Item Limit