remove robotics console emag checking, make it a bit fairer (#27876)
This commit is contained in:
@@ -97,6 +97,13 @@ public record struct CyborgControlData
|
||||
[DataField]
|
||||
public bool HasBrain;
|
||||
|
||||
/// <summary>
|
||||
/// Whether the borg can currently be disabled if the brain is installed,
|
||||
/// if on cooldown then can't queue up multiple disables.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool CanDisable;
|
||||
|
||||
/// <summary>
|
||||
/// When this cyborg's data will be deleted.
|
||||
/// Set by the console when receiving the packet.
|
||||
@@ -104,7 +111,7 @@ public record struct CyborgControlData
|
||||
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan Timeout = TimeSpan.Zero;
|
||||
|
||||
public CyborgControlData(SpriteSpecifier? chassisSprite, string chassisName, string name, float charge, int moduleCount, bool hasBrain)
|
||||
public CyborgControlData(SpriteSpecifier? chassisSprite, string chassisName, string name, float charge, int moduleCount, bool hasBrain, bool canDisable)
|
||||
{
|
||||
ChassisSprite = chassisSprite;
|
||||
ChassisName = chassisName;
|
||||
@@ -112,6 +119,7 @@ public record struct CyborgControlData
|
||||
Charge = charge;
|
||||
ModuleCount = moduleCount;
|
||||
HasBrain = hasBrain;
|
||||
CanDisable = canDisable;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user