mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
New Storages in lef train
This commit is contained in:
@@ -22,6 +22,7 @@ func interact(player):
|
||||
if currentStashValue < maxStashValue:
|
||||
currentStashValue += 1
|
||||
ammoType = 0
|
||||
DAMAGE = 5
|
||||
player.clearInventory()
|
||||
$AudioStreamPlayer2.play()
|
||||
return
|
||||
@@ -37,6 +38,7 @@ func interact(player):
|
||||
if currentStashValue < maxStashValue:
|
||||
currentStashValue += 1
|
||||
ammoType = 1
|
||||
DAMAGE = 8
|
||||
player.clearInventory()
|
||||
$AudioStreamPlayer2.play()
|
||||
return
|
||||
@@ -45,6 +47,7 @@ func interact(player):
|
||||
if currentStashValue < maxStashValue:
|
||||
currentStashValue += 1
|
||||
ammoType = 2
|
||||
DAMAGE = 12
|
||||
player.clearInventory()
|
||||
$AudioStreamPlayer2.play()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user