minor changes

This commit is contained in:
Tabby 2026-01-17 18:06:34 +11:00
parent 73b9a706a3
commit f954a04c79
8 changed files with 68 additions and 22 deletions

View file

@ -15,7 +15,9 @@ func _process(delta: float) -> void:
global_position = get_global_mouse_position() + Vector2(12,-6)
func show_tip(item : ItemData, extra : String = ""):
tooltip_label.text = item.item_name + "\nSell Value: $"+str(floori(item.buy_value/float(2)))
tooltip_label.text = item.item_name
if item.buy_value > 0:
tooltip_label.text += "\nSell Value: $"+str(floori(item.buy_value/float(2)))
if item.botnet_power > 0:
tooltip_label.text += "\n[color=orchid]Botnet Power: " + str(item.botnet_power) +"[/color]"
if extra != "":