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

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
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
wX9Mwsv.png

bFM8TtU.png

Update Log
Version 3.0.0 - 08/15/2021
- Need Eli Book 4.0.0 now.
Version 2.0.0 - 12/18/2020
- Adapted to work with Eli Book 3.0.0.
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 1.0.0 - 09/13/2020
- Plugin release!
 
Last edited:

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
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
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
Version 3.0.0 - 08/15/2021
- Need Eli Book 4.0.0 now.
 

Oddball

Veteran
Veteran
Joined
Sep 4, 2014
Messages
2,019
Reaction score
584
First Language
English
Primarily Uses
N/A
Thank you. This will be usefull
 

TrentL111

Archmage
Veteran
Joined
Oct 13, 2018
Messages
72
Reaction score
32
First Language
English
Primarily Uses
RMMZ
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.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
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! :wink:
 

TrentL111

Archmage
Veteran
Joined
Oct 13, 2018
Messages
72
Reaction score
32
First Language
English
Primarily Uses
RMMZ
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! :wink:
Thank you mate!!!
 

TrentL111

Archmage
Veteran
Joined
Oct 13, 2018
Messages
72
Reaction score
32
First Language
English
Primarily Uses
RMMZ
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.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,223
Reaction score
1,722
First Language
Portuguese - Br
Primarily Uses
RMMZ
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!! :D

Hope it is fixed now! ^^
 

TrentL111

Archmage
Veteran
Joined
Oct 13, 2018
Messages
72
Reaction score
32
First Language
English
Primarily Uses
RMMZ
It works flawlessly, mate. Thank you so much for your hasty reply and fix! This script is fantastic for my game!
 

Latest Threads

Latest Profile Posts

Ugh. The one time I forget to save every hour or so is also the day my computer crashes. That's life!
Even though I spent 100's of dollars on my game already. I think I might just have to give it away for free. Since I haven't heard back from people if I could use some of their graphics. Even from a global mod here. Maybe I can make a donation thing.
you know, some days you get resentful that game dev is even considered a "fun job" and other days it's like, welp, time to roll up my sleeves and code these molotov cocktails
If you suck at playing trumpets, that is probably why.
Been sick with a stomach virus for seven days now. Not going to work tomorrow because I'm still contagious according to my doctor.

Forum statistics

Threads
115,963
Messages
1,094,427
Members
151,232
Latest member
tamexe
Top