Prototype/Boiler: Difference between revisions
(Better burning_cooldown description) |
(→structure: fixed type: animation instead of sprite) |
||
Line 25: | Line 25: | ||
Table with the following mandatory members: | Table with the following mandatory members: | ||
* north - [[Types/ | * north - [[Types/Animation|Animation]] | ||
* east - [[Types/ | * east - [[Types/Animation|Animation]] | ||
* south - [[Types/ | * south - [[Types/Animation|Animation]] | ||
* west - [[Types/ | * west - [[Types/Animation|Animation]] | ||
{{Prototype property|fire|[[Types/table|table]]}} | {{Prototype property|fire|[[Types/table|table]]}} |
Revision as of 09:07, 21 October 2020
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Boiler
A boiler.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
energy_source
Type: EnergySource
fluid_box
Type: FluidBox
output_fluid_box
Type: FluidBox
energy_consumption
Type: Energy
burning_cooldown
Type: uint32
Controls for how long the boiler will show the fire and fire_glow after the energy source runs out of energy.
Note that fire and fire_glow alpha is set to the light intensity of the energy source, so 0 light intensity means the fire is invisible. For burner energy sources, the light intensity will reach zero rather quickly after the boiler runs out of fuel, effectively capping the time that fire and fire_glow will be shown after the boiler runs out of fuel.
target_temperature
Type: double
structure
Type: table
Table with the following mandatory members:
fire
Type: table
Table with the following optional members:
This means the table itself is required, but can be empty.
fire_glow
Type: table
Table with the following optional members:
This means the table itself is required, but can be empty.
Optional properties
fire_glow_flicker_enabled
Type: bool
Default: false
fire_flicker_enabled
Type: bool
Default: false
mode
Type: string
Default: "heat-water-inside"
One of "heat-water-inside" or "output-to-separate-pipe".
patch
Type: table
Table with the following optional members: