Files
gymkhana-actions/game/rooms/room08/esc/middle_exit.esc
2022-03-08 14:33:02 +01:00

15 lines
375 B
Plaintext
Executable File

:look
say player "That's the door to room 9"
:exit_scene
> [r8_m_door_open]
# Only let the player into the next room if they've passed the puzzle
change_scene "res://game/rooms/room09/room09.tscn"
> [!r8_m_door_open]
# The door is always an exit, but trying to go through it won't change
# scenes if you haven't unlocked the puzzle.
say player "The door is locked"