Prototype/AssemblingMachine

From Official Factorio Wiki
Revision as of 15:50, 30 May 2019 by Bilka (talk | contribs) (→‎Optional properties: Added gui_title_key - 0.17.44)
Jump to navigation Jump to search

Basics

Prototype type: assembling-machine

An assembling machine - like the assembling machines 1/2/3 in the game, but you can use your own recipe categories. Based on Prototype/CraftingMachine.

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/CraftingMachine.

ingredient_count

Type: Types/uint8

Sets the maximum number of ingredients this machine can craft with. Any recipe with more ingredients than this will be unavailable in this machine.

This only counts item ingredients, not fluid ingredients! This means if ingredient count is 2, and the recipe has 2 item ingredients and 1 fluid ingredient, it can still be crafted in the machine.

Optional properties

fixed_recipe

Type: Types/string

Default: ""

The preset recipe of this machine. This machine does not show a recipe selection if this is set. The base game uses this for the rocket silo.

gui_title_key

Type: Types/string

Default: ""

The locale key of the title of the GUI that is shown when the player opens the assembling machine.