I am trying to make an inventory system that sets the max stack for an item called crystal fragments. I have a small bag all the way up to a crystal bag of holding which can hold infinite amount. But when I test it out, it only uses the small bag inventory. I can't get yanfly's item synthesis or any yanfly plugins so I'm doing this part all vanilla.
Inventory Space
RPG Maker MV Supportwhat is the reason for the variable being under the conditional branch? did you mean to put the number as less?
I'm using the srd hud maker and the conditional number being one number higher allowed it to register on the hud maker.
You should probably have something that turns off the 041 (Small Bag) switch so that it doesn't remain on as that could most likely cause the problem, if this however doesn't work then:
The problem might be because of the trigger being Parallel, A solution to this is to create an event page on top of the event you already have (You need to place the event on the map for this to work.) In this new event page you should have the requirement be set to "Switches: Medium Bag" for example, you might need to make multiple pages for the bigger bags but I'm not sure. Leave this new page on top of the old one empty and make sure the trigger isn't auto nor parallel. This should fix it. (By on top I mean this:
)
The problem might be because of the trigger being Parallel, A solution to this is to create an event page on top of the event you already have (You need to place the event on the map for this to work.) In this new event page you should have the requirement be set to "Switches: Medium Bag" for example, you might need to make multiple pages for the bigger bags but I'm not sure. Leave this new page on top of the old one empty and make sure the trigger isn't auto nor parallel. This should fix it. (By on top I mean this:
Why don't you make a single common event to check that ?
use one variable that store the max amount of crystal you can carry (This variable has to be updated every time the player change its bag).
In your common event check with the condition
if: Crystal Fragments >= Variable
use one variable that store the max amount of crystal you can carry (This variable has to be updated every time the player change its bag).
In your common event check with the condition
if: Crystal Fragments >= Variable
I have also tried that.
[Edit] I tried the turning off the parallel and it seem to work now. Thank you Lay, kyklops, and Moksock for your guidance.
Original thread: https://forums.rpgmakerweb.com/threads/inventory-space.120589/
