NoMansSky:Game Structure/SubstanceTable

From Step Mods | Change The Game
Nomanssky flare.png

Substance 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.
Substances are the raw resources you can mine or buy.
METADATA/REALITY/TABLES/NMS_REALITY_GCSUBSTANCETABLE.MBIN stores all the settings of substance 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 GcRealitySubstanceData.xml template.
This template sums all the informations of the substances as detailed below :

   <Property value="GcRealitySubstanceData.xml">
     <Property name="Name" value="UI_FUEL_1_NAME" />   Uppercase item real name. This name is referenced in each language file for translation
     <Property name="NameLower" value="UI_FUEL_1_NAME_L" />   Lowercase item real name. This name is referenced in each language file for translation
     <Property name="ID" value="FUEL1" />   Internal item name
     <Property name="Symbol" value="UI_FUEL1_SYM" />   Item "chemical" symbol. This symbol is referenced in each language file for translation
     <Property name="Icon" value="TkTextureResource.xml">
       <Property name="Filename" value="TEXTURES/UI/FRONTEND/ICONS/U4SUBSTANCES/SUBSTANCE.FUEL.1.DDS" />   Item icon texture path
     </Property>
     <Property name="DebrisFile" value="TkTextureResource.xml">
       <Property name="Filename" value="MODELS/EFFECTS/DEBRIS/RESOURCEDEBRIS.SCENE.MBIN" />   Item 3D debris path (when mined)
     </Property>
     <Property name="Subtitle" value="VariableSizeString.xml">
       <Property name="Value" value="UI_FUEL1_SUB" />   Item subtitle. This string is referenced in each language file for translation
     </Property>
     <Property name="Description" value="VariableSizeString.xml">
       <Property name="Value" value="UI_FUEL_1_DESC" />   Item description. This string is referenced in each language file for translation
     </Property>
     <Property name="Colour" value="Colour.xml">   Icon background colour. Applies under icon transparent parts
       <Property name="R" value="0.733333349" />
       <Property name="G" value="0.219607845" />
       <Property name="B" value="0.1882353" />
       <Property name="A" value="1" />
     </Property>
     <Property name="WorldColour" value="Colour.xml">
       <Property name="R" value="0.733333349" />
       <Property name="G" value="0.219607845" />
       <Property name="B" value="0.1882353" />
       <Property name="A" value="1" />
     </Property>
     <Property name="BaseValue" value="12" />   Base item value in units
     <Property name="Category" value="GcRealitySubstanceCategory.xml">
       <Property name="SubstanceCategory" value="Fuel" />
     </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="ChargeValue" value="1" />
     <Property name="StackMultiplier" value="1" />
     <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.25" />
       <Property name="BuyMarkupMod" value="0" />
     </Property>
     <Property name="NormalisedValueOnWorld" value="7.0512823E-07" />
     <Property name="NormalisedValueOffWorld" value="7.0512823E-07" />
     <Property name="tradeCategory" value="GcTradeCategory.xml">
       <Property name="TradingClass" value="None" />
     </Property>
     <Property name="WikiEnabled" value="True" />
     <Property name="EconomyInfluenceMultiplier" value="0.25" />
     <Property name="PinObjective" value="UI_GATHER_OBJ" />   Notification when this substance has to be collected. This string is referenced in each language file for translation
     <Property name="PinObjectiveTip" value="UI_PIN_FUEL1_OBJ_TIP" />   Notification hints to collect this item. This string is referenced in each language file for translation
     <Property name="WikiMissionID" value="WIKI_FUEL1" />   String related to a wiki mission. This string is referenced in each language file for translation
     <Property name="CookingIngredient" value="True" />
     <Property name="GoodForSelling" value="False" />
   </Property>