Prototype/ItemGroup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (removed lang template) |
||
Line 1: | Line 1: | ||
== Basics == | == 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]]. | 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]]. |
Revision as of 14:17, 2 September 2017
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
type
Type: Types/string
Must be "item-group".
name
Type: Types/string
The unique name of this item group.
icon
Type: Types/FileName
The 64x64-pixel icon that is shown to represent this item group.
order
Type: Types/string
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".