* Move PoweredLight to shared * Predict the rest of the owl * reacher * compinit & anim * Fix names * Revert this? * Fix these * chicken drummies * deita * Fix * review * fix * fixes * fix PVS weirdness --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
26 lines
758 B
C#
26 lines
758 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; }
|
|
|
|
// Doesn't actually do anything on the client just here for shared code.
|
|
public abstract float Load { get; set; }
|
|
}
|