2022-05-16 23:48:22 +00:00
|
|
|
label fireplace:
|
|
|
|
if is_puzzle_box_in_fireplace():
|
|
|
|
call gen_chibi("stand", "fireplace", "fireplace")
|
|
|
|
with d3
|
|
|
|
gen "(*Hmm*... There's something glimmering in the fireplace.)" ("base", xpos="far_left", ypos="head")
|
|
|
|
|
|
|
|
$ fireplace_OBJ.foreground = None
|
|
|
|
|
|
|
|
gen "(A loose brick... If only I could--{nw}{w=1.0})" ("base", xpos="far_left", ypos="head")
|
2023-03-11 22:01:39 +00:00
|
|
|
play sound "sounds/brick_scrape.ogg"
|
2022-05-16 23:48:22 +00:00
|
|
|
gen "(A loose brick... If only I could--{fast} *Hhng*... There we go.)" ("base", xpos="far_left", ypos="head")
|
2024-05-03 17:24:43 +00:00
|
|
|
call give_reward(_("A puzzle box has been added to your inventory!"), "interface/icons/puzzle_box.webp")
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
$ puzzle_box_ITEM.owned = 1
|
|
|
|
|
|
|
|
gen "Seems straight forward enough." ("base", xpos="far_left", ypos="head")
|
|
|
|
gen "Maybe I should give it a try?" ("base", xpos="far_left", ypos="head")
|
|
|
|
menu:
|
|
|
|
"-Try solving the puzzle-":
|
|
|
|
call gen_chibi("sit_behind_desk")
|
|
|
|
with d3
|
|
|
|
$ puzzle_box_ITEM.use()
|
|
|
|
"-Save it for later-":
|
|
|
|
gen "I don't have time for this now." ("base", xpos="far_left", ypos="head")
|
|
|
|
|
|
|
|
call gen_chibi("sit_behind_desk")
|
|
|
|
with d3
|
|
|
|
|
|
|
|
jump main_room_menu
|
|
|
|
|
2023-03-31 22:41:48 +00:00
|
|
|
if states.fireplace_started:
|
|
|
|
$ states.fireplace_started = False
|
2022-05-16 23:48:22 +00:00
|
|
|
$ fireplace_OBJ.foreground = None
|
|
|
|
else:
|
2023-03-31 22:41:48 +00:00
|
|
|
$ states.fireplace_started = True
|
2022-05-16 23:48:22 +00:00
|
|
|
$ fireplace_OBJ.foreground = "fireplace_fire"
|
2023-03-31 22:41:48 +00:00
|
|
|
$ states.fireplace_started_times += 1
|
2022-05-16 23:48:22 +00:00
|
|
|
|
|
|
|
jump main_room_menu
|
|
|
|
|
2024-04-22 17:11:01 +00:00
|
|
|
label examine_fireplace:
|
|
|
|
if not states.gen.ev.intro.fireplace_examined:
|
|
|
|
$ states.gen.ev.intro.fireplace_examined = True
|
|
|
|
$ fireplace_OBJ.idle = "fireplace_idle_shadow"
|
|
|
|
$ fireplace_OBJ.action = Jump("examine_fireplace")
|
|
|
|
call gen_chibi("stand","mid","base")
|
|
|
|
with d5
|
|
|
|
gen "*Hmm*... Looks like an ordinary fireplace..." ("base", xpos="far_left", ypos="head")
|
|
|
|
call gen_chibi("sit_behind_desk")
|
|
|
|
with d5
|
|
|
|
else:
|
|
|
|
gen "Already checked it out." ("base", xpos="far_left", ypos="head")
|
|
|
|
|
|
|
|
jump main_room_menu
|
|
|
|
|
2022-05-16 23:48:22 +00:00
|
|
|
init python:
|
|
|
|
def is_puzzle_box_in_fireplace():
|
2024-04-26 12:59:29 +00:00
|
|
|
return states.env.day >= 25 and not states.env.daytime and states.env.moon and not puzzle_box_ITEM.unlocked and not states.map.seventh_floor.unlocked
|