Prototype/Furnace: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(updated, now no longer shows properties inherited from Prototype/CraftingMachine)
Line 1: Line 1:
== Basics ==
== Basics ==
A furnace. Normal furnaces only process "smelting" category recipes, but you can make furnaces that process other [[Prototype/RecipeCategory|recipe categories]]. Based on [[Prototype/EntityWithHealth]].
A furnace. Normal furnaces only process "smelting" category recipes, but you can make furnaces that process other [[Prototype/RecipeCategory|recipe categories]]. Based on [[Prototype/CraftingMachine]]. The difference to assembling machines is that furnaces automatically choose their recipe based on input.


== Properties ==
== Properties ==


This prototype inherits the properties of [[Prototype/EntityWithHealth]].
This prototype inherits the properties of [[Prototype/CraftingMachine]].
 
=== smelting_categories ===
Type: List of [[Types/string]]
 
A list of the names of [[Prototype/RecipeCategory|recipe categories]] that this furnace can use.


=== result_inventory_size ===
=== result_inventory_size ===
Line 17: Line 12:


=== source_inventory_size ===
=== source_inventory_size ===
Type: [[Types/unsigned]], but not more than 1 (0.13.14)
Type: [[Types/unsigned]], but not more than 1


The number of input slots.
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.

Revision as of 19:27, 25 October 2017

Basics

A furnace. Normal furnaces only process "smelting" category recipes, but you can make furnaces that process other recipe categories. Based on Prototype/CraftingMachine. The difference to assembling machines is that furnaces automatically choose their recipe based on input.

Properties

This prototype inherits the properties of Prototype/CraftingMachine.

result_inventory_size

Type: Types/unsigned

The number of output slots.

source_inventory_size

Type: Types/unsigned, but not more than 1

The number of input slots.