29 lines
732 B
C#
29 lines
732 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
// Based on the RMC14.
|
|
// https://github.com/RMC-14/RMC-14
|
|
namespace Content.Shared.Starlight.Medical.Surgery.Steps;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(SharedSurgerySystem))]
|
|
[EntityCategory("SurgerySteps")]
|
|
public sealed partial class SurgeryStepComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public float Duration = 2;
|
|
|
|
[DataField]
|
|
public ComponentRegistry? Tools;
|
|
|
|
[DataField]
|
|
public ComponentRegistry? Add;
|
|
|
|
[DataField]
|
|
public ComponentRegistry? BodyAdd;
|
|
|
|
[DataField]
|
|
public ComponentRegistry? Remove;
|
|
|
|
[DataField]
|
|
public ComponentRegistry? BodyRemove;
|
|
}
|