Added item resource
This commit is contained in:
parent
a46e5eb53a
commit
679a3187f7
3 changed files with 50 additions and 22 deletions
11
scripts/item.gd
Normal file
11
scripts/item.gd
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue