Eli Max Items - Choose a maximum quantity for each item through the notes field!

TNn95gD.png

Author: Hakuen Studio​

Introduction

This simple plugin adds a way to limit the amount of each item the player can have.

Features

• Limit the maximum amount of each item/weapon/armor the player can have through the item note tag using numbers or variable values.

How to use

To assign a maximum quantity for each item, put in the notes field:
<MaxAmount: yy> * It is case sensitive
Replace 'yy' with the amount you want.
You can also use \v[id] to use a max value from a variable value.

Screenshot
Spoiler
wX9Mwsv.png

bFM8TtU.png

Terms of Use
Update Log
Version 1.1.0 - 10/16/2020
- You can now use formulas too on the note field.
- Adapt to work with Eli Book 2.0.0
Version 3.0.0 - 08/15/2021
- Need Eli Book 4.0.0 now.
Thank you. This will be usefull
Hey there! Do equipped items count towards this limit as well? Say I only want the player to have one ring. If I buy the ring and have someone wear it, will the game let me buy another?

That's unfortunately how visustella's version works, so I'm hoping yours counts equipped items in the limit as well.
Version 3.1.0 - 09/25/2021
- Add a parameter to let you choose if equipped items will count to hit the maximum item value.

@TrentL111 Hi! 🙂
I updated the plugin and put a parameter that lets you choose If equipped items will count towards the limit or not! Thanks for the suggestion! 😉
Version 3.1.0 - 09/25/2021
- Add a parameter to let you choose if equipped items will count to hit the maximum item value.

@TrentL111 Hi! 🙂
I updated the plugin and put a parameter that lets you choose If equipped items will count towards the limit or not! Thanks for the suggestion! 😉
Thank you mate!!!
Hey mate. Come across an error with this script. When I unequip an item, it seems to disappear, not going back to inventory at all.

When I buy the item and wear it, with max item as 1, the game won't let me buy another, which is working as intended, but once I remove it, it disappears from inventory completely.
Version 3.1.1 - 09/28/2021
- Fixed a bug that weapons/armors with the max amount of 1, when unequipped, were not putting the equip back into the inventory, but instead, discarding it forever.

@TrentL111 Thanks for the report!! 😀

Hope it is fixed now! ^^
It works flawlessly, mate. Thank you so much for your hasty reply and fix! This script is fantastic for my game!
Version 3.1.2 - 10/28/2021

- Fixed an error where the Max Items was calculating the max amount without considering if the item is a piece of equipment or not.
Version 3.1.3 - 11/02/2021

- Fixed a problem where the item list was not drawing properly the item numbers when the max default is set above 99. Like 999 or higher.

Before:
item2.PNG


After:
item1.PNG
Version 5.0.0 is not compatible with my plugins that are below the 5.0.0 versions.

Version 5.0.0 - 02/05/2022

  • Updated terms of use.
Can you use this to set a maximum number of items a party can carry? Also, can you use a stat to increase/decrease the number of items the party can carry, adding weight to each item?

Edit: OH i can! sort of, it says "max value through a variable". Just add up the stat with set variables, using different variables set to the parties stats and add those variables to the variable
No way to set a weight to items though :/
Dont work,

TypeError

Cannot read property 'createParameters' of undefined

And i dont have any of you other plugin, im only using visustella
@Kazuo if you use MZ, do you use the correct MZ plugin and his MZ Eli_Book
plugin?

if you dont have his core plugin, the other plugins wont work.
if you have the plugin installed can you screenshot the console log
of the error output and maybe the notetag of the item you have set?
@Kazuo if you use MZ, do you use the correct MZ plugin and his MZ Eli_Book
plugin?

if you dont have his core plugin, the other plugins wont work.
if you have the plugin installed can you screenshot the console log
of the error output and maybe the notetag of the item you have set?
Im using MZ, and i dont use his Eli_Book, the plugin didnt say i need it :/

Eli_book will not have conflict with any visustella plugin ?
I dont use MZ, but it shouldn't conflict, if it does, report back, and he
check if he can do something about it, as visustella plugincs are
obfuscated, it would be hard to track down to fix it.
I use Eli book and it doesn't conflict with any of the VisuStella plugins I'm also using.
Dont work,

TypeError

Cannot read property 'createParameters' of undefined

And i dont have any of you other plugin, im only using visustella
Hi there!
It's because you need my core plugin for it to work.
It's my bad that I didn't warn you that it needs my core plugin. It seems that I have some plugins that I forgot to put a warning.
Just put my Core Plugin anywhere above my other plugins on your plugin manager and it should work.
The link is on my signature.

Original thread: https://forums.rpgmakerweb.com/threads/eli-max-items-choose-a-maximum-quantity-for-each-item-through-the-notes-field.127317/