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 sortable" style="vertical-align:middle;"
{| class="wikitable sortable" style="vertical-align:middle;background: yellow"
|-
|-
! ID
! ID
! Building Category
! Building Category
! Shortcut Key
! Shortcut Key
! Icon
|-
|-
| Building_Cat_0
| Building_Cat_0
| Residence
| Residence
| 3
| 3
| [[File:Cat buildings.png|64px]]
|-
|-
| Building_Cat_1
| Building_Cat_1
| Food Production
| Food Production
| 4
| 4
| [[File:Cat agriculture.png |64px]]
|-
|-
| Building_Cat_2
| Building_Cat_2
| Resource Production
| Resource Production
| 7
| 7
| [[File:Cat factory.png  |64px]]
|-
|-
| Building_Cat_3
| Building_Cat_3
| Resource Collection
| Resource Collection
| 5
| 5
| [[File:Cat industry.png |64px]]
|-
|-
| Building_Cat_4
| Building_Cat_4
| None (ColonyShip)
| None (ColonyShip)
| <null>
| <null>
|
|-
|-
| Building_Cat_5
| Building_Cat_5
| Military
| Military
| 6
| 6
| [[File:Cat military.png|64px]]
|-
|-
| Building_Cat_6
| Building_Cat_6
| Transport
| Transport
| 'minus'
| 'minus'
| [[File:Cat transport.png |64px]]
|-
|-
| Building_Cat_7
| Building_Cat_7
| Storage
| Storage
| 9
| 9
| [[File:Cat storage.png|64px]]
|-
|-
| Building_Cat_8
| Building_Cat_8
| Research
| Research
| 8
| 8
| [[File:Cat workshop.png|64px]]
|-
|-
| Building_Cat_9
| Building_Cat_9
| Special
| Special
| 0
| 0
| [[File:Cat monument.png|64px]]
|}
|}

Revision as of 20:05, 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 Icon
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