This commit is contained in:
YourWishes committed 2025-05-14 22:52:12 -05:00
1 parent 151d93e433
commit 7f61528100
3 files changed
+9 -10

No files matched your search

+8 -3
View File
@@ -1,9 +1,14 @@
extends Node
const Inventory = preload("res://scripts/Item/Inventory.gd")
# Item Constants
static var POTION = preload("res://scripts/Item/Potion.gd").new();
static var ONION = preload("res://scripts/Item/Ingredient/Onion.gd").new();
# # Item Constants
# static var POTION = preload("res://scripts/Item/Potion.gd").new();
# static var ONION = preload("res://scripts/Item/Ingredient/Onion.gd").new();
enum ItemType {
POTION,
ONION
};
# Static inventories
static var PLAYER_INVENTORY = Inventory.new();