BuildingCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
add tracks placeholder
Line 63: Line 63:
| 'equals'
| 'equals'
| [[File:Cat transport.png |64px]]
| [[File:Cat transport.png |64px]]
|-
| Building_Cat_??
| None (Tracks)
| <null>
| [[File:Icon 8.png |64px]]
|-
|-
| Building_Cat_31
| Building_Cat_31

Revision as of 18:53, 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_?? None (Tracks) <null>
Building_Cat_31 None (Road Bridges) <null>
Building_Cat_4 None (ColonyShip) <null>