NoMansSky:Game Structure/ProductTable: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
m (Text replacement - "\[\[Category:NMS-Index-.*\]\]" to "")
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTITLE__
{{#set:
{{NMSPage|contentTitle=[https://wiki.step-project.com/NMS:Game_Structure Game Structure] // [https://wiki.step-project.com/NMS:Game_Structure/METADATA METADATA] / REALITY / GCPRODUCTTABLE}}
NMSIndex=Tables
[[Category:No Man's Sky]]
}}{{PageTitle|logo=nomanssky|title=Product Table}}
{{TOC_right}}
{{NMSPage}}
{{TOC}}
== Introduction ==
== Introduction ==
In NMS, you always have items in your inventory and they could be of 3 types : Products, Substances and Technology.<br>
In NMS, you always have items in your inventory and they could be of 3 types : Products, Substances and Technology.<br>
Products are the items you can craft or buy.<br>
Products are the items you can craft or buy.<br>
METADATA\REALITY\TABLES\NMS_REALITY_GCPRODUCTTABLE.MBIN stores all the settings of product items.
METADATA/REALITY/TABLES/NMS_REALITY_GCPRODUCTTABLE.MBIN stores all the settings of product items.
 
You can find a full extract of this file [https://docs.google.com/spreadsheets/d/1J8WdrubKgo8A9hPY-hbQLq4eVrb3n3lZAgiI2J7ncAU/edit#gid=984581625 in this google sheet].


== Item Definition ==
== Item Definition ==
Line 13: Line 16:


     <Property value="GcProductData.xml">
     <Property value="GcProductData.xml">
       <Property name="Id" value="CASING" />  {{fc|#FFF|Internal item name}}
       <Property name="Id" value="CASING" />  {{fc|highlight|Internal item name}}
       <Property name="Name" value="CASING_NAME" />  {{fc|#FFF|Uppercase item real name. This name is referenced in each language file for translation}}
       <Property name="Name" value="CASING_NAME" />  {{fc|highlight|Uppercase item real name. This name is referenced in each language file for translation}}
       <Property name="NameLower" value="CASING_NAME_L" />  {{fc|#FFF|Lowercase item real name. This name is referenced in each language file for translation}}
       <Property name="NameLower" value="CASING_NAME_L" />  {{fc|highlight|Lowercase item real name. This name is referenced in each language file for translation}}
       <Property name="Subtitle" value="VariableSizeString.xml">
       <Property name="Subtitle" value="VariableSizeString.xml">
         <Property name="Value" value="CRAFTPROD_SUB" />  {{fc|#FFF|Item subtitle. This string is referenced in each language file for translation}}
         <Property name="Value" value="CRAFTPROD_SUB" />  {{fc|highlight|Item subtitle. This string is referenced in each language file for translation}}
       </Property>
       </Property>
       <Property name="Description" value="VariableSizeString.xml">
       <Property name="Description" value="VariableSizeString.xml">
         <Property name="Value" value="CASING_DESC" />  {{fc|#FFF|Item description. This string is referenced in each language file for translation}}
         <Property name="Value" value="CASING_DESC" />  {{fc|highlight|Item description. This string is referenced in each language file for translation}}
       </Property>
       </Property>
       <Property name="Hint" value="" />
       <Property name="Hint" value="" />
Line 27: Line 30:
         <Property name="Filename" value="MODELS/EFFECTS/DEBRIS/TERRAINDEBRIS/TERRAINDEBRIS4.SCENE.MBIN" />
         <Property name="Filename" value="MODELS/EFFECTS/DEBRIS/TERRAINDEBRIS/TERRAINDEBRIS4.SCENE.MBIN" />
       </Property>
       </Property>
       <Property name="BaseValue" value="800" />  {{fc|#FFF|Base item value in units}}
       <Property name="BaseValue" value="800" />  {{fc|highlight|Base item value in units}}
       <Property name="Level" value="0" />
       <Property name="Level" value="0" />
       <Property name="Icon" value="TkModelResource.xml">
       <Property name="Icon" value="TkModelResource.xml">
         <Property name="Filename" value="TEXTURES/UI/FRONTEND/ICONS/U4PRODUCTS/PRODUCT.CASING.DDS" />  {{fc|#FFF|Item icon texture path}}
         <Property name="Filename" value="TEXTURES/UI/FRONTEND/ICONS/U4PRODUCTS/PRODUCT.CASING.DDS" />  {{fc|highlight|Item icon texture path}}
       </Property>
       </Property>
       <Property name="HeroIcon" value="TkModelResource.xml">
       <Property name="HeroIcon" value="TkModelResource.xml">
         <Property name="Filename" value="" />
         <Property name="Filename" value="" />
       </Property>
       </Property>
       <Property name="Colour" value="Colour.xml">  {{fc|#FFF|Icon background colour. Applies under icon transparent parts}}
       <Property name="Colour" value="Colour.xml">  {{fc|highlight|Icon background colour. Applies under icon transparent parts}}
         <Property name="R" value="0.9529412" />
         <Property name="R" value="0.9529412" />
         <Property name="G" value="0.6627451" />
         <Property name="G" value="0.6627451" />
Line 61: Line 64:
       <Property name="Requirements">
       <Property name="Requirements">
         <Property value="GcTechnologyRequirement.xml">
         <Property value="GcTechnologyRequirement.xml">
           <Property name="ID" value="LAND1" />  {{fc|#FFF|Internal name of the first item required to build this item}}
           <Property name="ID" value="LAND1" />  {{fc|highlight|Internal name of the first item required to build this item}}
           <Property name="InventoryType" value="GcInventoryType.xml">   
           <Property name="InventoryType" value="GcInventoryType.xml">   
             <Property name="InventoryType" value="Substance" />  {{fc|#FFF|type of the first item required to build this item}}
             <Property name="InventoryType" value="Substance" />  {{fc|highlight|type of the first item required to build this item}}
           </Property>
           </Property>
           <Property name="Amount" value="50" />  {{fc|#FFF|Amount of the first item required to build this item}}
           <Property name="Amount" value="50" />  {{fc|highlight|Amount of the first item required to build this item}}
         </Property>
         </Property>
       </Property>
       </Property>
       <Property name="AltRequirements" />
       <Property name="AltRequirements" />
       <Property name="Cost" value="GcItemPriceModifiers.xml">  {{fc|#FFF|Trading cost modifiers}}
       <Property name="Cost" value="GcItemPriceModifiers.xml">  {{fc|highlight|Trading cost modifiers}}
         <Property name="SpaceStationMarkup" value="0" />
         <Property name="SpaceStationMarkup" value="0" />
         <Property name="LowPriceMod" value="-0.1" />
         <Property name="LowPriceMod" value="-0.1" />
Line 87: Line 90:
       <Property name="DeploysInto" value="" />
       <Property name="DeploysInto" value="" />
       <Property name="EconomyInfluenceMultiplier" value="0.25" />
       <Property name="EconomyInfluenceMultiplier" value="0.25" />
       <Property name="PinObjeective" value="UI_CRAFT_OBJ" />  {{fc|#FFF|Notification when this substance has to be crafted. This string is referenced in each language file for translation}}
       <Property name="PinObjeective" value="UI_CRAFT_OBJ" />  {{fc|highlight|Notification when this substance has to be crafted. This string is referenced in each language file for translation}}
       <Property name="PinObjeectiveTip" value="UI_PIN_CASING_OBJ_TIP" />  {{fc|#FFF|Notification hints to collect this item. This string is referenced in each language file for translation}}
       <Property name="PinObjeectiveTip" value="UI_PIN_CASING_OBJ_TIP" />  {{fc|highlight|Notification hints to collect this item. This string is referenced in each language file for translation}}
       <Property name="CookingIngredient" value="False" />
       <Property name="CookingIngredient" value="False" />
       <Property name="CookingValue" value="0" />
       <Property name="CookingValue" value="0" />
Line 94: Line 97:
       <Property name="GiveRewardOnSpecialPurchase" value="" />
       <Property name="GiveRewardOnSpecialPurchase" value="" />
     </Property>
     </Property>
{{NMSPageClose}}

Latest revision as of 19:06, August 5, 2021

Nomanssky flare.png

Product Table

Introduction[edit | edit source]

In NMS, you always have items in your inventory and they could be of 3 types : Products, Substances and Technology.
Products are the items you can craft or buy.
METADATA/REALITY/TABLES/NMS_REALITY_GCPRODUCTTABLE.MBIN stores all the settings of product items.

You can find a full extract of this file in this google sheet.

Item Definition[edit | edit source]

Each item in the table has the same structure, using the specific GcProductData.xml template.
This template sums all the informations of the substances as detailed below :

   <Property value="GcProductData.xml">
     <Property name="Id" value="CASING" />   Internal item name
     <Property name="Name" value="CASING_NAME" />   Uppercase item real name. This name is referenced in each language file for translation
     <Property name="NameLower" value="CASING_NAME_L" />   Lowercase item real name. This name is referenced in each language file for translation
     <Property name="Subtitle" value="VariableSizeString.xml">
       <Property name="Value" value="CRAFTPROD_SUB" />   Item subtitle. This string is referenced in each language file for translation
     </Property>
     <Property name="Description" value="VariableSizeString.xml">
       <Property name="Value" value="CASING_DESC" />   Item description. This string is referenced in each language file for translation
     </Property>
     <Property name="Hint" value="" />
     <Property name="GroupID" value="" />
     <Property name="DebrisFile" value="TkModelResource.xml">
       <Property name="Filename" value="MODELS/EFFECTS/DEBRIS/TERRAINDEBRIS/TERRAINDEBRIS4.SCENE.MBIN" />
     </Property>
     <Property name="BaseValue" value="800" />   Base item value in units
     <Property name="Level" value="0" />
     <Property name="Icon" value="TkModelResource.xml">
       <Property name="Filename" value="TEXTURES/UI/FRONTEND/ICONS/U4PRODUCTS/PRODUCT.CASING.DDS" />   Item icon texture path
     </Property>
     <Property name="HeroIcon" value="TkModelResource.xml">
       <Property name="Filename" value="" />
     </Property>
     <Property name="Colour" value="Colour.xml">   Icon background colour. Applies under icon transparent parts
       <Property name="R" value="0.9529412" />
       <Property name="G" value="0.6627451" />
       <Property name="B" value="0.137254909" />
       <Property name="A" value="1" />
     </Property>
     <Property name="SubstanceCategory" value="GcRealitySubstanceCategory.xml">
       <Property name="SubstanceCategory" value="Catalyst" />
     </Property>
     <Property name="Type" value="GcProductCategory.xml">
       <Property name="ProductCategory" value="Component" />
     </Property>
     <Property name="Rarity" value="GcRarity.xml">
       <Property name="Rarity" value="Common" />
     </Property>
     <Property name="Legality" value="GcLegality.xml">
       <Property name="Legality" value="Legal" />
     </Property>
     <Property name="Consumable" value="False" />
     <Property name="ChargeValue" value="0" />
     <Property name="StackMultiplier" value="2" />
     <Property name="DefaultCraftAmount" value="1" />
     <Property name="CraftAmountStepSize" value="1" />
     <Property name="CraftAmountMultiplier" value="1" />
     <Property name="Requirements">
       <Property value="GcTechnologyRequirement.xml">
         <Property name="ID" value="LAND1" />   Internal name of the first item required to build this item
         <Property name="InventoryType" value="GcInventoryType.xml">  
           <Property name="InventoryType" value="Substance" />   type of the first item required to build this item
         </Property>
         <Property name="Amount" value="50" />   Amount of the first item required to build this item
       </Property>
     </Property>
     <Property name="AltRequirements" />
     <Property name="Cost" value="GcItemPriceModifiers.xml">   Trading cost modifiers
       <Property name="SpaceStationMarkup" value="0" />
       <Property name="LowPriceMod" value="-0.1" />
       <Property name="HighPriceMod" value="0.1" />
       <Property name="BuyBaseMarkup" value="0.2" />
       <Property name="BuyMarkupMod" value="0" />
     </Property>
     <Property name="RecipeCost" value="1" />
     <Property name="SpecificChargeOnly" value="False" />
     <Property name="NormalisedValueOnWorld" value="5.121795E-05" />
     <Property name="NormalisedValueOffWorld" value="5.121795E-05" />
     <Property name="TradeCategory" value="GcTradeCategory.xml">
       <Property name="TradingClass" value="None" />
     </Property>
     <Property name="WikiCategory" value="Crafting" />
     <Property name="IsCraftable" value="True" />
     <Property name="DeploysInto" value="" />
     <Property name="EconomyInfluenceMultiplier" value="0.25" />
     <Property name="PinObjeective" value="UI_CRAFT_OBJ" />   Notification when this substance has to be crafted. This string is referenced in each language file for translation
     <Property name="PinObjeectiveTip" value="UI_PIN_CASING_OBJ_TIP" />  Notification hints to collect this item. This string is referenced in each language file for translation
     <Property name="CookingIngredient" value="False" />
     <Property name="CookingValue" value="0" />
     <Property name="GoodForSelling" value="False" />
     <Property name="GiveRewardOnSpecialPurchase" value="" />
   </Property>