Add multipart machines system (#35969)
This commit is contained in:
@@ -13,12 +13,6 @@ namespace Content.Server.ParticleAccelerator.Components;
|
||||
[RegisterComponent]
|
||||
public sealed partial class ParticleAcceleratorControlBoxComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether the PA parts have been correctly arranged to make a functional device.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public bool Assembled = false;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the PA is currently set to fire at the console.
|
||||
/// Requires <see cref="Assembled"/> to be true.
|
||||
@@ -40,12 +34,6 @@ public sealed partial class ParticleAcceleratorControlBoxComponent : Component
|
||||
[ViewVariables]
|
||||
public bool Firing = false;
|
||||
|
||||
/// <summary>
|
||||
/// Block re-entrant rescanning.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool CurrentlyRescanning = false;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the PA is currently firing or charging to fire.
|
||||
/// Bounded by <see cref="ParticleAcceleratorPowerState.Standby"/> and <see cref="MaxStrength"/>.
|
||||
@@ -61,48 +49,6 @@ public sealed partial class ParticleAcceleratorControlBoxComponent : Component
|
||||
[ViewVariables]
|
||||
public ParticleAcceleratorPowerState MaxStrength = ParticleAcceleratorPowerState.Level2;
|
||||
|
||||
/// <summary>
|
||||
/// The power supply unit of the assembled particle accelerator.
|
||||
/// Implies the existance of a <see cref="ParticleAcceleratorPowerBoxComponent"/> attached to this entity.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public EntityUid? PowerBox;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the PA is currently firing or charging to fire.
|
||||
/// Implies the existance of a <see cref="ParticleAcceleratorEndCapComponent"/> attached to this entity.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public EntityUid? EndCap;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the PA is currently firing or charging to fire.
|
||||
/// Implies the existance of a <see cref="ParticleAcceleratorFuelChamberComponent"/> attached to this entity.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public EntityUid? FuelChamber;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the PA is currently firing or charging to fire.
|
||||
/// Implies the existance of a <see cref="ParticleAcceleratorEmitterComponent"/> attached to this entity.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public EntityUid? PortEmitter;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the PA is currently firing or charging to fire.
|
||||
/// Implies the existance of a <see cref="ParticleAcceleratorEmitterComponent"/> attached to this entity.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public EntityUid? ForeEmitter;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the PA is currently firing or charging to fire.
|
||||
/// Implies the existance of a <see cref="ParticleAcceleratorEmitterComponent"/> attached to this entity.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public EntityUid? StarboardEmitter;
|
||||
|
||||
/// <summary>
|
||||
/// The amount of power the particle accelerator must be provided with relative to the expected power draw to function.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user