breadwinner/scenes/ui/inventory/item_datat.gd
Hellie-xd e7aec1ae28 lil bit of progress
save spot reached.
2026-08-13 23:44:29 +02:00

11 lines
390 B
GDScript

class_name ItemData extends Resource
enum ItemType { NORMAL, BACKPACK, POCKET, USABLE }
@export var item_type: ItemType = ItemType.NORMAL
@export var provided_slots: int
@export var name: String = ""
@export var weight: float = 10.0
@export var scene_path: String = ""
@export var ui_icon: Texture2D
@export var hand_mesh: Mesh # We need to save the mesh to show it in the player's hand!