Basic inventory, item and storage

This commit is contained in:
Rendo 2025-10-12 16:28:44 +05:00
commit 66a623e568
11 changed files with 155 additions and 1 deletions

View file

@ -0,0 +1,11 @@
extends RefCounted
class_name Stack
func _init(item: Item = null, amount: int = 0) -> void:
held_item = item
self.amount = amount
@export_storage var held_item : Item
@export_storage var amount : int