Moved and split escoria._ev_left_click_on_item() function into ESCController (#371)

* Moved and split escoria._ev_left_click_on_item() function into ESCController.
Added a boolean in ESCWalkContext to hold whether interact should happen after destination is reached.

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
Julian Murgia
2021-08-24 08:19:55 +02:00
committed by GitHub
parent fc3ea147a7
commit b230966fc6
11 changed files with 396 additions and 225 deletions

View File

@@ -154,6 +154,11 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/types/esc_condition.gd"
}, {
"base": "Reference",
"class": "ESCController",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc_controller.gd"
}, {
"base": "ESCStatement",
"class": "ESCDialog",
"language": "GDScript",
@@ -504,6 +509,7 @@ _global_script_class_icons={
"ESCCommandRegistry": "",
"ESCCompiler": "",
"ESCCondition": "",
"ESCController": "",
"ESCDialog": "",
"ESCDialogOption": "",
"ESCDialogsPlayer": "",
@@ -648,6 +654,10 @@ switch_action_verb={
translations=PoolStringArray( "res://game/translations/game.en.translation", "res://game/translations/game.fr.translation", "res://game/translations/main_menu.en.translation", "res://game/translations/main_menu.fr.translation" )
[network]
limits/debugger_stdout/max_chars_per_second=99999999
[rendering]
environment/default_environment="res://default_env.tres"