spawning chests in csg boxes, working on making them root of scene so they aren't cleared with the scene on exit

This commit is contained in:
derek
2025-04-04 16:30:51 -05:00
parent 6cd06193b5
commit ce08df66e6
15 changed files with 99 additions and 76 deletions

View File

@@ -22,11 +22,6 @@ func _ready() -> void:
GameGlobals.chests_spawned += 1
serial_label.text = "#" + str(serial_number).pad_zeros(4)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func hit(dam):
health -= dam
if !open and health <= 0: