Files
Dawn-Godot/scripts/Singleton/Item.gd
2025-05-14 22:52:12 -05:00

15 lines
346 B
GDScript

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();
enum ItemType {
POTION,
ONION
};
# Static inventories
static var PLAYER_INVENTORY = Inventory.new();