BuildingCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
placeholder for chart
Line 102: Line 102:
| desert well-82
| desert well-82
| 150
| 150
| fishing hut-38
| 200
| sheep farm-21
| 300
|}
|}

Revision as of 23:00, 7 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>

List of Building Categories, IDs, Weights

Building-ID Weight
Cat_0 Residence 3
residence-41 100
Cat_1 Food Production 4
well-19 100 desert well-82 150 fishing hut-38 200 sheep farm-21 300