Feat: New graphics for room 8

This commit is contained in:
Balloonpopper
2022-03-04 09:56:42 +11:00
committed by Julian Murgia
parent 7e6fb7b047
commit 7a64c7707f
10 changed files with 319 additions and 110 deletions

View File

@@ -1,6 +1,18 @@
:look
say player "That must be the command to open the door."
say player "That's the button to relock the door."
:use
set_global r8_m_door_open false
set_state r8_m_door door_close
> [r8_m_door_open]
# If the door is unlocked, reset the puzzle.
# Set the door open to false so the room gets set up
# correctly if you exit and reenter
set_global r8_m_door_open false
# Play the door closing animation to "relock" the door
set_state r8_m_door door_close
# Reactivate the puzzle button so the player can redo
# the puzzle and unlock the door again
set_active r8_mini_puzzle_button true
stop
> [!r8_m_door_open]
# Don't reset the puzzle if the door is currently locked
say player "The puzzle doesn't need to be reset"