I'm having some trouble sorting out how to event the following situation in a way that works.
The player has the ability to equip different accessories that adds special skills. When these skills are used a common event is ran which adds +1 to a variable for that item. When that item reaches a certain number of uses it is forced unequipped, removed from game-play, and replaced with a broken version. These broken versions can be taken to a shop where they have a 1/4 chance of creating 1/4 different accessories in that class. However, you cannot EVER have more than 1 of the same accessory. Only 1 of each is allowed.
Currently I am trying to setup the shop where you can have the broken accessory turned into a working one, but no matter what I do the eventing is just become more and more confusing to follow.
Example:
Accessory: Red Ring
Red Ring adds skill Red Pulse to the player.
Red Pulse is used. Red Ring Variable +1
When Red Ring Variable =10, Red Ring is removed from game-play and replaced with Red Stone
Red Stone, when taken to a shop, has a 1/4 chance of becoming any of the following: Red Ring, Red Necklace, Red Broach, Red Tiara.
Only 1 of each (Red Ring/Neck/etc) can exist at a time, both between the players inventory and the players equipped items. So if a Red Ring exist in the inventory or equipped, they CANNOT receive a Red Ring from the Red Stone's 1/4 chance. How would I go about making it so that if the player owns it, they cannot receive it again, but still keep the randomness of the other items? And when the player has, say 3/4 Red items and they use the Red Stone, how can I make sure they only receive the Red items they don't already have? Adding into that, if the player was to open a chest that contained a Red Ring, but they already owned a Red Ring, how would I event it so they only received the Red item they didn't already own, and if they owned all 4 they receive something else?
The player has the ability to equip different accessories that adds special skills. When these skills are used a common event is ran which adds +1 to a variable for that item. When that item reaches a certain number of uses it is forced unequipped, removed from game-play, and replaced with a broken version. These broken versions can be taken to a shop where they have a 1/4 chance of creating 1/4 different accessories in that class. However, you cannot EVER have more than 1 of the same accessory. Only 1 of each is allowed.
Currently I am trying to setup the shop where you can have the broken accessory turned into a working one, but no matter what I do the eventing is just become more and more confusing to follow.
Example:
Accessory: Red Ring
Red Ring adds skill Red Pulse to the player.
Red Pulse is used. Red Ring Variable +1
When Red Ring Variable =10, Red Ring is removed from game-play and replaced with Red Stone
Red Stone, when taken to a shop, has a 1/4 chance of becoming any of the following: Red Ring, Red Necklace, Red Broach, Red Tiara.
Only 1 of each (Red Ring/Neck/etc) can exist at a time, both between the players inventory and the players equipped items. So if a Red Ring exist in the inventory or equipped, they CANNOT receive a Red Ring from the Red Stone's 1/4 chance. How would I go about making it so that if the player owns it, they cannot receive it again, but still keep the randomness of the other items? And when the player has, say 3/4 Red items and they use the Red Stone, how can I make sure they only receive the Red items they don't already have? Adding into that, if the player was to open a chest that contained a Red Ring, but they already owned a Red Ring, how would I event it so they only received the Red item they didn't already own, and if they owned all 4 they receive something else?