Hey all,
I've recently been playing around with a lot of YEA and Kread-Ex scripts and am currently working on a system that I like. Basically, players can equip items to actors (via the Accessory slot) to use them in battle. Items also have Charges (allowing them to be used multiple times). However, an odd thing happens: when I use an item, the item is able to have 0, and even negative, charges and still be equipped/usable. This king of goes against how the system should work and is a bit of a problem...
Example:
I'll attach a copy of my project so that it can be seen in action/all scripts can be seen. There's some instructions though:
Talk to the shadow to get the items.
Equip the Heal Vial to the actor.
Talk to the old man to start battle
Use equipped Health Vial x times.
Project:
http://www.mediafire.com/download/av9l8am4s5jxdvf/Project%20SIN2.rarAny help is appreciated. Thanks.