fix: Issue-176 "Give xyz with" should say "give xyz to"

This commit is contained in:
Artur Maciąg
2022-08-08 22:13:36 +02:00
committed by Duncan Brown
parent db84605b85
commit bb983d561b

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():