Factorio Prototype DocsVersion 1.1.107

ItemSubGroup - 'item-subgroup' Example code

An item subgroup. Item subgroups are the rows in the recipe list in the player's inventory GUI. The subgroup of a prototype also determines its item group (tab in the recipe list).

The built-in subgroups can be found here. See ItemPrototype::subgroup for setting the subgroup of an item.

Inherits from PrototypeBase

Properties

group :: ItemGroupID

The item group this subgroup is located in.

The item group this subgroup is located in.

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. [...]

Properties

group :: ItemGroupID

The item group this subgroup is located in.

Example

{
  type = "item-subgroup",
  name = "train-transport",
  group = "logistics",
  order = "e"
}

Prototypes

Types