I set up what I hoped would be the name
character.rpy
Code: Select all
define m = Character("[Hotelmaid]", image="hotelmaid")variables.rpy
Code: Select all
label variables:
$ nameHotelmaid = False
if nameHotelmaid == False:
[Hotelmaid] = "maid"
else:
[Hotelmaid] = "Marie"
return
script.rpy
Code: Select all
label start:
call variables
call intro_scene
label end_intro:
call hotel_01_scene
label end_hotel_01:
"Where to now?"
return
Code: Select all
m "No problem. Just call if you waant anything. My name is Marie."
$ nameHotelmaid = True
Parsing the script failed.
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/variables.rpy", line 6: expected statement.
[Hotelmaid] = "maid"
^
File "game/variables.rpy", line 8: expected statement.
[Hotelmaid] = "Marie"
^
Ren'Py Version: Ren'Py 7.4.4.1439
Sun May 2 09:48:51 2021