cosmic/scripts/item.gd

12 lines
270 B
GDScript

extends Resource
class_name Item
@export var name : String
@export var description : String
@export var min_price : float
@export var max_price : float
@export var weight : float
@export var icon : Texture
@export var image : Texture
@export var type : Game.ITEM_TYPE