A class that represents the resource requirements of an engine.
More...
|
double | currentAmount |
|
double | currentRequirement |
|
bool | drawStackGauge |
|
int | id |
| The integer ID of the resource consumed. More...
|
|
bool | isDeprived |
|
string | name |
| The string name of the resource consumed, e.g. "LiquidFuel" More...
|
|
float | ratio |
| How much of this resource is consumed by the engine, in proportion to other resources. For example if the engine consumes three resources (A, B, C) with A.ratio = 3, B.ratio = 2, C.ratio = 1, then 3 units of every will be consumed for every 2 units of B and 1 unit of C. More...
|
|
A class that represents the resource requirements of an engine.
ModuleEngines.Propellant.Propellant |
( |
| ) |
|
void ModuleEngines.Propellant.Load |
( |
ConfigNode |
node | ) |
|
void ModuleEngines.Propellant.Save |
( |
ConfigNode |
node | ) |
|
double ModuleEngines.Propellant.currentAmount |
double ModuleEngines.Propellant.currentRequirement |
bool ModuleEngines.Propellant.drawStackGauge |
int ModuleEngines.Propellant.id |
The integer ID of the resource consumed.
bool ModuleEngines.Propellant.isDeprived |
string ModuleEngines.Propellant.name |
The string name of the resource consumed, e.g. "LiquidFuel"
float ModuleEngines.Propellant.ratio |
How much of this resource is consumed by the engine, in proportion to other resources. For example if the engine consumes three resources (A, B, C) with A.ratio = 3, B.ratio = 2, C.ratio = 1, then 3 units of every will be consumed for every 2 units of B and 1 unit of C.
The documentation for this class was generated from the following file: