This repository has been archived on 2025-04-15. You can view files and clone it, but cannot push or open issues or pull requests.
Gamify-Life/Gamify Life/Menu Stuffs/Script/ItemMenu.gd
2025-04-15 11:55:58 -07:00

9 lines
298 B
GDScript

extends Control
func _process(_delta):
GlobalVars.Gold = GlobalVars.LoadSingle("user://Money")
get_node("ScrollContainer/VBoxContainer/Gold/Number").text = str(GlobalVars.Gold)
func Reset_Stats():
GlobalVars.Reset_Everything()
get_node("ScrollContainer/VBoxContainer/Gold/Number").text = "0"