Add event publishing for inventory and combat interactions
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user