Prototype/RecipeCategory: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(noted "crafting" category special behaviour)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Prototype parent|PrototypeBase}}
{{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]].


== Basics ==
The recipe category with the name "crafting" cannot contain recipes with fluid ingredients or products.
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 machine can craft which recipes. Extends [[PrototypeBase]].
{{Prototype TOC|recipe-category|no-properties=true}}
 
== Properties ==
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)