BuildingCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
These are the menu groupings of [[Buildings|Buildings]] in the lower right menus.
These are the menu groupings of [[Buildings|Buildings]] in the lower right menus.


The values of '''category''' in the '''building.json''' file for a mod specifies in which menu the [[Buildings|Buildings]] should appear.
The values of '''category''' in the '''[[ModBuildings|building.json]]''' file for a mod specifies in which menu the [[Buildings|Buildings]] should appear.


The order if 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 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" style="vertical-align:middle;"

Revision as of 19:52, 18 August 2021

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
Building_Cat_0 Residence
Building_Cat_1 Food Production
Building_Cat_2 Resource Production
Building_Cat_3 Resource Collection
Building_Cat_4 None (ColonyShip)
Building_Cat_5 Military
Building_Cat_6 Transport
Building_Cat_7 Storage
Building_Cat_8 Research
Building_Cat_9 Special