I had a question on this level. I want to have my adventurer tell me when I have increments of 25 in my self.Gold total value when I pick up coins. Like for example say “I have 25 gold!”, then “I have 50 gold!”, then 75 gold and so on.
I couldn’t think of how to do this because when I put the code in for:
if self.gold >= 25: self.say("I have 25 gold!") if self.gold >= 50: self.say("I have 50 gold!") etc...
My warrior kept on repeating self.say(“I have 25 gold!”) (which makes sense because I used >=, but if I use == it might skip the announcement)