Add event publishing for inventory and combat interactions

This commit is contained in:
2025-10-29 02:12:39 +01:00
parent bf15fad9ce
commit d6a31b12e3
14 changed files with 96 additions and 5 deletions

View File

@@ -27,6 +27,7 @@ public class ItemAcquisitionSystem : ISystem
if (pickupComponent.IsInstantUse)
{
_world.PublishEvent(new InstantItemUsedEvent(e.Picker, e.ItemId));
var context = new EffectContext
{
World = _world,