Add inventory system

This commit is contained in:
2025-01-05 12:05:55 -06:00
parent 750719ff88
commit e74878eb80
25 changed files with 247 additions and 46 deletions

13
scripts/Items/Potion.gd Normal file
View File

@@ -0,0 +1,13 @@
class_name Potion extends "res://scripts/Items/Item.gd"
func getName() -> String:
return "Potion"
func getCategory() -> ItemCategory:
return ItemCategory.MEDICINE;
func isConsumable() -> bool:
return true;
func consume() -> void:
print("Consuming Potion");