Adds "name" parameter to ESC spawn command (#410)

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
Julian MurgiaandStraToN authored and GitHub committed 2021-10-07 08:22:11 +02:00
1 parent 378f29283d
commit 41902b5791
11 files changed
+128 -90

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ 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"
spawn puzzle "res://game/rooms/room08/puzzle/10_buttons_puzzle.tscn"
> [r8_m_door_open]
say player "The door is already open."
Executable → Regular
+12 -1
View File
@@ -1,4 +1,13 @@
:start
:init
spawn _main_menu res://game/ui/commons/main_menu/main_menu.tscn false
set_active _main_menu true
:newgame
# Hide main menu
set_active _main_menu false
# 1/ Simple scene
change_scene res://game/rooms/room01/room01.tscn
@@ -36,3 +45,5 @@ change_scene res://game/rooms/room01/room01.tscn
# 12/ Event flags tests 2
#change_scene res://game/rooms/room12/room12.tscn