mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-25 17:44:24 +00:00
13 lines
316 B
GDScript3
13 lines
316 B
GDScript3
|
@icon("res://behaviours/collectible.svg")
|
||
|
extends Node
|
||
|
class_name Collectible
|
||
|
|
||
|
|
||
|
## Marker class that stores the value of a collectible item.
|
||
|
|
||
|
|
||
|
## How many of that item this [Collectible] represents.
|
||
|
@export var quantity: int = 1
|
||
|
|
||
|
## What kind of item this [Collectible] represents.
|
||
|
@export var kind: StringName = &""
|