I'm having trouble figuring out the syntax for multi-step 'if' statements in Harlowe that don't have a text output.
Basically, I have pre-declared a $character variable and a $bonus variable, and the mechanic of my game is that different character types should get a different bonus by selecting the same path. I basically want my syntax to say:
(if: $character is "A")(set $bonus to $bonus+1); there is no text output at this point as the result is not revealed to the player until later. However, I always get the error message "The (if:) command should be assigned to a variable or attached to a hook."
Is there a different syntax I should be using to accomplish this outcome? Am I missing something super simple? Thanks in advance!
Basically, I have pre-declared a $character variable and a $bonus variable, and the mechanic of my game is that different character types should get a different bonus by selecting the same path. I basically want my syntax to say:
(if: $character is "A")(set $bonus to $bonus+1); there is no text output at this point as the result is not revealed to the player until later. However, I always get the error message "The (if:) command should be assigned to a variable or attached to a hook."
Is there a different syntax I should be using to accomplish this outcome? Am I missing something super simple? Thanks in advance!