Added locked barriers and a new ghost enemy

This commit is contained in:
VoidTwo
2021-12-04 18:23:05 -06:00
parent fcea3cee03
commit 9101bf2f65
21 changed files with 472 additions and 41 deletions

View File

@@ -45,8 +45,17 @@ func add_currency(amount: int) -> void:
return
func has_item(item: String) -> bool:
return $Inventory.contains(item)
func add_item(item: String) -> void:
print('%s added to inventory' % [item])
$Inventory.add(item)
return
func remove_item(item: String) -> void:
$Inventory.remove(item)
return