ModNatural Resources: Difference between revisions

From The Colonists
Jump to navigation Jump to search
add ModsUnityAssetBundles reference
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 21: Line 21:
   ]
   ]
</pre>
</pre>
=3D Models=
===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>
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.