This commit is contained in:
Marek Le
2026-05-09 23:37:26 +02:00
parent 6d28b04c12
commit 2d4002bd3f
263 changed files with 5250 additions and 4597 deletions

12
resources/items/item.gd Normal file
View File

@@ -0,0 +1,12 @@
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 = {}