BuildingCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
Hotkey for Shortcut Key
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
These are the menu groupings of [[Building|Buildings]] in the lower right menus.
These are the order and groupings of menus in the lower right menus.


The values of '''category''' in the  '''[[ModBuildings|building.json]]'''  file for a mod specifies in which menu the [[Building|Buildings]] should appear.
The values of '''category''' in the  '''[[ModBuildings|building.json]]'''  file for a mod specifies in which menu the [[Building|Buildings]] should appear.
Line 11: Line 11:
! ID
! ID
! Building Category
! Building Category
! Shortcut Key
! HotKey
! Icon
! Icon
|-
|-
| Building_Cat_30
| rowspan="2" | Building_Cat_30
| Roads
| 1
| rowspan="2" | [[File:Cat paths.png|64px]]
|-
| Paths
| Paths
| 3
| 2
| [[File:Cat paths.png|64px]]
|-
|-
| Building_Cat_0
| Building_Cat_0
Line 72: Line 75:
| None (Tracks)
| None (Tracks)
| <null>
| <null>
| [[File:Icon 8.png |64px]]
| [[File:Cat tracks.png |64px]]
|-
|-
| Building_Cat_13
| Building_Cat_13
| None (Road Bridges)
| None (Road Bridges)*
| <null>
| <null>
| [[File:Buildcategory 13.png |64px]]
| [[File:Buildcategory 13.png |64px]]
Line 84: Line 87:
|  
|  
|}
|}
* = [[DLC-NL|DLC Only]]
== List of Building Categories, IDs, Weights ==
== List of Building Categories, IDs, Weights ==
{| class="wikitable" style="vertical-align:middle"
{| class="wikitable" style="vertical-align:middle"

Latest revision as of 14:07, 17 September 2024

These are the order and groupings of menus 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 HotKey Icon
Building_Cat_30 Roads 1
Paths 2
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_31 None (Tracks) <null>
Building_Cat_13 None (Road Bridges)* <null>
Building_Cat_4 None (ColonyShip) <null>

List of Building Categories, IDs, Weights

Cat# Cat Name Hotkey
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 Vegetable Farm-66 400 Orchard-1 500 Cider Press-2 600 Fishing Station-75 700
Cat_14 Food Production+ 5
Cow Farm-18 100 Wheat Farm-13 200 Flour Mill-16 300 Bakery-15 400
Cat_3 Resource Collection 6
Lumberjack Hut-3 100 Forestry-11 200 Surface Mine-14 300 Shaft Mine-51 400
Cat_5 Military 7
Watchtower-33 100 Floating Watchtower-71 150 Fletcher-34 300 Weaponsmith-35 300
Cat_2 Resource Production 8
Sawmill-4 100 Charcoal Burner-20 200 Blast Furnace-27 300 Blacksmith-25 400 Brickyard-47 500 Tannery-50 600 Paper Mill-23 700 Printing Press-26 800 Steelworks-45 900 Glassworks-30 1000 Mint-72 1000
Cat_8 Research 9
Workshop-39 100
Cat_7 Storage 0
Small Storage Yard-61 100 Storage Yard-5 200 Large Storage Yard-65 300
Cat_9 Special (minus)
Small Monument-60 100 Medium Monument-62 200 Large Monument-49 300 Church-73 400 Missionary Outpost-79 500
Cat_6 Transport =
Road Layer-57 100 Boat Yard-32 200 Harbour-22 300 Large Harbour-63 400 Train Station-6 500 Space Port-40 600
Cat_31 RoadBridges (none)
Construction Yard-76 100