diff --git a/addons/escoria-ui-9verbs/tooltip/tooltip_action_target.gd b/addons/escoria-ui-9verbs/tooltip/tooltip_action_target.gd index d3f207ade..db910ef08 100644 --- a/addons/escoria-ui-9verbs/tooltip/tooltip_action_target.gd +++ b/addons/escoria-ui-9verbs/tooltip/tooltip_action_target.gd @@ -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(): diff --git a/addons/escoria-ui-keyboard-9verbs/tooltip/tooltip_action_target.gd b/addons/escoria-ui-keyboard-9verbs/tooltip/tooltip_action_target.gd index f734dcd76..db910ef08 100644 --- a/addons/escoria-ui-keyboard-9verbs/tooltip/tooltip_action_target.gd +++ b/addons/escoria-ui-keyboard-9verbs/tooltip/tooltip_action_target.gd @@ -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():