Prototype/RecipeCategory: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (→‎Basics: typo)
(noted "crafting" category special behaviour)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Basics ==
{{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 machine can craft which recipes.
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]].


== Properties ==
The recipe category with the name "crafting" cannot contain recipes with fluid ingredients or products.
=== type ===
'''Type''': [[Types/string]]


Must be "recipe-category".
{{Prototype TOC|recipe-category|no-properties=true}}
 
=== name ===
'''Type''': [[Types/string]]
 
The unique name of this recipe category.

Latest revision as of 16:45, 7 April 2022

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)