• 1 Post
  • 1 Comment
Joined 13 days ago
cake
Cake day: June 19th, 2024

help-circle
  • Thank you very much for taking the time to help me! I tried this, and it still didn’t work, changing the “false” after the dialogue to “(syntax error)”/ Which, I’m not sure why there’s a false there to begin with. I did the changes you suggested as well as replaced spaces with underscores. The error I’m getting is the same one, but on lines 28 (The Clan will feel this for a long time. [aListName.Death_Chance == “Devastation”] //41-50%) and 35 (Cold weather chest infection, could turn to greencough. [aListName.Illness_type == “Whitecough”]).

    An error has occurred near line number 28: There’s a problem with the syntax of this expression: ‘[aListName.Death_Chance == “Devastation”]’. Here’s the message that was returned when execution failed: Cannot read properties of undefined (reading ‘Death_Chance’). Here are some common mistakes: *you tried to reference a variable/list that you haven’t created *list names are case-sensitive: “[animal]” is different to [Animal], and you should use underscores in list names instead of spaces

    An error has occurred near line number 35: There’s a problem with the syntax of this expression: ‘[aListName.Illness_type == “Whitecough”]’. Here’s the message that was returned when execution failed: Cannot read properties of undefined (reading ‘Illness_type’). Here are some common mistakes: *you tried to reference a variable/list that you haven’t created *list names are case-sensitive: “[animal]” is different to [Animal], and you should use underscores in list names instead of spaces