BuildingCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
The order of the ID under '''constructionGridBuildingIds''' in the '''[[ModUI|ui.json]]''' file for a mod specifies the order in which the buildings appear within each menu.
The order of the ID under '''constructionGridBuildingIds''' in the '''[[ModUI|ui.json]]''' file for a mod specifies the order in which the buildings appear within each menu.


{| class="wikitable" style="vertical-align:middle;"
{| class="wikitable sortable" style="vertical-align:middle;"
|-
|-
! ID
! ID

Revision as of 19:43, 31 July 2022

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.

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