ModFlora: Difference between revisions

From The Colonists
Jump to navigation Jump to search
Created page with "'''Mod Flora Translation.csv''' == List of fields used in translation.csv for Flora== Flora Translation<br> placeholder f..."
 
No edit summary
Line 9: Line 9:
'''Mod Flora'''
'''Mod Flora'''
=JSON=
=JSON=
  "flora": [
    {
      "$type": "MountainNaturalResourceMineInfo, Game",  // for shaft mine resources
      "matchBuildingOffsets": [],  // for shaft mines resources
      "buildingMainBaseLayerOffset": {},  // for shaft mines resources
      "category": 4,
      "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
      "baseOffsets": [ ],
      "isPerpendicular": false,
      "itemYield": null,
      "validTerrainTypes": [],
      "plantTimeFactor": 1.0,
      "heightLeeway": -1,
      "typeId": 201,  //  Flora Mod Id
      "componentInfos": []
    }
  ]

Revision as of 17:21, 18 January 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",  // for shaft mine resources
     "matchBuildingOffsets": [],   // for shaft mines resources
     "buildingMainBaseLayerOffset": {},   // for shaft mines resources
     "category": 4,
     "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
     "baseOffsets": [ ],
     "isPerpendicular": false,
     "itemYield": null,
     "validTerrainTypes": [],
     "plantTimeFactor": 1.0,
     "heightLeeway": -1,
     "typeId": 201,  //  Flora Mod Id
     "componentInfos": []
   }
 ]