feat: allows for default/fallback actions to be specified

This commit is contained in:
Duncan Brown
2022-08-27 14:08:57 -04:00
parent 6e220e7e64
commit 895700870d
7 changed files with 170 additions and 132 deletions

View File

@@ -97,6 +97,10 @@ var player_camera: ESCCamera
# escoria/main/game_start_script
var start_script: ESCScript
# The "fallback" script to use when an action is tried on an item that hasn't
# been explicitly scripted.
var action_default_script: ESCScript
# Whether we ran a room directly from editor, not a full game
var is_direct_room_run: bool = false