Action stuff (#31305)
* Action stuff - Cleanup some event stuff - Avoid dirtying entity unnecessarily - Add ActionGrant as an easy way to apply / remove actions via compregistry. * Fix merge
This commit is contained in:
@@ -187,5 +187,10 @@ public abstract partial class BaseActionEvent : HandledEntityEventArgs
|
||||
/// <summary>
|
||||
/// The action the event belongs to.
|
||||
/// </summary>
|
||||
public EntityUid Action;
|
||||
public Entity<BaseActionComponent> Action;
|
||||
|
||||
/// <summary>
|
||||
/// Should we toggle the action entity?
|
||||
/// </summary>
|
||||
public bool Toggle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user