Add ammo consumption and item pickup systems
This commit is contained in:
@@ -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; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user