ModNatural Resources: Difference between revisions

From The Colonists
Jump to navigation Jump to search
Created page with "'''Mod Natural Resources Translation.csv''' == List of fields used in translation.csv for Natural Resources== ModTranslation.Csv#List_of_fields_used_for_Natural_Resources|Na..."
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
'''Mod Natural Resources'''
'''Mod Natural Resources'''
=JSON=
=JSON=
<pre>
"naturalResources": [
    {
      "maxAmount": 10, // max number on same tile (in Map editor) usually 10
      "heightLeeway": 8, // height needed by elevated train tracks to pass over
      "typeId": 201, // mod ID
      "outputItemTypeId": 5, // ID of [[Resource|resource]] created when mined
      "componentInfos": []
    }
  ]
</pre>
===Icon===
image file naming convention: ''naturalresource_200.png''<br>
image file should be 128x128 pixel size with transparent background.<br>
Used in mine output panels and bottom left menus<br>
Example file: [[File:NaturalResources CoalDeposit 2.png|64px|Coal Deposit]]
===3D Models===
See [[ModsUnityAssetBundles]] for general information.<br>

Latest revision as of 20:48, 20 December 2022

Mod Natural Resources Translation.csv

List of fields used in translation.csv for Natural Resources

Natural Resources Translation

placeholder for now - to link to translation.csv for Natural Resources

Add other Natural Resources specific info later

Mod Natural Resources

JSON

"naturalResources": [
    {
      "maxAmount": 10, // max number on same tile (in Map editor) usually 10
      "heightLeeway": 8, // height needed by elevated train tracks to pass over
      "typeId": 201, // mod ID
      "outputItemTypeId": 5, // ID of [[Resource|resource]] created when mined 
      "componentInfos": []
 
    }
  ]

Icon

image file naming convention: naturalresource_200.png
image file should be 128x128 pixel size with transparent background.
Used in mine output panels and bottom left menus
Example file: Coal Deposit

3D Models

See ModsUnityAssetBundles for general information.