Prototype/AssemblingMachine: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/CraftingMachine}}
{{Prototype parent|Prototype/CraftingMachine}}
An assembling machine - like the assembling machines 1/2/3 in the game, but you can use your own recipe categories.


== Basics ==
{{Prototype TOC|assembling-machine}}
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 ==
== Extensions ==
* [[Prototype/RocketSilo]] '''rocket-silo'''
* [[Prototype/RocketSilo]] '''rocket-silo'''


== Mandatory properties ==
== Optional properties ==
This prototype inherits all the properties from [[Prototype/CraftingMachine]].
This prototype inherits all the properties from [[Prototype/CraftingMachine]].


== Optional properties ==
{{Prototype property|fixed_recipe|[[Types/string|string]]|""|optional=true}}
=== 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]].
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 ===
{{Prototype property|gui_title_key|[[Types/string|string]]|""|optional=true}}
'''Type''': [[Types/string]]
 
'''Default''': ""
 
The locale key of the title of the GUI that is shown when the player opens the assembling machine.
The locale key of the title of the GUI that is shown when the player opens the assembling machine.


=== ingredient_count ===
{{Prototype property|ingredient_count|[[Types/uint8|uint8]]|255|optional=true}}
'''Type''': [[Types/uint8]]
 
'''Default''': 255
 
Sets the maximum number of ingredients this machine can craft with. Any recipe with more ingredients than this will be unavailable in this machine.
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.
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.

Revision as of 19:55, 29 July 2019

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

Template:Prototype TOC

Extensions

Optional properties

This prototype inherits all the properties from Prototype/CraftingMachine.

Template:Prototype property 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.

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

Template:Prototype property 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.