Skip to content

Commit

Permalink
fix: added prepositions to escoria-ui-keyboards-9verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturM authored and BHSDuncan committed Aug 9, 2022
1 parent bb983d5 commit 0da57b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/escoria-ui-9verbs/tooltip/tooltip_action_target.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
Original file line number Diff line number Diff line change
@@ -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) + "]"
Expand All @@ -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():
Expand Down

0 comments on commit 0da57b7

Please sign in to comment.