fix: clears tooltip when event is finished
This commit is contained in:
@@ -363,6 +363,7 @@ func _on_event_done(_return_code: int, _event_name: String):
|
|||||||
if _return_code == ESCExecution.RC_OK:
|
if _return_code == ESCExecution.RC_OK:
|
||||||
escoria.action_manager.clear_current_action()
|
escoria.action_manager.clear_current_action()
|
||||||
verbs_menu.unselect_actions()
|
verbs_menu.unselect_actions()
|
||||||
|
tooltip.clear()
|
||||||
|
|
||||||
|
|
||||||
func apply_custom_settings(custom_settings: Dictionary):
|
func apply_custom_settings(custom_settings: Dictionary):
|
||||||
|
|||||||
@@ -135,6 +135,11 @@ _global_script_classes=[ {
|
|||||||
"path": "res://addons/escoria-core/game/scenes/dialogs/state_machine/dialog_say_fast.gd"
|
"path": "res://addons/escoria-core/game/scenes/dialogs/state_machine/dialog_say_fast.gd"
|
||||||
}, {
|
}, {
|
||||||
"base": "State",
|
"base": "State",
|
||||||
|
"class": "DialogSayFinish",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/escoria-core/game/scenes/dialogs/state_machine/dialog_say_finish.gd"
|
||||||
|
}, {
|
||||||
|
"base": "State",
|
||||||
"class": "DialogVisible",
|
"class": "DialogVisible",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://addons/escoria-core/game/scenes/dialogs/state_machine/dialog_visible.gd"
|
"path": "res://addons/escoria-core/game/scenes/dialogs/state_machine/dialog_visible.gd"
|
||||||
@@ -594,6 +599,11 @@ _global_script_classes=[ {
|
|||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/show_menu.gd"
|
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/show_menu.gd"
|
||||||
}, {
|
}, {
|
||||||
|
"base": "EditorPlugin",
|
||||||
|
"class": "SimpleDialogPlugin",
|
||||||
|
"language": "GDScript",
|
||||||
|
"path": "res://addons/escoria-dialog-simple/plugin.gd"
|
||||||
|
}, {
|
||||||
"base": "SlideCommand",
|
"base": "SlideCommand",
|
||||||
"class": "SlideBlockCommand",
|
"class": "SlideBlockCommand",
|
||||||
"language": "GDScript",
|
"language": "GDScript",
|
||||||
@@ -700,6 +710,7 @@ _global_script_class_icons={
|
|||||||
"DialogInterrupt": "",
|
"DialogInterrupt": "",
|
||||||
"DialogSay": "",
|
"DialogSay": "",
|
||||||
"DialogSayFast": "",
|
"DialogSayFast": "",
|
||||||
|
"DialogSayFinish": "",
|
||||||
"DialogVisible": "",
|
"DialogVisible": "",
|
||||||
"ESCActionManager": "",
|
"ESCActionManager": "",
|
||||||
"ESCAnimationName": "",
|
"ESCAnimationName": "",
|
||||||
@@ -792,6 +803,7 @@ _global_script_class_icons={
|
|||||||
"SetSpeedCommand": "",
|
"SetSpeedCommand": "",
|
||||||
"SetStateCommand": "",
|
"SetStateCommand": "",
|
||||||
"ShowMenuCommand": "",
|
"ShowMenuCommand": "",
|
||||||
|
"SimpleDialogPlugin": "",
|
||||||
"SlideBlockCommand": "",
|
"SlideBlockCommand": "",
|
||||||
"SlideCommand": "",
|
"SlideCommand": "",
|
||||||
"SpawnCommand": "",
|
"SpawnCommand": "",
|
||||||
@@ -878,17 +890,22 @@ sound/speech_folder="res://game/speech"
|
|||||||
sound/speech_extension="ogg"
|
sound/speech_extension="ogg"
|
||||||
platform/skip_cache=false
|
platform/skip_cache=false
|
||||||
platform/skip_cache.mobile=true
|
platform/skip_cache.mobile=true
|
||||||
ui/default_dialog_type="floating"
|
|
||||||
sound/speech_enabled=1
|
sound/speech_enabled=1
|
||||||
ui/tooltip_follows_mouse=false
|
ui/tooltip_follows_mouse=false
|
||||||
main/escoria_version=""
|
main/escoria_version=""
|
||||||
ui/dialogs_chooser="res://addons/escoria-core/ui_library/dialogs/text_dialog_chooser.tscn"
|
ui/dialogs_chooser="res://addons/escoria-core/ui_library/dialogs/text_dialog_chooser.tscn"
|
||||||
ui/default_dialog_scene="res://addons/escoria-core/ui_library/dialogs/floating_dialog_player.tscn"
|
ui/default_dialog_scene="res://addons/escoria-core/ui_library/dialogs/floating_dialog_player.tscn"
|
||||||
main/action_default_script="res://action_defaults.esc"
|
main/action_default_script="res://action_defaults.esc"
|
||||||
dialog_simple/avatars_path="res://game/dialog_avatars/"
|
|
||||||
dialog_simple/text_speed_per_character=0.1
|
dialog_simple/text_speed_per_character=0.1
|
||||||
dialog_simple/fast_text_speed_per_character=0.25
|
dialog_simple/fast_text_speed_per_character=0.25
|
||||||
|
ui/default_dialog_type="floating"
|
||||||
|
dialog_simple/avatars_path="res://game/dialog_avatars"
|
||||||
|
dialog_simple/text_time_per_letter_ms=100
|
||||||
|
dialog_simple/text_time_per_fast_letter_ms=25
|
||||||
|
dialog_simple/clear_text_by_click_only=false
|
||||||
dialog_simple/reading_speed_in_wpm=200
|
dialog_simple/reading_speed_in_wpm=200
|
||||||
|
dialog_simple/left_click_action="Speed up"
|
||||||
|
dialog_simple/stop_talking_animation_on="End of audio"
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user