15 lines
375 B
Plaintext
Executable File
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"
|
|
|
|
|