ModUI: Difference between revisions
Jump to navigation
Jump to search
Stlnegril9 (talk | contribs) No edit summary |
Stlnegril9 (talk | contribs) No edit summary |
||
| Line 12: | Line 12: | ||
|- | |- | ||
| resourceCategoriesDict | | resourceCategoriesDict | ||
| id | | id<br>itemTypeId<br>itemCategory | ||
| Defines categorisation and order of [[Resource|resources]] show in the bottom left | | Defines grouping, categorisation, and order of [[Resource|resources]] show in the bottom left menu | ||
|- | |- | ||
| techCategoryOrderIds | | techCategoryOrderIds | ||
| Line 20: | Line 20: | ||
|- | |- | ||
|} | |} | ||
* 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 15:45, 22 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 |
| 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.