Prototype/ItemGroup

From Official Factorio Wiki
Revision as of 13:04, 23 January 2018 by Bilka (talk | contribs) (overhaul to include Prototype)
Jump to navigation Jump to search

Basics

An item group. Item groups are shown above the list of craftable items in the player's inventory. The built-in groups are "logistics", "production", "intermediates" and "combat" but mods can define their own. See also Prototype/Item#group.

Properties

Inherits all properties from Prototype.

icon

Type: Types/FileName

The icon that is shown to represent this item group.

icon_size

Type: Types/uint

The size of the square icon, in pixels, e.g. 32 for a 32px by 32px icon.

order

See Prototype#order

Inherited from Prototype. Item groups are sorted according to this field. An item group with order="a" will always be displayed before an item group with order="b".