Class UpgradePowerDrawComponent
This is used for machines whose power draw can be decreased through machine part upgrades.
Inheritance
System.Object
UpgradePowerDrawComponent
Namespace: Content.Server.Power.Components
Assembly: Content.Server.dll
Syntax
public sealed class UpgradePowerDrawComponent : Component
Fields
| Improve this Doc View SourceBaseLoad
The base power draw of the machine. Prioritizes hv/mv draw over lv draw. Value is initializezd on map init from ApcPowerReceiverComponent
Declaration
public float BaseLoad
Field Value
Type | Description |
---|---|
System.Single |
MachinePartPowerDraw
The machine part that affects the power draw.
Declaration
public string MachinePartPowerDraw
Field Value
Type | Description |
---|---|
System.String |
PowerDrawMultiplier
The multiplier used for scaling the power draw.
Declaration
public float PowerDrawMultiplier
Field Value
Type | Description |
---|---|
System.Single |
Scaling
What type of scaling is being used?
Declaration
public MachineUpgradeScalingType Scaling
Field Value
Type | Description |
---|---|
MachineUpgradeScalingType |