inesmoital
started a topic on Tue, 07 April 2015 at 3:32 PM
Hello,
I what to create a customizable character in my game.
What I taught on doing was buying an item on the inventory multiple times and, depending on the quantity of that item that the player has, that would correspond on an asset in the game (for example, for the color of the eyes, if a player as 3 items names eye_color, than that would correspond on the color green on the game, if he was 2 eye_color items then the eyes would be blue for example.
The only problem is that when I buy multiple times the same item it doesn't increase the usages of that item but creates multiple items.
Is there a way to increase and/or decrease the usages of an item or know how many items the player was of the same type?
Thanks