extends Button @onready var main_interface = $"../.." # Called when the node enters the scene tree for the first time. func _ready(): pass # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta): text = "Add L1 Generator (costs " + str(main_interface.l1_generator_purchase_cost) + ")"