[Modified plant] Out of Ideal Temperature Range

Started by MoparGamer, June 25, 2015, 10:32:59 PM

Previous topic - Next topic

MoparGamer

How can I make it so that select plants will grow naturally in a ice sheet biome (0 degrees celsius to -50). I've got them spawning on the map with a comfort zone that prevents them from dying, but they won't grow due to being "Out of ideal temperature range". Is there a field that allows me to change that, or how would I do this?

Current Plant:
<ThingDef ParentName="PlantBase">
<thingClass>Plant</thingClass>
    <defName>IceMoss</defName>
    <label>icemoss</label>
    <description>Ice Moss, bioengineered to survive in cold climates and provide nutrients for wild life.</description>
    <statBases>
      <MaxHitPoints>85</MaxHitPoints>
      <Beauty>1</Beauty>
  <ComfyTemperatureMin>-200</ComfyTemperatureMin>
  <ComfyTemperatureMax>200</ComfyTemperatureMax>  
    </statBases>
<selectable>True</selectable>
    <graphicData>
      <texPath>Things/Plant/IceMoss</texPath>
      <graphicClass>Graphic_Random</graphicClass>
    </graphicData>
    <hideAtSnowDepth>1.5</hideAtSnowDepth>
    <ingestible>
      <preferability>Plant</preferability>
      <nutrition>1</nutrition>
    </ingestible>
    <plant>
      <leaflessGraphicPath>Things/Plant/Grass_Leafless</leaflessGraphicPath>
      <harvestWork>40</harvestWork>
      <fertilityMin>0.25</fertilityMin>
      <maxMeshCount>9</maxMeshCount>
      <visualSizeRange>
        <min>0.4</min>
        <max>0.6</max>
      </visualSizeRange>
      <growDays>0.2</growDays>
      <topWindExposure>1.4</topWindExposure>
      <seedEmitMTBDays>7</seedEmitMTBDays>
      <fertilityFactorGrowthRate>0.90</fertilityFactorGrowthRate>
      <fertilityFactorPlantChance>0.90</fertilityFactorPlantChance>
    </plant>
  </ThingDef>


https://www.dropbox.com/s/b9cclurlqeg7e2z/Plant.png?dl=0


kaptain_kavern

I guess it's take place in the \Defs\BiomeDefs. I'm not an expert but maybe look at the way it's code for Tundra and adapt , including your new modified plant. no?