TinyAdventure/model/item.gd

8 lines
150 B
GDScript

class_name Item
extends Resource
@export var name:String
@export var scene:PackedScene
@export var icon:Texture2D
@export var max_stack_size:int = 1