└── script.rpy /script.rpy: -------------------------------------------------------------------------------- 1 | define e = Character("Eileen", color="#F86983") 2 | default question_tally = 0 #variable used in question_selector 3 | 4 | label start: 5 | scene bg cave #SCREEN 1 6 | show eileen happy 7 | "The quick brown fox jumps over the lazy dog..." 8 | 9 | label the_question: #SCREEN 2 10 | show eileen concerned at left with move 11 | e "But am I the {u}quick fox{/u} or the \"lazy dog\"?" 12 | call question_selector 13 | 14 | menu: #SCREEN 3 15 | "The Quick Fox": #FOX 16 | show eileen vhappy at right with pixellate #SCREEN 4-1 17 | $ animal = 'fox' 18 | "Eileen" "{i}Yes{/i}, because I am {size=+10}FAST!{/size}" 19 | "The Lazy Dog": #DOG 20 | hide eileen with dissolve #SCREEN 4-1 21 | $ animal = 'dog' 22 | "Eileen" "{b}Yes{/b}, because I am... {color=#808080}always... {size=-5}sleepy...{/size}{/color}" 23 | "Question [question_tally]: [repeat_question]": #SCREEN 4-3 24 | jump the_question 25 | jump end 26 | 27 | label question_selector: 28 | $ NumberGenerator = renpy.random.randint(1, 3) 29 | if NumberGenerator == 3: 30 | $ repeat_question = "What?" 31 | elif NumberGenerator >= 2 and NumberGenerator < 3 or NumberGenerator == 5: 32 | $ repeat_question = "Say that again?" 33 | else: 34 | $ repeat_question = "Huh?" 35 | # $ repeat_question = renpy.random.choice(["What?", "Say that again?", "Huh?"]) 36 | $ question_tally += 1 37 | return 38 | 39 | label end: #SCREEN 5 40 | play music "audio/renpyallstars.ogg" 41 | scene concert1 with vpunch: #new scene 42 | zoom 0.55 43 | e "I'm a [animal]!" 44 | return 45 | --------------------------------------------------------------------------------