Types/ItemIngredientPrototype: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(Removed old prototype docs)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__An item ingredient definition for a [[Prototype/Recipe]]. Its loading is triggered by the <code>type</code> of a [[Types/IngredientPrototype]] being "item". It can be specified as a table with named or numbered keys, but not a mix of both.
<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/types/ItemIngredientPrototype.html https://lua-api.factorio.com/latest/types/ItemIngredientPrototype.html]


== Mandatory properties ==
</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>
 
=== name or 1 ===
'''Type''': [[Types/string]]
 
The name of a [[Prototype/Item]].
 
=== amount or 2 ===
'''Type''': [[Types/uint16]]
 
== See also ==
* [[Types/IngredientPrototype]]
* [[Types/FluidIngredientPrototype]]

Latest revision as of 14:32, 25 October 2024

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/types/ItemIngredientPrototype.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.