BuildingCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
reference new entry in ui.json for Build Category
new menus and re-do order
Line 24: Line 24:
| [[File:Cat agriculture.png |64px]]
| [[File:Cat agriculture.png |64px]]
|-
|-
| Building_Cat_2
| Building_Cat_14
| Resource Production
| Food Production+
| 7
| 5
| [[File:Cat factory.png |64px]]
| [[File:Cat agriculture plus.png |64px]]
|-
|-
| Building_Cat_3
| Building_Cat_3
| Resource Collection
| Resource Collection
| 5
| 6
| [[File:Cat industry.png |64px]]
| [[File:Cat industry.png |64px]]
|-
| Building_Cat_4
| None (ColonyShip)
| <null>
|
|-
|-
| Building_Cat_5
| Building_Cat_5
| Military
| Military
| 6
| 7
| [[File:Cat military.png|64px]]
| [[File:Cat military.png|64px]]
|-
|-
| Building_Cat_6
| Building_Cat_2
| Transport
| Resource Production
| 'minus'
| 8
| [[File:Cat transport.png |64px]]
| [[File:Cat factory.png  |64px]]
|-
| Building_Cat_8
| Research
| 9
| [[File:Cat workshop.png|64px]]
|-
|-
| Building_Cat_7
| Building_Cat_7
| Storage
| Storage
| 9
| 0
| [[File:Cat storage.png|64px]]
| [[File:Cat storage.png|64px]]
|-
| Building_Cat_8
| Research
| 8
| [[File:Cat workshop.png|64px]]
|-
|-
| Building_Cat_9
| Building_Cat_9
| Special
| Special
| 0
| 'minus'
| [[File:Cat monument.png|64px]]
| [[File:Cat monument.png|64px]]
|-
| Building_Cat_6
| Transport
| 'equals'
| [[File:Cat transport.png |64px]]
|-
| Building_Cat_31
| None (Tunnels)
| <null>
|
|-
| Building_Cat_4
| None (ColonyShip)
| <null>
|
|}
|}

Revision as of 18:45, 6 April 2024

These are the menu groupings of Buildings in the lower right menus.

The values of category in the building.json file for a mod specifies in which menu the Buildings should appear.

The order of the ID under constructionGridBuildingIds in the ui.json file for a mod specifies the order in which the buildings appear within each menu.

The order of Build Categories, including new Build Categories, icons in the build menu in the lower right is defined by buildCategoryIds entries under buildCategorySpec in ui.json.

ID Building Category Shortcut Key Icon
Building_Cat_0 Residence 3
Building_Cat_1 Food Production 4
Building_Cat_14 Food Production+ 5
Building_Cat_3 Resource Collection 6
Building_Cat_5 Military 7
Building_Cat_2 Resource Production 8
Building_Cat_8 Research 9
Building_Cat_7 Storage 0
Building_Cat_9 Special 'minus'
Building_Cat_6 Transport 'equals'
Building_Cat_31 None (Tunnels) <null>
Building_Cat_4 None (ColonyShip) <null>