CONTEXT
In my Game, there's one armour type, called Medals (similar to the Badges in hollow knight.)
Each one has a good stat bonus, but a negative trait that isn't shown to the player.
There is an NPC who, if functional, will allow you to pay some of your gold coins to reveal the negative debuff for a specific Medal. It would go something like this:
[Player interacts]>[Player chooses to pay gold]>[Player can choose any of the Medals that they have acquired]>[NPC tells them the debuff]
PROBLEM
I do not know how to make the NPC aware of which Medals the character has acquired. Nor how to make the choice menu change to accommodate new Medals earned later in the game, without having to resort to hundreds of variables and switches if possible.
Additional Context:
In the database, Medals are armour, not Items.
In my Game, there's one armour type, called Medals (similar to the Badges in hollow knight.)
Each one has a good stat bonus, but a negative trait that isn't shown to the player.
There is an NPC who, if functional, will allow you to pay some of your gold coins to reveal the negative debuff for a specific Medal. It would go something like this:
[Player interacts]>[Player chooses to pay gold]>[Player can choose any of the Medals that they have acquired]>[NPC tells them the debuff]
PROBLEM
I do not know how to make the NPC aware of which Medals the character has acquired. Nor how to make the choice menu change to accommodate new Medals earned later in the game, without having to resort to hundreds of variables and switches if possible.
Additional Context:
In the database, Medals are armour, not Items.