Class SolidFuelGeneratorAdapterComponent
Fuels a FuelGeneratorComponent through solid materials.
Inheritance
System.Object
SolidFuelGeneratorAdapterComponent
Namespace: Content.Server.Power.Generator
Assembly: Content.Server.dll
Syntax
public sealed class SolidFuelGeneratorAdapterComponent : Component
Remarks
Must be accompanied with a MaterialStorageComponent to store the actual material and handle insertion logic. You should set a whitelist there for the fuel material.
The component itself stores a "fractional" fuel value to allow stack materials to be gradually consumed.
Fields
| Improve this Doc View SourceFractionalMaterial
How much material (can be fractional) is left in the generator.
Declaration
public float FractionalMaterial
Field Value
Type | Description |
---|---|
System.Single |
FuelMaterial
The material to accept as fuel.
Declaration
public string FuelMaterial
Field Value
Type | Description |
---|---|
System.String |
Multiplier
Value to multiply material amount by to get fuel amount.
Declaration
public float Multiplier
Field Value
Type | Description |
---|---|
System.Single |