ResourceCatModIds: Difference between revisions

From The Colonists
Jump to navigation Jump to search
No edit summary
explanation of Needed Resources red icon
 
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>
[[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>
<br>
==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>
Note the difference from [[Resource_Categories]].<br>
See the [[Mods|Mods]] section for more information.


{| class="wikitable" style="vertical-align:middle;"
{| class="wikitable" style="vertical-align:middle;"
Line 50: Line 47:
| [[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.