Prototype/RecipeCategory: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Changed links going to the redirect Prototype to go to PrototypeBase.)
(noted "crafting" category special behaviour)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Basics ==
{{Prototype parent|PrototypeBase}}
Prototype type: '''recipe-category'''
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]].


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. Extends [[PrototypeBase]].
The recipe category with the name "crafting" cannot contain recipes with fluid ingredients or products.


== Properties ==
{{Prototype TOC|recipe-category|no-properties=true}}
Inherits all properties from [[PrototypeBase]].

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)