My first post but surely not my first visit. I'm a goddamn stalker, maybe.
So, I'm actually collaborate with my friend to make a BL game (which I won't post here because... You know.) Aaaand, I'm scripting. Damn, scripting is so much fun that I got errors over the last parts of the script.Traceback:
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 516: Line is indented, but the preceding say menuitem statement does not expect a block. Please check this line's indentation.
if (scifair == False):
^
Ren'Py Version: Ren'Py 6.99.4.467
Code: Select all
menu:
ja "What should I do now...?"
if (scifair == False):
"Check some of the science fair prototype element.":
call science_fair
if (booktrigger == False):
"Ask Andrew about his book.":
call asking_book
if (cook == False):
"Cook something.":
call cooking
if (offer == False):
"Offer Andrew something.":
call offer_book
if (go_out == False):
"Go out.":
call going
"Wait for the car.":
jump car
label science_fair:
$ love += 1
ja "I shouldn't touch the prototype. I don't want to ruin it."
$ scifair = True
return
label asking_book:
if ask == 3:
a "What, asking me again of the book?"
a "Why don't you do something else than asking me that?"
$ booktrigger = True
else:
$ ask += 1
j "Andrew..."
a "What?"
if ask == 1:
j "I wonder if our project has a connection with books you have."
a "..."
if ask == 2:
j "You won't mind if I read your book, right?"
a "..."
return
label cooking:
menu:
ja "Maybe I can cook something..."
if (omelet == False):
"Omelet.":
call omelet1
if (toast == False):
"Toast.":
call toast1
"Nothing.":
jump not0
label omelet1:
j "Would you like a plate of omelet, Andrew?"
a "..."
ja "Maybe I'll just make one for him."
j "Here you go."
a "What?"
j "Omelet. I hope you like it."
a "...Thanks."
$ love += 1
$ omelet = True
return
label toast1:
j "Would you like some toast, Andrew?"
a "*nods*"
j "Here you go."
a "Thank you."
$ love += 1
$ toast = True
return
label not0:
j "It's also late... Maybe not."
$ cook = True
return
label offer_book:
a "..."
ja "He seems to be stressed..."
j "Andrew..."
a "..."
j "W-Would you like me to take another book for you?"
a "...{nw}"
a " Sure."
j "What kind of book would you like?"
a "Whatever it is."
j "Here you go."
a "Thanks."
$ love += 1
$ offer = True
return
label going:
ja "I shouldn't go out. It's raining."
$ go_out = True
return
label car:
# Something I haven't put yet.
Or should I use if(scifair=False?)
I only found a thread regarding of this at LSF (the second statement) but it still won't work.
Sorry, I'm a noob TnT Help please?