Skip to content

Commit

Permalink
fix: clears tooltip when event is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
BHSDuncan committed Dec 28, 2022
1 parent 4604e00 commit b827092
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions addons/escoria-ui-9verbs/game.gd
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ func _on_event_done(_return_code: int, _event_name: String):
if _return_code == ESCExecution.RC_OK:
escoria.action_manager.clear_current_action()
verbs_menu.unselect_actions()
tooltip.clear()


func apply_custom_settings(custom_settings: Dictionary):
Expand Down
21 changes: 19 additions & 2 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ _global_script_classes=[ {
"path": "res://addons/escoria-core/game/scenes/dialogs/state_machine/dialog_say_fast.gd"
}, {
"base": "State",
"class": "DialogSayFinish",
"language": "GDScript",
"path": "res://addons/escoria-core/game/scenes/dialogs/state_machine/dialog_say_finish.gd"
}, {
"base": "State",
"class": "DialogVisible",
"language": "GDScript",
"path": "res://addons/escoria-core/game/scenes/dialogs/state_machine/dialog_visible.gd"
Expand Down Expand Up @@ -594,6 +599,11 @@ _global_script_classes=[ {
"language": "GDScript",
"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",
"class": "SlideBlockCommand",
"language": "GDScript",
Expand Down Expand Up @@ -700,6 +710,7 @@ _global_script_class_icons={
"DialogInterrupt": "",
"DialogSay": "",
"DialogSayFast": "",
"DialogSayFinish": "",
"DialogVisible": "",
"ESCActionManager": "",
"ESCAnimationName": "",
Expand Down Expand Up @@ -792,6 +803,7 @@ _global_script_class_icons={
"SetSpeedCommand": "",
"SetStateCommand": "",
"ShowMenuCommand": "",
"SimpleDialogPlugin": "",
"SlideBlockCommand": "",
"SlideCommand": "",
"SpawnCommand": "",
Expand Down Expand Up @@ -878,17 +890,22 @@ sound/speech_folder="res://game/speech"
sound/speech_extension="ogg"
platform/skip_cache=false
platform/skip_cache.mobile=true
ui/default_dialog_type="floating"
sound/speech_enabled=1
ui/tooltip_follows_mouse=false
main/escoria_version=""
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"
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/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/left_click_action="Speed up"
dialog_simple/stop_talking_animation_on="End of audio"

[input]

Expand Down

0 comments on commit b827092

Please sign in to comment.