Makes ESCDialog and ESCDialogOption instantiable without an ESC string

and other dialog optimizations
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
This commit is contained in:
Dennis Ploeger
2021-11-11 22:55:35 +01:00
committed by GitHub
parent 907ba5f9d8
commit 1823845141
6 changed files with 40 additions and 33 deletions

View File

@@ -365,11 +365,6 @@ _global_script_classes=[ {
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/enable_terrain.gd"
}, {
"base": "ESCBaseCommand",
"class": "HideMenuCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/hide_menu.gd"
}, {
"base": "ESCBaseCommand",
"class": "IncGlobalCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/inc_global.gd"
@@ -464,11 +459,6 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/set_state.gd"
}, {
"base": "ESCBaseCommand",
"class": "ShowMenuCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/show_menu.gd"
}, {
"base": "SlideCommand",
"class": "SlideBlockCommand",
"language": "GDScript",
@@ -606,7 +596,6 @@ _global_script_class_icons={
"ESCUtils": "",
"ESCWalkContext": "",
"EnableTerrainCommand": "",
"HideMenuCommand": "",
"IncGlobalCommand": "",
"InventoryAddCommand": "",
"InventoryRemoveCommand": "",
@@ -626,7 +615,6 @@ _global_script_class_icons={
"SetSoundStateCommand": "",
"SetSpeedCommand": "",
"SetStateCommand": "",
"ShowMenuCommand": "",
"SlideBlockCommand": "",
"SlideCommand": "",
"SpawnCommand": "",
@@ -683,7 +671,6 @@ debug/terminate_on_warnings=false
debug/terminate_on_errors=true
debug/development_lang="en"
ui/tooltip_follows_mouse=false
ui/default_dialog_scene="res://addons/escoria-core/ui_library/dialogs/floating_dialog_player.tscn"
main/text_lang="fr_FR"
main/voice_lang="fr_FR"
sound/music_volume=1
@@ -709,8 +696,8 @@ ui/transition_paths=[ "res://addons/escoria-core/game/scenes/transitions/shaders
ui/inventory_item_size=Vector2( 72, 72 )
debug/enable_room_selector=true
debug/room_selector_room_dir="res://game/rooms"
ui/default_dialog_type="floating"
ui/dialog_managers=[ "res://addons/escoria-dialog-simple/esc_dialog_simple.gd" ]
ui/default_dialog_type="avatar"
dialog_simple/avatars_path="res://game/dialog_avatars"
dialog_simple/text_speed_per_character=0.1
dialog_simple/fast_text_speed_per_character=0.25
@@ -720,7 +707,7 @@ dialog_simple/max_time_to_disappear=1.0
esc_show_debug_prompt={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777245,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777245,"unicode":0,"echo":false,"script":null)
]
}
switch_action_verb={