2022-05-16 23:48:22 +00:00
label summon_tonks:
2023-03-31 22:41:48 +00:00
$ states.active_girl = "tonks"
2022-05-16 23:48:22 +00:00
2023-04-02 23:48:38 +00:00
$ states.ton.busy = True
2022-05-16 23:48:22 +00:00
call update_ton_tier
call update_tonks
2023-03-16 22:55:14 +00:00
play music "music/scheming-weasel-slower-version-by-kevin-macleod.ogg" fadein 1 if_changed
2023-03-11 22:01:39 +00:00
play sound "sounds/door.ogg"
2022-05-16 23:48:22 +00:00
2022-06-17 21:05:08 +00:00
$ renpy.checkpoint(hard=True)
2022-05-16 23:48:22 +00:00
# Clothes Events
call tonks_summon_setup
label tonks_requests:
ton "" (xpos="base",ypos="base")
menu:
# Talk
"-Talk-" (icon="interface/icons/small/talk.webp"):
2023-04-02 23:48:38 +00:00
if states.ton.mood > 0:
2022-05-16 23:48:22 +00:00
ton "I have a headache right now, let's talk later."
jump tonks_requests
call tonks_chitchat
jump tonks_talk
# Favours
"-Sexual favours-" (icon="interface/icons/small/condom.webp"):
jump tonks_favor_menu
# Fireplace Chats
2023-07-02 00:13:24 +00:00
"-Let's hang-" (icon="interface/icons/small/toast.webp") if (wine_ITEM.owned > 0 and not states.ton.ev.hangouts.wine_intro) or firewhisky_ITEM.owned > 0:
2022-05-16 23:48:22 +00:00
jump tonks_hangout
2023-07-02 00:13:24 +00:00
"-Let's hang-" (icon="interface/icons/small/toast.webp", style="disabled") if (firewhisky_ITEM.owned < 1 and states.ton.ev.hangouts.wine_intro):
2022-05-16 23:48:22 +00:00
gen "(I don't have any firewhisky...)" ("base", xpos="far_left", ypos="head")
jump tonks_requests
2023-07-02 00:13:24 +00:00
"-Let's hang-" (icon="interface/icons/small/toast.webp", style="disabled") if (wine_ITEM.owned < 1 and not states.ton.ev.hangouts.wine_intro):
2022-05-16 23:48:22 +00:00
gen "(I don't have any wine...)" ("base", xpos="far_left", ypos="head")
jump tonks_requests
# Wardrobe
2023-04-02 23:48:38 +00:00
"-Wardrobe-" (icon="interface/icons/small/wardrobe.webp") if states.ton.wardrobe_unlocked:
2022-05-16 23:48:22 +00:00
hide tonks_main with d1
2024-11-08 18:40:34 +00:00
jump wardrobe
2022-05-16 23:48:22 +00:00
# Hair fix
2023-02-13 22:17:02 +00:00
$ tonks_haircolor = [c for c in tonks.get_equipped("hair").color]
2022-05-16 23:48:22 +00:00
jump tonks_requests
2023-07-02 16:39:28 +00:00
"-Wardrobe-" (style="disabled") if not states.ton.wardrobe_unlocked:
2023-03-11 19:43:02 +00:00
nar "You haven't unlocked this feature yet."
2022-05-16 23:48:22 +00:00
jump tonks_requests
"-Give Item-" (icon="interface/icons/small/gift.webp"):
hide tonks_main with d1
call gift_menu
jump tonks_requests
# Dismiss
"-Never mind-":
stop music fadeout 3.0
2024-04-25 18:49:09 +00:00
if states.env.daytime:
2022-05-16 23:48:22 +00:00
ton "Alright, back to work then..."
else:
2023-03-01 22:14:00 +00:00
ton "Sweet dreams, [name_genie_tonks]."
2022-05-16 23:48:22 +00:00
2023-03-11 22:01:39 +00:00
play sound "sounds/door.ogg"
2022-05-16 23:48:22 +00:00
jump end_tonks_event
# Tonks level up
label update_ton_tier:
2023-04-02 23:48:38 +00:00
if states.ton.tier == 1 and states.ton.ev.hangouts.favors_e2:
2022-05-16 23:48:22 +00:00
$ ton_level_up = 1
return
label tonks_level_up(tier=None):
call bld
if tier == 1:
gen "(Time to teach those students something useful!)" ("grin", xpos="far_left", ypos="head")
2023-04-02 23:48:38 +00:00
$ states.ton.tier = tier+1
2022-05-16 23:48:22 +00:00
$ ton_level_up = None
pause.5
2023-04-02 23:48:38 +00:00
nar "Tonks has reached level [states.ton.tier]!"
2022-05-16 23:48:22 +00:00
call update_ton_tier
return
# Tonks Requests Menu
label tonks_favor_menu:
# call update_tonks_favors
menu:
2023-11-16 16:53:29 +00:00
"-Level Up-" (icon="interface/icons/small/levelup.webp") if ton_level_up is not None:
2022-05-16 23:48:22 +00:00
call tonks_level_up(tier=ton_level_up)
jump tonks_requests
"-Personal Favours-" (icon="interface/icons/small/heart_red.webp", style="disabled"):
2023-07-01 23:57:48 +00:00
label .favors:
2022-05-16 23:48:22 +00:00
call not_available
jump tonks_favor_menu
2024-04-25 18:49:09 +00:00
"-Public Requests-" (icon="interface/icons/small/star_yellow.webp") if states.env.daytime and states.ton.requests_unlocked:
2023-07-01 23:57:48 +00:00
label .requests:
$ result = show_events_menu(tonks_requests)
2023-07-18 15:30:15 +00:00
if result in ("disabled", "noncompliant"):
2023-07-01 23:57:48 +00:00
"You haven't unlocked this request opportunity yet."
jump .requests
elif result == "exit":
jump tonks_favor_menu
else:
$ result.start()
2022-05-16 23:48:22 +00:00
2024-04-25 18:49:09 +00:00
"-Public Requests-" (icon="interface/icons/small/star_yellow.webp", style="disabled") if not states.env.daytime or not states.ton.requests_unlocked:
2023-04-02 23:48:38 +00:00
if not states.ton.requests_unlocked:
2023-03-11 19:43:02 +00:00
nar "You haven't unlocked this feature yet."
2024-04-25 18:49:09 +00:00
elif not states.env.daytime:
2023-03-11 19:43:02 +00:00
nar "Public requests are available during the day only."
2023-07-01 23:57:48 +00:00
2022-05-16 23:48:22 +00:00
jump tonks_favor_menu
"-Never mind-":
jump tonks_requests