Im trying to make it so your hero can only hold 1 item of a certain type i.e 1 sword, 1 shield, 1 helmet, and 1 armor, can anyone help me out with how to do this thanks in advance.
Is there a way to do a check on the player before buying the item? That way the item doesn't have to be bought then dropped thus wasting gold?
Iunno... is there a way to do some mix and match of variables and when item is acquired X is set to 1 and if X=1 when attempting to acquire the same item again, it brings up a unique error message?
Edit:
Nevermind.. you can just have the item be removed from game instead of dropped (or dropped then removed from game) and refund the money.