Prototype/Boiler: Difference between revisions
Jump to navigation
Jump to search
(why you would write a data structure in this way is beyond me.) |
(formatting) |
||
Line 26: | Line 26: | ||
'''Type''': [[Types/table]] | '''Type''': [[Types/table]] | ||
Table with the following mandatory members: | |||
* north - [[Types/Sprite]] | |||
* east - [[Types/Sprite]] | |||
* south - [[Types/Sprite]] | |||
* west - [[Types/Sprite]] | |||
== Optional properties == | == Optional properties == | ||
Line 53: | Line 48: | ||
'''Type''': [[Types/table]] | '''Type''': [[Types/table]] | ||
Table with the following mandatory members: | |||
* north - [[Types/Sprite]] | |||
* east - [[Types/Sprite]] | |||
* south - [[Types/Sprite]] | |||
* west - [[Types/Sprite]] | |||
=== fire === | === fire === | ||
'''Type''': [[Types/table]] | '''Type''': [[Types/table]] | ||
Table with the following mandatory members: | |||
* north - [[Types/Animation]] | |||
* east - [[Types/Animation]] | |||
* south - [[Types/Animation]] | |||
* west - [[Types/Animation]] | |||
=== fire_glow === | === fire_glow === | ||
'''Type''': [[Types/table]] | '''Type''': [[Types/table]] | ||
Table with the following mandatory members: | |||
* north - [[Types/Animation]] | |||
* east - [[Types/Animation]] | |||
* south - [[Types/Animation]] | |||
* west - [[Types/Animation]] |
Revision as of 19:02, 22 August 2018
Basics
A boiler. Extends Prototype/EntityWithHealth.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
energy_source
Type: Types/EnergySource
fluid_box
Type: Types/FluidBox
output_fluid_box
Type: Types/FluidBox
energy_consumption
Type: Types/Energy
burning_cooldown
Type: Types/uint32
target_temperature
Type: Types/double
structure
Type: Types/table
Table with the following mandatory members:
- north - Types/Sprite
- east - Types/Sprite
- south - Types/Sprite
- west - Types/Sprite
Optional properties
fire_glow_flicker_enabled
Type: Types/bool
Default: false
fire_flicker_enabled
Type: Types/bool
Default: false
patch
Type: Types/table
Table with the following mandatory members:
- north - Types/Sprite
- east - Types/Sprite
- south - Types/Sprite
- west - Types/Sprite
fire
Type: Types/table
Table with the following mandatory members:
- north - Types/Animation
- east - Types/Animation
- south - Types/Animation
- west - Types/Animation
fire_glow
Type: Types/table
Table with the following mandatory members:
- north - Types/Animation
- east - Types/Animation
- south - Types/Animation
- west - Types/Animation