This commit is contained in:
PfandBoss
2022-12-10 22:31:14 +01:00
parent d303e8ba89
commit 12f26032aa
6 changed files with 37 additions and 11 deletions

View File

@@ -13,8 +13,8 @@ enum TYPE {AMMO, GUNPOWDER, COAL}
func _ready():
var root = get_tree().root.get_child(0)
#root.ammo_pickup.connect(_on_signal_storing)
maxStashValue = 5
currentStashValue = 5
maxStashValue = 10
currentStashValue = 10
func interact(player):
if currentStashValue >= 1: