ModUI: Difference between revisions

From The Colonists
Jump to navigation Jump to search
wording
redirect Tech category to more appropriate page
Line 16: Line 16:
|-
|-
| techCategoryOrderIds
| techCategoryOrderIds
| Tech [[ModTechs| category]]
| Tech [[ResearchCatModIds| category]]
| Defines order of [[Research|research]] category panels in research window
| Defines order of [[Research|research]] category panels in research window
|-
|-
|}
|}
* note itemCategory is used when itemTypeId=254 to refer to a [[Resource_Categories|category]] (e.g. "Food", "Luxury Food", "Fuel"), otherwise itemCategory=0.
* note itemCategory is used when itemTypeId=254 to refer to a [[Resource_Categories|category]] (e.g. "Food", "Luxury Food", "Fuel"), otherwise itemCategory=0.

Revision as of 21:38, 2 December 2022

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 category panels in research window
  • note itemCategory is used when itemTypeId=254 to refer to a category (e.g. "Food", "Luxury Food", "Fuel"), otherwise itemCategory=0.