Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 308, in script
menu:
File "game/script.rpy", line 309, in <module>
"About Melanie." if about_melanie == False:
NameError: name 'about_melanie' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 308, in script
menu:
File "renpy/ast.py", line 1628, in execute
choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
File "renpy/exports.py", line 965, in menu
condition = renpy.python.py_eval(condition)
File "renpy/python.py", line 2135, in py_eval
return py_eval_bytecode(code, globals, locals)
File "renpy/python.py", line 2128, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/script.rpy", line 309, in <module>
"About Melanie." if about_melanie == False:
NameError: name 'about_melanie' is not defined
Code: Select all
##CLICKABLECARRIAGE START##
scene movingcarriagebg:
carriagesway
show carriageclickablemelanie smile
show screen melcarriage
show carriageclickablemelanie smiletalk
carriagemel "I'm so happy we get to live here now!"
show carriageclickablemelanie smile
carriagemel "I'm also a little nervous, of course, but I bet you're nervous too!"
tip "TUTORIAL: Sometimes there are clickables in the environment!"
tip "Try clicking on the curtains to see what happens!"
pause
label movethecurtain:
show movingcurtains
hide screen melcarriage
show carriageclickablemelanie neutral
carriagemel "Aww... That's okay."
show carriageclickablemelanie smile
carriagemel "At least that confirms my suspiscions about you being nervous, though!"
carriagemel "You wanna talk about something else?"
jump .carriagedefault
label .carriagedefault:
menu:
"About Melanie." if about_melanie == False:
$ about_melanie = True
jump .carriageABOUTMELANIE
"About Melanie's family." if about_melanie == True:
$ melfam = True
jump .carriageMELFAM
"About the area." if areaask == False:
jump .carriageAREA
$ areaask = True
"Who's driving?" if driverkundone == False:
$ driverkundone = True
jump .driverkun
"Is that so...?" if melanie_affection > 3:
jump carriageout
label .carriageABOUTMELANIE:
show carriageclickablemelanie bashfultalk
carriagemel "Shucks, I didn't think I'd be so interesting!"
show carriageclickablemelanie smile
carriagemel "I'm personally here because my sister works at the castle."
show carriageclickablemelanie neutraltalk
carriagemel "She's the Royal Architect! Can you {i}imagine?{/i}"
show carriageclickablemelanie smiletalk
carriagemel "I personally couldn't imagine being responsible for the whole darn structure of that big ol' palace down there!"
show carriageclickablemelanie smiletalk2
cn "Melanie giggles a bit and smiles at you."
show carriageclickablemelanie smile
carriagemel "I'm really happy she's got a cushy job now! Especially because she's so reliable and smart!"
show carriageclickablemelanie smile2
cn "Melanie sighs a bit wistfully."
show carriageclickablemelanie smile
carriagemel "Mama and Papa were totally wrong about her after she left..."
$ melanie_affection += 1
jump .carriagedefault
label .carriageAREA:
show carriageclickablemelanie smile
carriagemel "I don't know much about Lustrenia other than that it's the capitol of Diamandis!"
show carriageclickablemelanie bashful
carriagemel "I'm not very good at geography or just learning about places in general..."
$ melanie_affection += 1
jump .carriagedefault
label .driverkun:
show carriageclickablemelanie smiletalk
carriagemel "Oh, that's just Henri!"
show carriageclickablemelanie smile
carriagemel "He's a pretty nice guy - REALLY good with horses!"
show carriageclickablemelanie bashful
carriagemel "Don't tell him, but I actually kinda think he's pretty cute!"
$ melanie_affection += 2
jump .carriagedefault
label .carriageMELFAM:
show carriageclickablemelanie smiletalk
carriagemel "Oh! I grew up with my older sister on my parents' farm!"
show carriageclickablemelanie smile2
carriagemel "It was pretty peaceful growing up, especially since none of us really had any talent for magic."
show carriageclickablemelanie neutraltalk
carriagemel "Oh! Except for Bella!"
carriagemel "She was always really good at art and stuff, so I guess one day it turned into magic!"
show carriageclickablemelanie smile
carriagemel "Teachers at school were always calling her a prodigy! And Mama and Papa were proud, too..."
show carriageclickablemelanie neutral
cn "Melanie's smile fades, and she seems contemplative."
carriagemel "But... Mm. As it stands right now, I'm not. On really good terms with my parents..."
carriagemel "Ever since the war Diamandis had over Polgalla, they pretty much disowned Bella for joining up with the Diamandians."
carriagemel "Even after she became this super accomplished sculptor and got continentally famous, everyone turned against her..."
show carriageclickablemelanie miffedtalk
carriagemel "Which is unfair to her because it's not her fault she got swept up into that whole mess!"
show carriageclickablemelanie miffed
carriagemel "..."
show carriageclickablemelanie neutraltalk
carriagemel "Anyway, I'm here to support her 'cause our parents aren't. She's probably been so lonely without me!"
show carriageclickablemelanie smile
$ melanie_affection += 1
jump .carriagedefault
##CLICKABLECARRIAGE END##