I tried to find an answer on the forum but as usual I’m out of luck so here I am … again.
I am currently taking the Shops Course and for my game I would like to implement a reputation system so that each NPC will implement a fighter and Combat components.
Problem is that I forgot how we did, in the Dialogue Course, to know if the player has to attack an Enemy or to use the Dialogue or the Shop component.
To learning how it works, how NPCs/Player know how to give priority to Dialogue or Shop component instead of Fighter / Combat will be extremely helpful, I guess.
So can someone please help me understand?