Prototype/RecipeCategory: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page.)
 
(Updated styling of prototype doc migration note)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Basics ==
<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/RecipeCategory.html https://lua-api.factorio.com/latest/prototypes/RecipeCategory.html]
A recipe category. The built-in categories are "crafting" and "smelting" but mods can define their own. See [[Prototype/Recipe#category]].


== 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>
=== type ===
'''Type''': [[Types/string]]


Must be "recipe-category".


=== name ===
'''Type''': [[Types/string]]


The unique name of this recipe category.
{{Prototype parent|PrototypeBase}}
A recipe category. The built-in categories can be found [[Data.raw#recipe-category|here]]. See [[Prototype/Recipe#category]]. Recipe categories can be used to specify which [[Prototype/CraftingMachine|machine]] can craft which [[Prototype/Recipe|recipes]].
 
The recipe category with the name "crafting" cannot contain recipes with fluid ingredients or products.
 
{{Prototype TOC|recipe-category|no-properties=true}}

Latest revision as of 10:43, 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/RecipeCategory.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/RecipeCategory


A recipe category. The built-in categories can be found here. See Prototype/Recipe#category. Recipe categories can be used to specify which machine can craft which recipes.

The recipe category with the name "crafting" cannot contain recipes with fluid ingredients or products.


Prototype/RecipeCategory — recipe-category
No new properties
Inherited from PrototypeBase
name::string
type::string
localised_description::LocalisedString (optional)
localised_name::LocalisedString (optional)
order::Order (optional)