fix: Issue-176 "Give xyz with" should say "give xyz to"
This commit is contained in:
committed by
Duncan Brown
parent
db84605b85
commit
bb983d561b
@@ -1,5 +1,7 @@
|
|||||||
extends ESCTooltip
|
extends ESCTooltip
|
||||||
|
|
||||||
|
export var prepositions = {"use": "with", "give": "to"}
|
||||||
|
|
||||||
func update_tooltip_text():
|
func update_tooltip_text():
|
||||||
bbcode_text = "[center]"
|
bbcode_text = "[center]"
|
||||||
bbcode_text += "[color=#" + color.to_html(false) + "]"
|
bbcode_text += "[color=#" + color.to_html(false) + "]"
|
||||||
@@ -8,6 +10,7 @@ func update_tooltip_text():
|
|||||||
bbcode_text += current_target
|
bbcode_text += current_target
|
||||||
|
|
||||||
if waiting_for_target2 and current_target2.empty():
|
if waiting_for_target2 and current_target2.empty():
|
||||||
|
current_prep = prepositions.get(current_action, current_prep)
|
||||||
bbcode_text += "\t" + current_prep
|
bbcode_text += "\t" + current_prep
|
||||||
|
|
||||||
if !current_target2.empty():
|
if !current_target2.empty():
|
||||||
|
|||||||
Reference in New Issue
Block a user