LuaFluidBoxPrototype

A prototype of a fluidbox owned by some LuaEntityPrototype.

class LuaFluidBoxPrototype - sort
entity :: LuaEntityPrototype [R] The entity that this belongs to.
index :: uint [R] The index of this fluidbox prototype in the owning entity.
pipe_connections :: array[FluidBoxConnection] [R] The pipe connection points.
production_type :: string [R] The production type.
base_area :: double [R]
base_level :: double [R]
height :: double [R]
volume :: double [R]
filter :: LuaFluidPrototype [R] The filter or nil if no filter is set.
minimum_temperature :: double [R] The minimum temperature or nil if none is set.
maximum_temperature :: double [R] The maximum temperature or nil if none is set.
secondary_draw_orders :: array[int] [R] The secondary draw orders for the 4 possible connection directions.
render_layer :: string [R] The render layer.
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.
entity :: LuaEntityPrototype [Read-only]

The entity that this belongs to.

index :: uint [Read-only]

The index of this fluidbox prototype in the owning entity.

pipe_connections :: array[FluidBoxConnection] [Read-only]

The pipe connection points.

production_type :: string [Read-only]

The production type. "input", "output", "input-output", or "none".

base_area :: double [Read-only]

base_level :: double [Read-only]

height :: double [Read-only]

volume :: double [Read-only]

filter :: LuaFluidPrototype [Read-only]

The filter or nil if no filter is set.

minimum_temperature :: double [Read-only]

The minimum temperature or nil if none is set.

maximum_temperature :: double [Read-only]

The maximum temperature or nil if none is set.

secondary_draw_orders :: array[int] [Read-only]

The secondary draw orders for the 4 possible connection directions.

render_layer :: string [Read-only]

The render layer.