Added item resource

This commit is contained in:
gotfishmakesticks 2023-11-06 12:12:22 +03:00
commit 679a3187f7
3 changed files with 50 additions and 22 deletions

11
scripts/item.gd Normal file
View file

@ -0,0 +1,11 @@
extends Resource
class_name Item
@export var name : String
@export var min_price : float
@export var max_price : float
@export var stack_size : int
@export var icon : Texture
@export var image : Texture
@export var type : Game.ITEM_TYPE