Cow_Life_Sim_RPG/UI/AshBarrel/AshQuantityDisplay.gd

13 lines
224 B
GDScript

extends PanelContainer
var ashName = ""
var ashCount = 0
func set_ash_name(newAshName):
%AshName.text = newAshName
ashName = newAshName
func set_ash_count(amount):
%AshCount.text = "x" + str(amount)
ashCount = amount