Advertisement
SteamPunk_Devil

Plants.xml

Aug 24th, 2014
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.21 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ThingDefs>
  3.  
  4.     <ThingDef Name="PlantBase" Abstract="True">
  5.         <eType>Plant</eType>
  6.         <category>Plant</category>
  7.         <thingClass>Plant</thingClass>
  8.         <altitudeLayer>LowPlant</altitudeLayer>
  9.         <flammability>1.0</flammability>
  10.         <useStandardHealth>True</useStandardHealth>
  11.         <maxHealth>75</maxHealth>
  12.         <tickerType>Rare</tickerType>
  13.         <selectable>False</selectable>
  14.         <neverMultiSelect>True</neverMultiSelect>
  15.         <drawerType>MapMeshOnly</drawerType>
  16.         <baseMaterialType>PlantCutout</baseMaterialType>
  17.         <plant>
  18.             <harvestDestroys>true</harvestDestroys>
  19.             <harvestingSound>Harvest_Standard</harvestingSound>
  20.             <harvestFinishSound>Harvest_Standard_Finish</harvestFinishSound>
  21.             <sowWork>150</sowWork>
  22.             <fertilityMin>0.5</fertilityMin>
  23.             <fertilityFactorGrowthRate>1.0</fertilityFactorGrowthRate>
  24.             <topWindExposure>0.1</topWindExposure>
  25.             <growthPer20kTicks>0.48</growthPer20kTicks>
  26.             <lifeSpan>200000</lifeSpan>
  27.             <growMinGlow>Overlit</growMinGlow>
  28.             <seedShootMinGrowthPercent>0.6</seedShootMinGrowthPercent>
  29.             <visualSizeRange>
  30.                 <min>0.3</min>
  31.                 <max>1.00</max>
  32.             </visualSizeRange>
  33.         </plant>
  34.     </ThingDef>
  35.     <!-- New Plants -->
  36.        
  37.     <ThingDef ParentName="PlantBase">
  38.         <defName>PlantVanilla</defName>
  39.         <label>Vanilla Pod</label>
  40.         <maxHealth>85</maxHealth>
  41.         <description>Sweet smelling flower with long dark seed pods</description>
  42.         <beauty>NiceTiny</beauty>
  43.         <textureFolderPath>Things/Plant/VanillaPlant</textureFolderPath>
  44.         <selectable>true</selectable>
  45.         <pathCost>10</pathCost>
  46.         <plant>
  47.       <shootsSeeds>false</shootsSeeds>
  48.       <harvestTag>Food</harvestTag>
  49.       <harvestedThingDef>VanillaPods</harvestedThingDef>
  50.       <harvestDestroys>true</harvestDestroys>
  51.       <harvestYieldRange>
  52.         <min>1</min>
  53.         <max>3</max>
  54.       </harvestYieldRange>
  55.       <sowableGround>true</sowableGround>
  56.       <sowableHydroponic>true</sowableHydroponic>
  57.       <topWindExposure>0.1</topWindExposure>
  58.             <growthPer20kTicks>0.48</growthPer20kTicks>
  59.             <lifeSpan>200000</lifeSpan>
  60.             <fertilityFactorGrowthRate>0.4</fertilityFactorGrowthRate>
  61.             <visualSizeRange>
  62.                 <min>0.3</min>
  63.                 <max>1.05</max>
  64.             </visualSizeRange>
  65.         </plant>
  66.     </ThingDef>
  67.  
  68.     <ThingDef ParentName="PlantBase">
  69.         <defName>PlantSugar</defName>
  70.         <label>Sugar</label>
  71.         <maxHealth>85</maxHealth>
  72.         <description>Too sweet to have on it's own</description>
  73.         <beauty>NiceTiny</beauty>
  74.         <textureFolderPath>Things/Plant/Sugar</textureFolderPath>
  75.         <selectable>true</selectable>
  76.         <pathCost>10</pathCost>
  77.         <plant>
  78.       <shootsSeeds>false</shootsSeeds>
  79.       <harvestTag>Food</harvestTag>
  80.       <harvestedThingDef>Sugar</harvestedThingDef>
  81.       <harvestDestroys>true</harvestDestroys>
  82.       <harvestYieldRange>
  83.         <min>1</min>
  84.         <max>3</max>
  85.       </harvestYieldRange>
  86.       <sowableGround>true</sowableGround>
  87.       <sowableHydroponic>true</sowableHydroponic>
  88.       <topWindExposure>0.1</topWindExposure>
  89.             <growthPer20kTicks>0.48</growthPer20kTicks>
  90.             <lifeSpan>200000</lifeSpan>
  91.             <fertilityFactorGrowthRate>0.4</fertilityFactorGrowthRate>
  92.             <visualSizeRange>
  93.                 <min>0.3</min>
  94.                 <max>1.05</max>
  95.             </visualSizeRange>
  96.         </plant>
  97.     </ThingDef>
  98.    
  99.     <ThingDef ParentName="PlantBase">
  100.         <defName>PlantCow</defName>
  101.         <label>Cow</label>
  102.         <maxHealth>85</maxHealth>
  103.         <description>A large dairy cow</description>
  104.         <beauty>NiceTiny</beauty>
  105.         <textureFolderPath>Things/Plant/Cow</textureFolderPath>
  106.         <selectable>true</selectable>
  107.         <pathCost>10</pathCost>
  108.         <plant>
  109.       <shootsSeeds>false</shootsSeeds>
  110.       <harvestTag>Food</harvestTag>
  111.       <harvestedThingDef>Milk</harvestedThingDef>
  112.       <harvestDestroys>true</harvestDestroys>
  113.       <harvestYieldRange>
  114.         <min>0</min>
  115.         <max>1</max>
  116.       </harvestYieldRange>
  117.       <sowableGround>true</sowableGround>
  118.       <sowableHydroponic>false</sowableHydroponic>
  119.       <topWindExposure>0.1</topWindExposure>
  120.             <growthPer20kTicks>0.48</growthPer20kTicks>
  121.             <lifeSpan>200000</lifeSpan>
  122.             <fertilityFactorGrowthRate>0.4</fertilityFactorGrowthRate>
  123.             <visualSizeRange>
  124.                 <min>1.0</min>
  125.                 <max>2.05</max>
  126.             </visualSizeRange>
  127.         </plant>
  128.     </ThingDef>
  129. </ThingDefs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement