I've been needing a script for removing an item from the inventory based on the ID. However, any script I try just ends up erroring out (probably because I've been trying various scripts but I don't think any of them I found were RMXP specific). Can someone build/use a script to remove x item from inventory where x is some variable?
Need to figure out how to remove specific items from the inventory
RGSS Script RequestsThere's built-in script calls for that.
Code:
$game_party.lose_item(item_id, amount)
$game_party.lose_weapon(item_id, amount)
$game_party.lose_armor(item_id, amount)
Original thread: https://forums.rpgmakerweb.com/threads/need-to-figure-out-how-to-remove-specific-items-from-the-inventory.118049/