Add Inventory system with Inventory, InventorySlot, and StatModifierItem classes; update character attributes to include level and experience

This commit is contained in:
2025-07-11 23:57:57 +02:00
parent c50b91eacb
commit 8f3a913b7e
19 changed files with 344 additions and 388 deletions

View File

@@ -1,6 +1,7 @@
using System.Collections.Generic;
using Data;
using Interfaces;
using KBCore.Refs;
using Sirenix.Serialization;
using UnityEngine;
@@ -10,7 +11,7 @@ namespace Systems
{
[OdinSerialize] private List<IStatModifier> activeModifiers = new();
[SerializeField] private Character character;
[SerializeField, Self] private Character character;
public void EquipItem(IStatModifier modifier)
{