Heya!
I want to set a variable to 10 every time I receive a specific item. And when the variable reaches 0, I want to remove -1 of that item in the inventory and reset the variable to 10 if there is still 1 or more of that item in inventory.
Example:
- Player receives 1 [Bucket of water] item.
- Adds +10 to [Litres of water in party] variable.
- Player performs events that reduce the above variable by 1.
- When the variable reaches 0, remove 1 Bucket of water.
- If the player still has 1 or more [Buckets of water] in inventory, reset variable to 10.
I'm not sure how to set up the events and conditions to do this. I have a common event set up so the max amount of [Litres of water in party] is 10, which co relates with a little on screen HUD gauge.
I'm fairly new to RPG Maker MV but am interested to develop some skills.
Thanks 🙂
I want to set a variable to 10 every time I receive a specific item. And when the variable reaches 0, I want to remove -1 of that item in the inventory and reset the variable to 10 if there is still 1 or more of that item in inventory.
Example:
- Player receives 1 [Bucket of water] item.
- Adds +10 to [Litres of water in party] variable.
- Player performs events that reduce the above variable by 1.
- When the variable reaches 0, remove 1 Bucket of water.
- If the player still has 1 or more [Buckets of water] in inventory, reset variable to 10.
I'm not sure how to set up the events and conditions to do this. I have a common event set up so the max amount of [Litres of water in party] is 10, which co relates with a little on screen HUD gauge.
I'm fairly new to RPG Maker MV but am interested to develop some skills.
Thanks 🙂