Implement inventory system with item management and pickup functionality
This commit is contained in:
@@ -27,6 +27,8 @@ public class WeaponSystem : ISystem
|
||||
|
||||
if (input.IsFiring && weapon.CooldownTimer <= 0f)
|
||||
{
|
||||
// Check for ammo if applicable
|
||||
|
||||
var context = new EffectContext { World = world, Owner = entity };
|
||||
|
||||
foreach (var effect in weapon.OnFireEffects) effect.Execute(context);
|
||||
|
||||
Reference in New Issue
Block a user