ModFlora: Difference between revisions

From The Colonists
Jump to navigation Jump to search
add new isMapEditorPlaceable
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
'''Mod Flora'''
'''Mod Flora'''
=JSON=
=JSON=
<pre>
   "flora": [
   "flora": [
     {
     {
Line 36: Line 37:
     }
     }
   ]
   ]
</pre>
=Icon=
None
=3D Models=
See [[ModsUnityAssetBundles]] for general information.<br>

Latest revision as of 01:05, 20 December 2022

Mod Flora Translation.csv

List of fields used in translation.csv for Flora

Flora Translation

placeholder for now - to link to translation.csv for Flora

Add other Flora specific info later

Mod Flora

JSON

  "flora": [
    {
      "$type": "MountainNaturalResourceMineInfo, Game",  // Underground Deposit for shaft mine resources
      "matchBuildingOffsets": [],   // for shaft mines resources
      "buildingMainBaseLayerOffset": {},   // for shaft mines resources
      "category": 4, see [[FloraModIds]] for existing values
      "growthTime": -1.0,
      "initGrowth": 0.0,
      "maxSubPositionOffset": 0.0,
      "minScale": 0.9,
      "maxScale": 1.0,
      "minPlantScale": 1.0,
      "maxPlantScale": 1.0,
      "can360Rotate": false,
      "canHaveSubLoc": true,
      "occupierType": 3,  // 0, 2, or 3. see [[FloraModIds]] for existing values
      "baseOffsets": [ ], // tiles(s) for Flora, if exists. see [[ModbaseOffsetsRequirements| baseOffsets]]
      "isPerpendicular": false,
      "itemYields": null, // resource yielded, e.g. 2 = Logs
      "validTerrainTypes": [], // Valid Terrain for Flora. see [[TerrainModIds]]
      "plantTimeFactor": 1.0,
      "heightLeeway": -1,
      "isMapEditorPlaceable": false, // can be placed when creating/editing Custom Maps
      "typeId": 201,  //  Flora Mod Id, see [[FloraModIds]] for existing values
      "componentInfos": []
    }
  ]

Icon

None

3D Models

See ModsUnityAssetBundles for general information.