Files
tbd-station-14/Content.Server/ParticleAccelerator/Components/ParticleAcceleratorPowerBoxComponent.cs
2022-05-13 17:59:03 +10:00

19 lines
569 B
C#

using Content.Server.Power.Components;
namespace Content.Server.ParticleAccelerator.Components
{
[RegisterComponent]
[ComponentReference(typeof(ParticleAcceleratorPartComponent))]
public sealed class ParticleAcceleratorPowerBoxComponent : ParticleAcceleratorPartComponent
{
[ViewVariables] public PowerConsumerComponent? PowerConsumerComponent;
protected override void Initialize()
{
base.Initialize();
PowerConsumerComponent = Owner.EnsureComponentWarn<PowerConsumerComponent>();
}
}
}