ResourceCatModIds: Difference between revisions
Stlnegril9 (talk | contribs) No edit summary |
Stlnegril9 (talk | contribs) explanation of Needed Resources red icon |
||
| (14 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[File:ResourceStoragePanel.png|right]]These are the menu groupings of [[Resource|resources]] and [[Resource_Categories|resource categories]] in the Resource Storage Panel (lower left menu).<br> | |||
Each Menu will show a red circle and the total number of [[Resource|resources]]/[[Resource_Categories|resource categories]] with unmet demand, if any, for that Menu Category.<br> | |||
Selecting a menu will display all the [[Resource|resources]] and [[Resource_Categories|resource categories]] in that Menu Category and each will show the unmet demand, if any, with a red circle and the number needed.<br> | |||
Note the difference from [[Resource_Categories]].<br> | |||
<br> | |||
{| class="wikitable" style="vertical-align:middle;" | {| class="wikitable" style="vertical-align:middle;" | ||
|- | |- | ||
! ID | ! ID | ||
! Icon | |||
! Resource Menu Label | ! Resource Menu Label | ||
! Includes | ! Includes | ||
|- | |- | ||
| 0 | | 0 | ||
<td bgcolor="#cccccc"> [[File:ResourceMenu Energy.png|64px|Energy]] </td> | |||
| Energy | |||
| [[File:Resource_EnergyL1.png|64px|Energy L1]] [[File:Resource_EnergyL2.png|64px|Energy L2]] [[File:Resource_EnergyL3.png|64px|Energy L3]] | | [[File:Resource_EnergyL1.png|64px|Energy L1]] [[File:Resource_EnergyL2.png|64px|Energy L2]] [[File:Resource_EnergyL3.png|64px|Energy L3]] | ||
|- | |- | ||
| 1 | | 1 | ||
<td bgcolor="#cccccc"> [[File:ResourceMenu Construction.png|64px|Construction]] </td> | |||
| [[File: | | Construction | ||
| [[File:Fir.png|64px|Trees]] [[File:Resource_Logs.png|64px|Logs]] [[File:Resource_Stone.png|64px|Stone]][[File:Resource_Planks.png|64px|{Planks]][[File:Resource_Bricks.png|64px|Bricks]][[File:Resource_Steel.png|64px|Steel]][[File:Resource_Glass.png|64px|Glass]] | |||
|- | |- | ||
| 2 | | 2 | ||
<td bgcolor="#cccccc"> [[File:ResourceMenu Water&Food.png|64px|Water&Food]] </td> | |||
| [[File:Resource_Water.png|64px|Water]][[File: | | Water & Food | ||
| [[File:Resource_Water.png|64px|Water]][[File:Resource_Category_Food.png|64px|Food]][[File:Resource_Apples.png|64px|Apples]][[File:Resource_Category_Alcohol.png|64px|Alcohol]][[File:Resource_Wheat.png|64px|Wheat]][[File:Resource_Flour.png|64px|Flour]][[File:Resource_Milk.png|64px|Milk]][[File:Resource_Cocoa_Beans.png|64px|Cocoa Beans]][[File:Resource_Category_Luxury_Food.png|64px|Luxury Food]] | |||
|- | |- | ||
| 3 | | 3 | ||
| [[ | <td bgcolor="#cccccc"> [[File:ResourceMenu Ores.png|64px|Ores]] </td> | ||
| Ores | |||
| [[File:Resource_IronOre.png|64px|Iron Ore]][[File:Resource_Coal.png|64px|Coal]][[File:Resource_Clay.png|64px|Clay]][[File:Resource_Salt.png|64px|Salt]][[File:Resource_Quartz.png|64px|Quartz]][[File:Resource_Gold.png|64px|Gold]] | |||
|- | |- | ||
| 4 | | 4 | ||
| [[ | <td bgcolor="#cccccc"> [[File:ResourceMenu Goods.png|64px|Goods]] </td> | ||
| Goods | |||
| [[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 | ||
| [[Fuel]] | <td bgcolor="#cccccc"> [[File:ResourceMenu Fuel.png|64px|Fuel]] </td> | ||
| Fuel | |||
| [[File:Resource_Category_Fuel.png|64px|Fuel]] | |||
|- | |- | ||
| 6 | | 6 | ||
| [[ | <td bgcolor="#cccccc"> [[File:ResourceMenu Military.png|64px|Military]] </td> | ||
| Military | |||
| [[File:Resource_Arrows.png|64px|Arrows]][[File:Resource_Cannonballs.png|64px|Cannonballs]] | |||
|} | |} | ||
==Modding Information== | |||
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> | |||
The image for a ''new'' resource menu should follow [[Globalstoragecategory| Resource Menu Image]] guidelines.<br> | |||
See the [[Mods|Mods]] section for more information. | |||
Latest revision as of 16:46, 21 September 2024

These are the menu groupings of resources and resource categories in the Resource Storage Panel (lower left menu).
Each Menu will show a red circle and the total number of resources/resource categories with unmet demand, if any, for that Menu Category.
Selecting a menu will display all the resources and resource categories in that Menu Category and each will show the unmet demand, if any, with a red circle and the number needed.
Note the difference from Resource_Categories.
| ID | Icon | Resource Menu Label | Includes |
|---|---|---|---|
| 0 | |
Energy | |
| 1 | |
Construction | |
| 2 | |
Water & Food | |
| 3 | |
Ores | |
| 4 | |
Goods | |
| 5 | |
Fuel |
|
| 6 | |
Military |
Modding Information
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.
See the Mods section for more information.






