Constantly getting "Line is indented" error
Posted: Sat May 19, 2018 7:43 pm
I feel like I'm doing something wrong every time because I keep getting these error. I'm working in atom if that matters.
This is my code.
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 9: Line is indented, but the preceding one-line python statement statement does not expect a block. Please check this line's indentation.
max = 7
^
File "game/script.rpy", line 11: Line is indented, but the preceding one-line python statement statement does not expect a block. Please check this line's indentation.
max = 4
^
File "game/script.rpy", line 40: menu statement expects a non-empty block.
menu:
^
File "game/script.rpy", line 43: Line is indented, but the preceding say statement statement does not expect a block. Please check this line's indentation.
"Princess Pansy has my backing, she's the most politically sauve of all the sisters":
^
Ren'Py Version: Ren'Py 6.99.14.3.3347
Sat May 19 19:16:59 2018
Code: Select all
label start:
$ day = 0:
max = 7
$ tod = 0:
max = 4
...
label chapter_oneB:
menu:
"Do you have a preference for our future Queen?"
"Princess Pansy has my backing, she's the most politically sauve of all the sisters":
$ pansy_points += 1