Factorio Prototype DocsVersion 1.1.107

RecipeCategory - 'recipe-category' Example code

A recipe category. The built-in categories can be found here. See RecipePrototype::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.

Inherits from PrototypeBase

Properties

No new properties
Inherited from PrototypeBase
type :: string

Specifies the kind of prototype this is. [...]

Specifies the kind of prototype this is. [...]

name :: string

Unique textual identification of the prototype. [...]

Unique textual identification of the prototype. [...]

order optional :: Order

Used to order prototypes in inventory, recipes and GUIs. [...]

Used to order prototypes in inventory, recipes and GUIs. [...]

localised_name optional :: LocalisedString

Overwrites the name set in the locale file. [...]

Overwrites the name set in the locale file. [...]

localised_description optional :: LocalisedString

Overwrites the description set in the locale file. [...]

Overwrites the description set in the locale file. [...]

Example

{
  type = "recipe-category",
  name = "my-category"
}

Prototypes

Types