- Oct 24, 2019
- 1,391
- 1,079
For those of you stuck in the name prompting loop, I've attached a hacked script.rpy that forces the game into the intro screen. I've added a forced jump as shown in the third to last line of this code section at the top before the if skip_intro check.
I think the culprit is this imagebutton statement has the side effect of always throwing the user back to the first_name label no matter the choice.
Code:
label start:
show welcome_bg
show screen welcome_button
$ renpy.pause (hard=True)
return
label first_name:
$ fname = renpy.input("What is your first name?")
$ fname = fname.strip()
if not fname:
$ fname = "John"
$ male_name = fname
jump last_name
label last_name:
$ lname = renpy.input("What is your last name?")
$ lname = lname.strip()
if not lname:
$ lname = "Doe"
"So your name is [fname] [lname], good luck!"
jump intro
if skip_intro == False:
jump intro
I think the culprit is this imagebutton statement has the side effect of always throwing the user back to the first_name label no matter the choice.
Code:
find . -name "*.rpy" -exec grep -iH "skip_intro" {} \;
./default variables.rpy: imagebutton idle "ui/start_nointro_idle.jpg" action SetVariable("skip_intro", True), Jump("first_name") xalign 0.5 yalign 0.6