substantial work on saving and loading and hub mechanic
This commit is contained in:
@@ -22,8 +22,8 @@ func _ready():
|
||||
|
||||
func interact():
|
||||
if active == true:
|
||||
if level_control.money >= item_price:
|
||||
level_control.money -= item_price
|
||||
if GameGlobals.money >= item_price:
|
||||
GameGlobals.money -= item_price
|
||||
anim_player.play("vend")
|
||||
price_label.text = "vending..."
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user