Add ammo consumption and item pickup systems

This commit is contained in:
2025-10-29 00:13:19 +01:00
parent 56ffa8e126
commit 09fa293c81
8 changed files with 113 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
using GameCore.Combat.Interfaces;
using GameCore.ECS.Interfaces;
namespace GameCore.Inventory;
@@ -7,4 +8,5 @@ public class PickupComponent : IComponent
public string ItemId { get; set; }
public int Quantity { get; set; } = 1;
public bool IsInstantUse { get; set; } = false;
public List<IEffect> OnAcquireEffects { get; set; } = [];
}