Action container rejig (#20260)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
17
Content.Shared/Actions/ActionContainerComponent.cs
Normal file
17
Content.Shared/Actions/ActionContainerComponent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Actions;
|
||||
|
||||
/// <summary>
|
||||
/// This component indicates that this entity contains actions inside of some container.
|
||||
/// </summary>
|
||||
[NetworkedComponent, RegisterComponent]
|
||||
[Access(typeof(ActionContainerSystem), typeof(SharedActionsSystem))]
|
||||
public sealed partial class ActionsContainerComponent : Component
|
||||
{
|
||||
public const string ContainerId = "actions";
|
||||
|
||||
[ViewVariables]
|
||||
public Container Container = default!;
|
||||
}
|
||||
Reference in New Issue
Block a user