11 lines
292 B
GDScript
11 lines
292 B
GDScript
|
class_name ItemResource
|
||
|
extends Resource
|
||
|
|
||
|
@export var name:String
|
||
|
@export var scene:PackedScene
|
||
|
@export var icon:Texture2D
|
||
|
@export var max_stack_size:int = 1
|
||
|
@export var is_tool:bool = false
|
||
|
@export var is_buildable:bool = false
|
||
|
@export_enum("None", "Chop", "Slice") var tool_action: int = 0
|