ModUI: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
| resourceCategoriesDict
| resourceCategoriesDict
| id<br>itemTypeId<br>itemCategory
| id<br>itemTypeId<br>itemCategory
| Defines grouping, categorisation, and order of [[Resource|resources]] show in the bottom left menu<br>id should be unique from other resources in this file<br>itemTypeId matches the value of typeId in resources.json
| Defines [[ResourceCatModIds|'''grouping''']], [[Resource_Categories|'''categorisation''']], and order of [[Resource|resources]] show in the bottom left menu<br>id should be unique from other resources in this file<br>itemTypeId matches the value of typeId in resources.json
|-
|-
| techCategoryOrderIds
| techCategoryOrderIds

Revision as of 14:38, 23 November 2021

The ui.json file may be used to change the game interface.

JSON fields

Name Entry Description
constructionGridBuildingIds building ID Defines order, not the menu, of buildings in the building selection (bottom right)
resourceCategoriesDict id
itemTypeId
itemCategory
Defines grouping, categorisation, and order of resources show in the bottom left menu
id should be unique from other resources in this file
itemTypeId matches the value of typeId in resources.json
techCategoryOrderIds Tech category Defines order of research categories on research panel
  • note itemCategory is used when itemTypeId=254 to refer to a category (e.g. "Food", "Luxury Food", "Fuel"), otherwise itemCategory=0.