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

This commit is contained in:
Artur Maciąg authored and Duncan Brown committed 2022-08-09 19:33:33 -04:00
1 parent bb983d561b
commit 0da57b7820
1 file changed
+3
@@ -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():