- Joined
- Mar 30, 2019
- Messages
- 5
- Reaction score
- 1
- First Language
- english
- Primarily Uses
- RMMV
Hello,
I'm trying to get store the id of a consumable as it's used. Long story short, I creating several alcoholic consumables that run through a common event that checks how sloppy the characters gotten. When they've had too many, the system kicks back a message saying so and prevents further use. The problem is that I couldn't find a way to do this without consuming the item. My solution was to use a $gameParty.gainItem with the items id to restore the lost item. I can't figure out the script to return the used item's id though. Any help would be much appreciated.
I'm trying to get store the id of a consumable as it's used. Long story short, I creating several alcoholic consumables that run through a common event that checks how sloppy the characters gotten. When they've had too many, the system kicks back a message saying so and prevents further use. The problem is that I couldn't find a way to do this without consuming the item. My solution was to use a $gameParty.gainItem with the items id to restore the lost item. I can't figure out the script to return the used item's id though. Any help would be much appreciated.

