Show / Hide Table of Contents

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 Source

BaseLoad

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
| Improve this Doc View Source

MachinePartPowerDraw

The machine part that affects the power draw.

Declaration
public string MachinePartPowerDraw
Field Value
Type Description
System.String
| Improve this Doc View Source

PowerDrawMultiplier

The multiplier used for scaling the power draw.

Declaration
public float PowerDrawMultiplier
Field Value
Type Description
System.Single
| Improve this Doc View Source

Scaling

What type of scaling is being used?

Declaration
public MachineUpgradeScalingType Scaling
Field Value
Type Description
MachineUpgradeScalingType
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾