Implement inventory system with item management and pickup functionality

This commit is contained in:
2025-10-13 18:29:50 +02:00
parent ce3596efaa
commit 56ffa8e126
10 changed files with 156 additions and 0 deletions

View File

@@ -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);