LuaFluidPrototype

Prototype of a fluid.

class LuaFluidPrototype - sort
name :: string [R] Name of this prototype.
localised_name :: LocalisedString [R]
localised_description :: LocalisedString [R]
default_temperature :: double [R] Default temperature of this fluid.
max_temperature :: double [R] Maximum temperature this fluid can reach.
heat_capacity :: double [R] The amount of energy in Joules required to heat one unit of this fluid by 1°C.
order :: string [R] Order string for this prototype.
group :: LuaGroup [R] Group of this prototype.
subgroup :: LuaGroup [R] Subgroup of this prototype.
base_color :: Color [R]
flow_color :: Color [R]
gas_temperature :: double [R] The temperature above which this fluid will be shown as gaseous inside tanks and pipes.
emissions_multiplier :: double [R] A multiplier on the amount of emissions produced when this fluid is burnt in a generator.
fuel_value :: double [R] The amount of energy in Joules one unit of this fluid will produce when burnt in a generator.
hidden :: boolean [R] Whether this fluid is hidden from the fluid and signal selectors.
valid :: boolean [R] Is this object valid?
object_name :: string [R] The class name of this object.
help() → string All methods and properties that this object supports.
name :: string [Read-only]

Name of this prototype.

localised_name :: LocalisedString [Read-only]

localised_description :: LocalisedString [Read-only]

default_temperature :: double [Read-only]

Default temperature of this fluid.

max_temperature :: double [Read-only]

Maximum temperature this fluid can reach.

heat_capacity :: double [Read-only]

The amount of energy in Joules required to heat one unit of this fluid by 1°C.

order :: string [Read-only]

Order string for this prototype.

group :: LuaGroup [Read-only]

Group of this prototype.

subgroup :: LuaGroup [Read-only]

Subgroup of this prototype.

base_color :: Color [Read-only]

flow_color :: Color [Read-only]

gas_temperature :: double [Read-only]

The temperature above which this fluid will be shown as gaseous inside tanks and pipes.

emissions_multiplier :: double [Read-only]

A multiplier on the amount of emissions produced when this fluid is burnt in a generator. A value above 1.0 increases emissions and vice versa. The multiplier can't be negative.

fuel_value :: double [Read-only]

The amount of energy in Joules one unit of this fluid will produce when burnt in a generator. A value of 0 means this fluid can't be used for energy generation. The value can't be negative.

hidden :: boolean [Read-only]

Whether this fluid is hidden from the fluid and signal selectors.