Add inventory system

This commit is contained in:
2025-01-05 12:05:55 -06:00
parent 750719ff88
commit e74878eb80
25 changed files with 247 additions and 46 deletions

View File

@@ -0,0 +1,11 @@
class_name TestNPCController extends "res://scripts/Entities/OverworldEntity.gd"
func interact(interactor) -> void:
var systems = getSystems();
systems.ITEM.addItem(systems.ITEM.ITEM_POTION, 1);
#var itemSystem = (get_node("Systems") as Systems).ITEM;
#itemSystem.addItem(itemSystem.ITEM_POTION, 1);
#pass
func updateMovement(delta) -> void:
pass