My problem is that after making the choice below (& so far it’s the only choice with this problem), it says “increasing indent not allowed, expected 2 was 4”
Problem is that it’s the line below the choice itself (so in this case, line 4). I’ve never had this problem before and been unable to fix it. Before when I had it, I just added a new line (so line 4 would become line 5, line 4 would have (text here) in it’s place while everything below it moved down one line) and that fixed it.
Just moving that line back however erases everything below the choice, and I get a new error
So what will you do now?
*choice
*selectable_if (((time1 = "1") or (time1 = "2")) or (time1 = "3")) #Gather Natural Cordage
*if ((item1 = "Yes") or (item2 = "Yes"))
(text here)
*set cord1 +5
*if (time1 = "1")
(text here)
*set time1 2
*goto (label title)
*if ((item1 = "No") or (item2 = "No"))
(text here)
*set cord1 +2
*if (time1 = "1")
(text here)
*set time1 2
*goto (label title)
Try removing the whole “**if ((item1 = “No”) or (item2 = “No”))*” block of code, and see if you still get the error. Since the two if clauses are formatted the same way, that should help you narrow down the exact location of the problem.
Under “Gather Natural Cordage”, you have a couple of *if clauses. There is always a possibility that the code won’t enter either of them. That means that you reach the end of the choice with no *goto statement and the program doesn’t know what to do next. “catch-all” just means “what happens if none of the sub-conditions are met?”
It is always a good idea to end ifs, with an else, so the programm knows what to do if there is no suiting if. Is it wanted that the if after the #Gather Cordage is before the choice?
The difference is that you have a more complex condition, so it’s more likely that you “fall out” of the if clause without ever reaching a goto statement.
The error messages that CS gives aren’t always the most intuitive. You could be getting an indent error because the engine is expecting a goto statement that’s indented a certain amount, and instead gets a statement that logically belongs to another block. “Wrong indent” can be its way of saying to you “I’m not done with this logic block, tell me what to do next”. Hence the fall-back goto statement. That’s your way of saying to the engine “if all else fails, do this”.
Edit: OK, it’s eleven PM here so I gotta turn in. Good luck.