Fix a wrong validation check in camera_set_limits (#418)

Events interruption should now work at all time (added interruption in room_selector scene)
Fixed missing test in game.gd for when the player is not set
Fixed some ESC scripts (worker filled sheet event is now blocking, room13 left door waits simple click, not use verb)
This commit is contained in:
Julian Murgia
2021-10-22 09:17:03 +02:00
committed by GitHub
parent 3e07effe31
commit b3cd9abe21
8 changed files with 47 additions and 32 deletions

View File

@@ -39,6 +39,9 @@ say player "I don't think he'd like that."
####################################################################################################
:give r5_filled_sheet
set_hud_visible false
accept_input SKIP
inventory_remove r5_filled_sheet
say worker "Hey! That's perfect!"
say worker "I can finally get away from here!"
@@ -53,3 +56,8 @@ set_global r6_door_open true
# Disappear!
wait 1
set_active worker false
set_hud_visible true
accept_input ALL

View File

@@ -1,4 +1,4 @@
:use
:exit_scene
set_sound_state _sound res://game/sfx/sounds/doorOpen_2.ogg false
change_scene "res://game/rooms/room12/room12.tscn"

View File

@@ -36,7 +36,7 @@ func _on_button_pressed():
":debug",
"change_scene %s" % options_paths[selected_id]
])
escoria.event_manager.interrupt_running_event()
escoria.event_manager.queue_event(script.events['debug'])
func _on_option_item_selected(index):