ResourceCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
explanation of Needed Resources red icon
 
(12 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
| [[Resource | Energy]]
<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
| [[Resource | Construction ]]
<td bgcolor="#cccccc">  [[File:ResourceMenu Construction.png|64px|Construction]] </td>
| 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]]
| [[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
| [[Water]] & [[Food]]
<td bgcolor="#cccccc">  [[File:ResourceMenu Water&Food.png|64px|Water&Food]] </td>
| 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]]
|  [[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
| [[Resource | Ores ]]
<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]]
| [[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
| [[Resource | Goods ]]
<td bgcolor="#cccccc"> [[File:ResourceMenu Goods.png|64px|Goods]] </td>
| [[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]]
| 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]]
| [[File:Resource_Category_Fuel.png|64px|Fuel]]
|-
|-
| 6
| 6
| [[Resource | Military]]
<td bgcolor="#cccccc"> [[File:ResourceMenu Military.png|64px|Military]] </td>
| Military
| [[File:Resource_Arrows.png|64px|Arrows]][[File:Resource_Cannonballs.png|64px|Cannonballs]]
| [[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 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

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.