* Predict dumping - This got soaped really fucking hard. - Dumping is predicted, this required disposals to be predicte.d - Disposals required mailing (because it's tightly coupled), and a smidge of other content systems. - I also had to fix a compnetworkgenerator issue at the same time so it wouldn't mispredict. * Fix a bunch of stuff * nasty merge * Some reviews * Some more reviews while I stash * Fix merge * Fix merge * Half of review * Review * re(h)f * lizards * feexes * feex
23 lines
635 B
C#
23 lines
635 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Power.Components;
|
|
|
|
[NetworkedComponent]
|
|
public abstract partial class SharedApcPowerReceiverComponent : Component
|
|
{
|
|
[ViewVariables]
|
|
public bool Powered;
|
|
|
|
/// <summary>
|
|
/// When false, causes this to appear powered even if not receiving power from an Apc.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public virtual bool NeedsPower { get; set;}
|
|
|
|
/// <summary>
|
|
/// When true, causes this to never appear powered.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public virtual bool PowerDisabled { get; set; }
|
|
}
|