- Joined
- Oct 25, 2015
- Messages
- 1
- Reaction score
- 0
- First Language
- English
I seem to be having an issue getting the remove item functionality to work. I noticed in the script calls that the only function pertaining to items
$gameParty.gainItem($dataWeapons[weaponId], n, true/false);
When I try to use the built in event section for changing items it adds 1 of each item I tried to remove instead of actually removing the item. I assumed n for removing items would be a negative value in the script call and also tried doing that -> $gameParty.gainItem($dataWeapons[1], -1, true); should in theory remove 1 of the first item in the database from the inventory, or remove the equipped item.
I'm not sure if I'm misunderstanding how to use the script call or built in event or if decreasing the item just isn't working properly. I have Yanfly's item core and item upgrade slots enabled if that might have some conflicting issues.
Thanks for any help you guys can give, I'm enjoying messing around with this so far
just this one hurdle that I can't seem to figure out what's going on with it.
$gameParty.gainItem($dataWeapons[weaponId], n, true/false);
When I try to use the built in event section for changing items it adds 1 of each item I tried to remove instead of actually removing the item. I assumed n for removing items would be a negative value in the script call and also tried doing that -> $gameParty.gainItem($dataWeapons[1], -1, true); should in theory remove 1 of the first item in the database from the inventory, or remove the equipped item.
I'm not sure if I'm misunderstanding how to use the script call or built in event or if decreasing the item just isn't working properly. I have Yanfly's item core and item upgrade slots enabled if that might have some conflicting issues.
Thanks for any help you guys can give, I'm enjoying messing around with this so far
