ResourceCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
These are the menu groupings of [[Resource|Resources]] in the lower left menu.
These are the menu groupings of [[Resource|Resources]] in the lower left menu.


The values under '''resourceCategoriesDict''' in the '''[[ModUI|ui.json]]''' file for a mod specifies in which menu the resource should appear.
The top level values under '''resourceCategoriesDict''' in the '''[[ModUI|ui.json]]''' file for a mod specifies in which menu the resource should appear.<br>
Note the difference from [[Resource_Categories]]


{| class="wikitable" style="vertical-align:middle;"
{| class="wikitable" style="vertical-align:middle;"

Revision as of 17:30, 20 July 2022

These are the menu groupings of Resources in the lower left menu.

The top level values under resourceCategoriesDict in the ui.json file for a mod specifies in which menu the resource should appear.
Note the difference from Resource_Categories

ID Resource Menu Label Includes
0 Energy Energy L1 Energy L2 Energy L3
1 Construction Trees Logs Stone{PlanksBricksSteelGlass
2 Water & Food WaterFoodApplesAlcoholWheatFlourMilkCocoa BeansLuxury Food
3 Ores Iron OreCoalClaySaltQuartzGold
4 Goods HideLeatherPaper BooksIronTools
5 Fuel Fuel
6 Military ArrowsCannonballs