miawwwww its epic
This commit is contained in:
parent
af8662fd6a
commit
f510a916f7
21 changed files with 400 additions and 16 deletions
|
|
@ -13,7 +13,7 @@ func _ready() -> void:
|
|||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
if item_slot.item:
|
||||
button.disabled = PlayerInventory.money <= item_cost
|
||||
button.disabled = PlayerInventory.money < item_cost
|
||||
|
||||
func prepare(item : ItemData):
|
||||
item_slot.item = item
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ func _process(delta: float) -> void:
|
|||
pass
|
||||
|
||||
func make_listings():
|
||||
print("building meowbay")
|
||||
#print("building meowbay")
|
||||
for item in RecipeManager.items:
|
||||
if item.can_buy:
|
||||
var new_listing = load("res://shop/listing.tscn").instantiate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue