Prototype/AssemblingMachine: Difference between revisions
Muppet9010 (talk | contribs) (ingredient_count isn't mandatory any more) |
(Updated styling of prototype doc migration note) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= | <div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/AssemblingMachinePrototype.html https://lua-api.factorio.com/latest/prototypes/AssemblingMachinePrototype.html] | ||
An assembling machine - like the assembling machines 1/2/3 in the game, but you can use your own recipe categories. | </p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div> | ||
{{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. | |||
{{Prototype TOC|assembling-machine}} | |||
== Extensions == | == Extensions == | ||
* [[Prototype/RocketSilo]] '''rocket-silo''' | * [[Prototype/RocketSilo]] '''rocket-silo''' | ||
== | == Optional properties == | ||
This prototype inherits all the properties from [[Prototype/CraftingMachine]]. | This prototype inherits all the properties from [[Prototype/CraftingMachine]]. | ||
{{Prototype property|fixed_recipe|[[Types/string|string]]|""|optional=true}} | |||
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]]. | ||
{{Prototype property|gui_title_key|[[Types/string|string]]|""|optional=true}} | |||
The locale key of the title of the GUI that is shown when the player opens the assembling machine. May not be longer than 200 characters. | |||
The locale key of the title of the GUI that is shown when the player opens the assembling machine. | |||
{{Prototype property|ingredient_count|[[Types/uint8|uint8]]|255|optional=true}} | |||
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. |
Latest revision as of 10:42, 21 September 2023
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/AssemblingMachinePrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/CraftingMachine » Prototype/AssemblingMachine
An assembling machine - like the assembling machines 1/2/3 in the game, but you can use your own recipe categories.
Extensions
- Prototype/RocketSilo rocket-silo
Optional properties
This prototype inherits all the properties from Prototype/CraftingMachine.
fixed_recipe
Type: 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: string
Default: ""
The locale key of the title of the GUI that is shown when the player opens the assembling machine. May not be longer than 200 characters.
ingredient_count
Type: 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.
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.