🎉
This commit is contained in:
commit
94bfe2754e
107 changed files with 2557 additions and 0 deletions
12
Item.gd
Normal file
12
Item.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends Node2D
|
||||
class_name Item
|
||||
|
||||
@export var type: String = "default"
|
||||
@export var stack_count: int = 1
|
||||
|
||||
@onready var sprite: Sprite2D = $Sprite2D
|
||||
|
||||
func _ready():
|
||||
# TODO: Use CustomResource for type definition and setup here
|
||||
# Stuff like name, sprite, max_stack_count etc
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue