ResourceCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
clear up "Resource Menu Label", remove erroneous links
change from resourceCategoriesDict to globalStorageUISpec
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 top level values under '''resourceCategoriesDict''' in the '''[[ModUI|ui.json]]''' file for a mod specifies in which menu the resource should appear.<br>
The category values under '''globalStorageUISpec''' in the '''[[ModUI|ui.json]]''' file for a mod specifies in which menu the resource or resource category should appear.<br>
"Resource Menu Label" values taken from corresponding translation.csv entries, e.g. '''UICategory_1_Name,Text,,Construction'''.<br>
"Resource Menu Label" values taken from corresponding translation.csv entries, e.g. '''UICategory_1_Name,Text,,Construction'''.<br>
Note the difference from [[Resource_Categories]]
Note the difference from [[Resource_Categories]]

Revision as of 18:29, 11 January 2023

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

The category values under globalStorageUISpec in the ui.json file for a mod specifies in which menu the resource or resource category should appear.
"Resource Menu Label" values taken from corresponding translation.csv entries, e.g. UICategory_1_Name,Text,,Construction.
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