mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
Merge branch 'main' of https://github.com/PfandBoss/SemesterGameJam2022
This commit is contained in:
@@ -19,12 +19,12 @@ func _ready():
|
|||||||
#TODO: FINISH
|
#TODO: FINISH
|
||||||
func interact(player):
|
func interact(player):
|
||||||
if currentState == STATE.INACTIVE:
|
if currentState == STATE.INACTIVE:
|
||||||
if player.getResource == 0:
|
if player.getResource() == 0:
|
||||||
if currentStashValue < maxStashValue:
|
if currentStashValue < maxStashValue:
|
||||||
currentStashValue += 1
|
currentStashValue += 1
|
||||||
return
|
return
|
||||||
return
|
return
|
||||||
if player.getResource == 1:
|
if player.getResource() == 1:
|
||||||
if currentPowderStashValue < maxPowderStashValue:
|
if currentPowderStashValue < maxPowderStashValue:
|
||||||
currentPowderStashValue += 1
|
currentPowderStashValue += 1
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user