class_name Item
extends Resource

enum Category { ESSENCE, MATERIAL, EQUIPMENT, CONSUMABLE }

@export var item_id: StringName = &""
@export var display_name: String = ""
@export var category: Category = Category.MATERIAL
@export var max_stack: int = 99
@export var icon: Texture2D
@export var equip_slot: StringName = &""
@export var stat_bonus: Dictionary = {}
