grunk/src/items/item.gd

11 lines
278 B
GDScript3
Raw Normal View History

2025-03-21 12:07:05 -06:00
class_name Item extends Resource
## An item which can be collected, held in the player's inventory, and used.
@export var name: String
@export_multiline var description: String
## Handy typed singleton access.
static var catalog: ItemCatalogType:
get():
return ItemCatalog