fix: added prepositions to escoria-ui-keyboards-9verbs

This commit is contained in:
Artur Maciąg
2022-08-10 00:57:44 +02:00
committed by Duncan Brown
parent bb983d561b
commit 0da57b7820
2 changed files with 4 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ func update_tooltip_text():
bbcode_text += current_target
if waiting_for_target2 and current_target2.empty():
current_prep = prepositions.get(current_action, current_prep)
current_prep = prepositions.get(current_action, current_prep)
bbcode_text += "\t" + current_prep
if !current_target2.empty():

View File

@@ -1,5 +1,7 @@
extends ESCTooltip
export var prepositions = {"use": "with", "give": "to"}
func update_tooltip_text():
bbcode_text = "[center]"
bbcode_text += "[color=#" + color.to_html(false) + "]"
@@ -8,6 +10,7 @@ func update_tooltip_text():
bbcode_text += current_target
if waiting_for_target2 and current_target2.empty():
current_prep = prepositions.get(current_action, current_prep)
bbcode_text += "\t" + current_prep
if !current_target2.empty():