ResourceCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
bg color for icon cell viz
m reorder goods to match game menu
Line 36: Line 36:
<td bgcolor="#697615"> [[File:ResourceMenu Goods.png|64px|Goods]]  </td>
<td bgcolor="#697615"> [[File:ResourceMenu Goods.png|64px|Goods]]  </td>
| Goods
| Goods
| [[File:Resource_Hide.png|64px|Hide]][[File:Resource_Leather.png|64px|Leather]][[File:Resource_Paper.png|64px|Paper]] [[File:Resource_Books.png|64px|Books]][[File:Resource_Iron.png|64px|Iron]][[File:Resource_Tools.png|64px|Tools]]
| [[File:Resource_Iron.png|64px|Iron]][[File:Resource_Tools.png|64px|Tools]][[File:Resource_Hide.png|64px|Hide]][[File:Resource_Leather.png|64px|Leather]][[File:Resource_Paper.png|64px|Paper]] [[File:Resource_Books.png|64px|Books]]
|-
|-
| 5
| 5

Revision as of 14:45, 15 June 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 Icon Resource Menu Label Includes
0 Energy Energy Energy L1 Energy L2 Energy L3
1 Construction Construction Trees Logs Stone{PlanksBricksSteelGlass
2 Water&Food Water & Food WaterFoodApplesAlcoholWheatFlourMilkCocoa BeansLuxury Food
3 Ores Ores Iron OreCoalClaySaltQuartzGold
4 Goods Goods IronToolsHideLeatherPaper Books
5 Fuel Fuel Fuel
6 Military Military ArrowsCannonballs