Prototype/Furnace: Difference between revisions
(Created page.) |
No edit summary |
||
Line 17: | Line 17: | ||
=== source_inventory_size === | === source_inventory_size === | ||
Type: [[Types/unsigned]] | Type: [[Types/unsigned]], but not more than 1 (0.13.14) | ||
The number of input slots. | The number of input slots. |
Revision as of 00:55, 6 August 2016
Basics
A furnace. Normal furnaces only process "smelting" category recipes, but you can make furnaces that process other recipe categories. Based on Prototype/EntityWithHealth.
Properties
This prototype inherits the properties of Prototype/EntityWithHealth.
smelting_categories
Type: List of Types/string
A list of the names of recipe categories that this furnace can use.
result_inventory_size
Type: Types/unsigned
The number of output slots.
source_inventory_size
Type: Types/unsigned, but not more than 1 (0.13.14)
The number of input slots.
smelting_energy_consumption
Type: Types/EnergyPower
The amount of energy used by the furnace while smelting.
smelting_speed
Type: Types/double
The speed of this furnace. 0.5 is stone furnace speed. 1 is steel furnace speed.
energy_source
Type: Types/EnergySource
The energy source of this furnace.
off_animation
Type: Types/Animation
The animation displayed when the furnace is idle.
on_animation
Type: Types/Animation
In combination with fire_animation, the animation displayed when the furnace is running.
fire_animation
Type: Types/Animation
In combination with on_animation, the animation displayed when the furnace is running. This is displayed "on top of" on_animation.