Action container rejig (#20260)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Content.Shared.Actions;
|
||||
using Content.Shared.Radio;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Implants.Components;
|
||||
|
||||
@@ -10,7 +9,7 @@ namespace Content.Shared.Implants.Components;
|
||||
/// The actions can be activated via an action, a passive ability (ie tracking), or a reactive ability (ie on death) or some sort of combination
|
||||
/// They're added and removed with implanters
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class SubdermalImplantComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
@@ -18,19 +17,22 @@ public sealed partial class SubdermalImplantComponent : Component
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("implantAction")]
|
||||
public string? ImplantAction;
|
||||
public EntProtoId? ImplantAction;
|
||||
|
||||
[DataField, AutoNetworkedField]
|
||||
public EntityUid? Action;
|
||||
|
||||
/// <summary>
|
||||
/// The entity this implant is inside
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[ViewVariables, AutoNetworkedField]
|
||||
public EntityUid? ImplantedEntity;
|
||||
|
||||
/// <summary>
|
||||
/// Should this implant be removeable?
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("permanent")]
|
||||
[DataField("permanent"), AutoNetworkedField]
|
||||
public bool Permanent = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user