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

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,820
Reaction score
2,161
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

Terms of Use
Update Log
 
Last edited:

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,820
Reaction score
2,161
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,820
Reaction score
2,161
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,143
Reaction score
650
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,820
Reaction score
2,161
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,820
Reaction score
2,161
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!
 

Eliaquim

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

Eliaquim

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

Eliaquim

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

Oddball

Veteran
Veteran
Joined
Sep 4, 2014
Messages
2,143
Reaction score
650
First Language
English
Primarily Uses
N/A
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 :/
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Took some trial and error, but I managed to create "visuals" for underground dig path regions.
Couldn't sleep at all so I started working on the topmost deck. I've had to make several deviations from the Imperator/Berengaria's deck-plans to accommodate MV's movement, but 100% accuracy was never my intention.
Still no name for the poor ship...:kaodes:
Screenshot-2022-06-25-053308.png
ScreenShot_6_24_2022_9_20_7.png
Here's Mike when you get a preemptive strike in battle. There's another one for when an enemy sneaks up on you too.
Suddenly, games mean nothing. The money spent was worth it to bring souls towards the light of life. May God bless my path forever. I pray that all are shaken for truth and poured out flat on the table of true understanding, knowledge, and wisdom. Bless you.

Forum statistics

Threads
123,031
Messages
1,153,544
Members
161,373
Latest member
artdeko
Top