Renamed all room folders to use 2 digits.

This commit is contained in:
Julian Murgia
2021-07-06 08:48:41 +02:00
parent dc4cda82ab
commit 7de969d75e
129 changed files with 143 additions and 442 deletions

View File

@@ -0,0 +1,10 @@
:look
say player "That must be the command to open the door."
:use
> [!r8_m_door_open]
#superpose_scene "res://game/rooms/room08/puzzle/10_buttons_puzzle.tscn"
spawn "res://game/rooms/room08/puzzle/10_buttons_puzzle.tscn"
> [r8_m_door_open]
say player "The door is already open."

View File

@@ -0,0 +1,6 @@
:look
say player "That must be the command to open the door."
:use
set_global r8_m_door_open false
set_state r8_m_door door_close

View File

@@ -0,0 +1,2 @@
:exit_scene
change_scene "res://game/rooms/room07/room07.tscn"

View File

@@ -0,0 +1,2 @@
:exit_scene
change_scene "res://game/rooms/room09/room09.tscn"

View File

@@ -0,0 +1,26 @@
# :SETUP is called EVERY TIME the room is loaded
# :READY is called only the FIRST TIME the room is loaded
:setup
> [r8_m_door_open]
set_state r8_m_door door_open true
> [eq ESC_LAST_SCENE room7]
teleport player r8_l_exit
# Set player look right
set_angle player 90
stop
> [eq ESC_LAST_SCENE room9]
teleport player r8_m_door
# Set player look down
set_angle player 180
stop
> [!last_scene]
teleport player player_start
stop
:ready