WTS/game/scripts/characters/cho/events/summon.rpy

83 lines
3.7 KiB
Plaintext
Raw Permalink Normal View History

2022-05-16 23:48:22 +00:00
label cho_summon_setup:
$ states.cho.wardrobe_unlocked = True
2022-05-16 23:48:22 +00:00
# Reset doll state
$ cho.wear("all")
$ cho.set_cum(None)
$ cho.animation = None
2022-05-16 23:48:22 +00:00
# Unlock favours at tier 3
# this will probably move to a cho_quid_E# event once we've implemented Gryffindor lead-up events
if states.cho.tier == 3:
$ states.cho.favors_unlocked = True
2022-05-16 23:48:22 +00:00
if states.cho.wardrobe_scheduling:
2022-05-16 23:48:22 +00:00
$ cho.equip_random_outfit()
play sound "sounds/door.ogg"
2022-05-16 23:48:22 +00:00
call cho_chibi("stand", "mid", "base")
with d3
#Cho greeting.
play music "music/fuzzball-parade-by-kevin-macleod.ogg" fadein 1 if_changed
2022-05-16 23:48:22 +00:00
if states.cho.mood > 0:
if 5 > states.cho.mood >= 1:
cho "Yes, [name_genie_cho]?" ("annoyed", "base", "base", "mid", xpos="base", ypos="base", trans=d3)
elif 10 > states.cho.mood >= 5:
cho "*Sigh*... Yes, [name_genie_cho]?" ("open", "base", "base", "R", xpos="base", ypos="base", trans=d3)
elif 20 > states.cho.mood >= 10:
cho "What is it, [name_genie_cho]?" ("annoyed", "base", "angry", "mid", xpos="base", ypos="base",trans=d3)
elif 30 > states.cho.mood >= 20:
cho "What do you want, \"[name_genie_cho]\"?" ("angry", "narrow", "angry", "mid", xpos="base", ypos="base",trans=d3)
elif 40 > states.cho.mood >= 30:
2022-05-16 23:48:22 +00:00
cho "*Hmph*..." ("upset", "base", "angry", "R", xpos="base", ypos="base",trans=d3)
elif 50 > states.cho.mood >= 40:
2022-05-16 23:48:22 +00:00
cho "*Tsk*" ("soft", "narrow", "angry", "R", xpos="base", ypos="base",trans=d3)
elif states.cho.mood >= 50:
2022-05-16 23:48:22 +00:00
cho "I can't believe you've done this!" ("scream", "wide", "angry", "mid", xpos="base", ypos="base",trans=d3)
cho "" ("upset", "wide", "angry", "mid")
call describe_mood("Cho", states.cho.mood)
2022-05-16 23:48:22 +00:00
call tutorial("moodngifts")
else:
if states.env.daytime:
cho "Good morning, [name_genie_cho]." ("base", "base", "base", "mid", xpos="base", ypos="base", trans=d3)
2022-05-16 23:48:22 +00:00
else:
cho "Good evening, [name_genie_cho]." ("base", "base", "base", "mid", xpos="base", ypos="base", trans=d3)
2022-05-16 23:48:22 +00:00
if states.cho.tier == 1:
2022-05-16 23:48:22 +00:00
# Intro hints
if not states.sna.ev.hangouts.cho_e1 or not states.cho.ev.intro.e4_complete:
2022-05-16 23:48:22 +00:00
label .hint_menu:
menu:
"-Talk-" (icon="interface/icons/small/talk.webp"):
cho "Have you gotten Hermione to stop spreading rumours about me?" ("annoyed", "narrow", "base", "mid")
gen "Oh, was I supposed to do that?" ("base", xpos="far_left", ypos="head")
cho "Yes!" ("angry", "base", "base", "mid")
gen "Right..." ("base", xpos="far_left", ypos="head")
gen "(Hmm... I think I could use this tension between those two...)" ("base", xpos="far_left", ypos="head")
if not states.sna.ev.hangouts.cho_e1:
2022-05-16 23:48:22 +00:00
gen "(Better tell Snape about my plan before confronting Miss Granger...)" ("base", xpos="far_left", ypos="head")
elif not states.cho.ev.intro.e4_complete:
2022-05-16 23:48:22 +00:00
gen " (I should probably talk to Hermione...)" ("base", xpos="far_left", ypos="head")
jump cho_summon_setup.hint_menu
"-Dismiss Her-":
stop music fadeout 3.0
if states.cho.mood == 0:
cho "Goodbye, [name_genie_cho]." ("base", "narrow", "base", "mid")
2022-05-16 23:48:22 +00:00
else:
cho "Goodbye, [name_genie_cho]." ("annoyed", "narrow", "base", "mid")
2022-05-16 23:48:22 +00:00
play sound "sounds/door.ogg"
2022-05-16 23:48:22 +00:00
jump end_cho_event
return