ResourceCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
link to resource menu image info
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]] and [[Resource_Categories|resource categories]] in the lower left menu.<br>
 
<br>
The category values under '''globalStorageUISpec''' in the '''[[ModUI|ui.json]]''' file for a mod specifies in which menu the  [[Resource|resource]] or [[Resource_Categories| resource category]] should appear.<br>
The category values under '''globalStorageUISpec''' in the '''[[ModUI|ui.json]]''' file for a mod specifies in which menu the  [[Resource|resource]] or [[Resource_Categories| 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>

Revision as of 21:00, 11 January 2023

These are the menu groupings of resources and resource categories 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.
The image for a new resource menu should follow Resource Menu Image guidelines.
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