RimWorld

RimWorld

Fertile Planet
dninemfive 23 Apr, 2018 @ 3:46pm
xpath coding
Instead of reproducing nearly every BiomeDef and plant Def, which causes compatibility issues, use the following xpath code instead:

Biome changes:

<?xml version="1.0" encoding="utf-8" ?> <Patch> <!-- xpath code by dninemfive --> <!-- Boreal Forest --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="BorealForest"]/animalDensity</xpath> <value> <animalDensity>2.5</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="BorealForest"]/plantDensity</xpath> <value> <plantDensity>0.55</plantDensity> </value> </Operation> <!-- Tundra --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="Tundra"]/animalDensity</xpath> <value> <animalDensity>1.3</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="Tundra"]/plantDensity</xpath> <value> <plantDensity>0.285</plantDensity> </value> </Operation> <!-- Cold Bog --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="ColdBog"]/animalDensity</xpath> <value> <animalDensity>0.85</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="ColdBog"]/plantDensity</xpath> <value> <plantDensity>0.55</plantDensity> </value> </Operation> <!-- Temperate Forest --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="TemperateForest"]/animalDensity</xpath> <value> <animalDensity>3.75</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="TemperateForest"]/plantDensity</xpath> <value> <plantDensity>1.00</plantDensity> </value> </Operation> <!-- Tropical Rainforest --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="TropicalRainforest"]/animalDensity</xpath> <value> <animalDensity>5.2</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="TropicalRainforest"]/plantDensity</xpath> <value> <plantDensity>1.35</plantDensity> </value> </Operation> <!-- Arid Shrubland --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="AridShrubland"]/animalDensity</xpath> <value> <animalDensity>1.5</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="AridShrubland"]/plantDensity</xpath> <value> <plantDensity>0.22</plantDensity> </value> </Operation> <!-- Desert --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="Desert"]/animalDensity</xpath> <value> <animalDensity>0.29</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="Desert"]/plantDensity</xpath> <value> <plantDensity>0.06</plantDensity> </value> </Operation> <!-- Extreme Desert --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="ExtremeDesert"]/animalDensity</xpath> <value> <animalDensity>0.06</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="ExtremeDesert"]/plantDensity</xpath> <value> <plantDensity>0.0026</plantDensity> </value> </Operation> </Patch>
Last edited by dninemfive; 23 Apr, 2018 @ 3:48pm
< >
Showing 1-2 of 2 comments
dninemfive 23 Apr, 2018 @ 3:49pm 
Plants (combine both comments):
<?xml version="1.0" encoding="utf-8" ?> <Patch> <!-- xpath code by dninemfive --> <!-- Boreal Forest --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="BorealForest"]/animalDensity</xpath> <value> <animalDensity>2.5</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="BorealForest"]/plantDensity</xpath> <value> <plantDensity>0.55</plantDensity> </value> </Operation> <!-- Tundra --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="Tundra"]/animalDensity</xpath> <value> <animalDensity>1.3</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="Tundra"]/plantDensity</xpath> <value> <plantDensity>0.285</plantDensity> </value> </Operation> <!-- Cold Bog --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="ColdBog"]/animalDensity</xpath> <value> <animalDensity>0.85</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="ColdBog"]/plantDensity</xpath> <value> <plantDensity>0.55</plantDensity> </value> </Operation> <!-- Temperate Forest --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="TemperateForest"]/animalDensity</xpath> <value> <animalDensity>3.75</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="TemperateForest"]/plantDensity</xpath> <value> <plantDensity>1.00</plantDensity> </value> </Operation> <!-- Tropical Rainforest --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="TropicalRainforest"]/animalDensity</xpath> <value> <animalDensity>5.2</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="TropicalRainforest"]/plantDensity</xpath> <value> <plantDensity>1.35</plantDensity> </value> </Operation> <!-- Arid Shrubland --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="AridShrubland"]/animalDensity</xpath> <value> <animalDensity>1.5</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="AridShrubland"]/plantDensity</xpath> <value> <plantDensity>0.22</plantDensity> </value> </Operation> <!-- Desert --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="Desert"]/animalDensity</xpath> <value> <animalDensity>0.29</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="Desert"]/plantDensity</xpath> <value> <plantDensity>0.06</plantDensity> </value> </Operation> <!-- Extreme Desert --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="ExtremeDesert"]/animalDensity</xpath> <value> <animalDensity>0.06</animalDensity> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/BiomeDef[defName="ExtremeDesert"]/plantDensity</xpath> <value> <plantDensity>0.0026</plantDensity> </value> </Operation> <!--============== Plant Bases ==============--> <!-- Plant Base --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantBase"]/plant/fertilityMin</xpath> <value> <fertilityMin>0.6</fertilityMin> </value> </Operation> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantBase"]/plant/fertilityMin</xpath> <value> <fertilitySensitivity>1.0</fertilitySensitivity> </value> </Operation> <!-- Bush Base --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="BushBase"]/plant</xpath> <value> <plant> <fertilityMin>0.6</fertilityMin> <fertilitySensitivity>0.6</fertilitySensitivity> <growDays>3</growDays> <wildClusterSizeRange> <min>2</min> <max>6</max> </wildClusterSizeRange> <wildClusterRadius>4</wildClusterRadius> <visualSizeRange> <min>0.4</min> <max>1.4</max> </visualSizeRange> <topWindExposure>0.20</topWindExposure> </plant> </value> </Operation> <!-- Tree Base --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="TreeBase"]/plant</xpath> <value> <plant> <fertilityMin>0.5</fertilityMin> <fertilitySensitivity>0.8</fertilitySensitivity> <reproduceRadius>30</reproduceRadius> <soundHarvesting>Harvest_Tree</soundHarvesting> <soundHarvestFinish>Harvest_Tree_Finish</soundHarvestFinish> <sowWork>1500</sowWork> <harvestWork>800</harvestWork> <harvestedThingDef>WoodLog</harvestedThingDef> <harvestYield>50</harvestYield> <harvestTag>Wood</harvestTag> <harvestMinGrowth>0.40</harvestMinGrowth> <harvestFailable>false</harvestFailable> <blockAdjacentSow>true</blockAdjacentSow> <sowTags> <li>Ground</li> </sowTags> <visualSizeRange> <min>0.7</min> <max>2.8</max> </visualSizeRange> <topWindExposure>0.25</topWindExposure> <wildClusterSizeRange> <min>5</min> <max>30</max> </wildClusterSizeRange> <wildClusterRadius>8</wildClusterRadius> </plant> </value> </Operation> <!--============== Arid ==============--> <!-- Agave --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantAgave"]/plant</xpath> <value> <plant> <fertilitySensitivity>0.6</fertilitySensitivity> <growDays>3</growDays> <harvestTag>Standard</harvestTag> <harvestAfterGrowth>0.30</harvestAfterGrowth> <harvestedThingDef>RawAgave</harvestedThingDef> <harvestYield>10</harvestYield> <harvestWork>700</harvestWork> <fertilityMin>0.3</fertilityMin> <wildCommonalityMaxFraction>3.0</wildCommonalityMaxFraction> <visualSizeRange> <min>0.6</min> <max>1.2</max> </visualSizeRange> <topWindExposure>0.3</topWindExposure> <wildClusterSizeRange> <min>6</min> <max>10</max> </wildClusterSizeRange> <wildClusterRadius>4</wildClusterRadius> </plant> </value> </Operation> <!-- Pincushion Cactus --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantPincushionCactus"]/plant</xpath> <value> <plant> <fertilityMin>0.1</fertilityMin> <fertilitySensitivity>0</fertilitySensitivity> <growDays>2.5</growDays> <reproduceRadius>42</reproduceRadius> <wildCommonalityMaxFraction>3.0</wildCommonalityMaxFraction> <visualSizeRange> <min>0.30</min> <max>0.75</max> </visualSizeRange> <topWindExposure>0.0</topWindExposure> <wildClusterSizeRange> <min>2</min> <max>5</max> </wildClusterSizeRange> <wildClusterRadius>4</wildClusterRadius> <maxMeshCount>4</maxMeshCount> </plant> </value> </Operation> <!-- Saguaro --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantSaguaroCactus"]/plant</xpath> <value> <plant> <fertilityMin>0.1</fertilityMin> <fertilitySensitivity>0</fertilitySensitivity> <growDays>5</growDays> <reproduceRadius>42</reproduceRadius> <leaflessGraphicPath>Things/Plant/SaguaroCactus_Leafless</leaflessGraphicPath> <soundHarvesting>Harvest_Tree</soundHarvesting> <soundHarvestFinish>Harvest_Tree_Finish</soundHarvestFinish> <harvestWork>300</harvestWork> <harvestedThingDef>WoodLog</harvestedThingDef> <harvestTag>Wood</harvestTag> <harvestYield>10</harvestYield> <harvestMinGrowth>0.2</harvestMinGrowth> <harvestFailable>false</harvestFailable> <visualSizeRange> <min>1.2</min> <max>2.2</max> </visualSizeRange> <topWindExposure>0.08</topWindExposure> </plant> </value> </Operation> <!-- Drago Tree --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantTreeDrago"]/plant</xpath> <value> <plant> <growDays>15</growDays> <harvestWork>650</harvestWork> <harvestYield>25</harvestYield> <wildClusterSizeRange> <min>1</min> <max>4</max> </wildClusterSizeRange> <wildClusterRadius>6</wildClusterRadius> </plant> </value> </Operation>
Last edited by dninemfive; 23 Apr, 2018 @ 3:49pm
dninemfive 23 Apr, 2018 @ 3:50pm 
<!--============== General ==============--> <!-- Grass --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantGrass"]/plant</xpath> <value> <plant> <fertilityMin>0.1</fertilityMin> <fertilitySensitivity>0.4</fertilitySensitivity> <growDays>2.5</growDays> <leaflessGraphicPath>Things/Plant/Grass_Leafless</leaflessGraphicPath> <harvestWork>40</harvestWork> <maxMeshCount>9</maxMeshCount> <visualSizeRange> <min>0.4</min> <max>0.7</max> </visualSizeRange> <topWindExposure>0.4</topWindExposure> <reproduceMtbDays>2</reproduceMtbDays> </plant> </value> </Operation> <!-- Tall Grass --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantTallGrass"]/plant</xpath> <value> <plant> <fertilityMin>0.5</fertilityMin> <fertilitySensitivity>0.7</fertilitySensitivity> <growDays>3</growDays> <reproduceMtbDays>3</reproduceMtbDays> <harvestWork>60</harvestWork> <maxMeshCount>9</maxMeshCount> <visualSizeRange> <min>0.6</min> <max>0.9</max> </visualSizeRange> <topWindExposure>0.4</topWindExposure> <wildClusterSizeRange> <min>35</min> <max>40</max> </wildClusterSizeRange> <wildClusterRadius>4</wildClusterRadius> </plant> </value> </Operation> <!-- Brambles --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantBrambles"]/plant</xpath> <value> <plant> <fertilityMin>0.4</fertilityMin> <fertilitySensitivity>0.6</fertilitySensitivity> <growDays>3</growDays> <reproduceMtbDays>3</reproduceMtbDays> <harvestWork>60</harvestWork> <maxMeshCount>4</maxMeshCount> <leaflessGraphicPath>Things/Plant/Brambles_Leafless</leaflessGraphicPath> <visualSizeRange> <min>0.6</min> <max>0.9</max> </visualSizeRange> <topWindExposure>0.15</topWindExposure> <wildClusterSizeRange> <min>25</min> <max>35</max> </wildClusterSizeRange> <wildClusterRadius>4</wildClusterRadius> </plant> </value> </Operation> <!-- Wild Healroot --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantWildHealroot"]/plant</xpath> <value> <plant> <fertilitySensitivity>1.0</fertilitySensitivity> <growDays>6.5</growDays> <dieIfLeafless>false</dieIfLeafless> <harvestWork>400</harvestWork> <harvestTag>Standard</harvestTag> <harvestedThingDef>HerbalMedicine</harvestedThingDef> <harvestYield>1</harvestYield> <wildCommonalityMaxFraction>3.0</wildCommonalityMaxFraction> <wildClusterSizeRange> <min>2</min> <max>5</max> </wildClusterSizeRange> <wildClusterRadius>4</wildClusterRadius> <topWindExposure>0.1</topWindExposure> <visualSizeRange> <min>0.3</min> <max>1.0</max> </visualSizeRange> </plant> </value> </Operation> <!--============== Swamp ==============--> <!-- Willow --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantTreeWillow"]/plant</xpath> <value> <plant> <growDays>13</growDays> <leaflessGraphicPath>Things/Plant/TreeWillow_Leafless</leaflessGraphicPath> <harvestWork>800</harvestWork> <harvestYield>17</harvestYield> <wildClusterSizeRange><min>115</min><max>150</max></wildClusterSizeRange> <wildClusterRadius>17</wildClusterRadius> <visualSizeRange> <min>1.1</min> <max>1.95</max> </visualSizeRange> </plant> </value> </Operation> <!-- Cypress --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantTreeCypress"]/plant</xpath> <value> <plant> <growDays>35</growDays> <leaflessGraphicPath>Things/Plant/TreeCypress_Leafless</leaflessGraphicPath> <harvestWork>2200</harvestWork> <harvestYield>43</harvestYield> <wildClusterSizeRange><min>115</min><max>150</max></wildClusterSizeRange> <wildClusterRadius>17</wildClusterRadius> <visualSizeRange> <min>1.5</min> <max>2.3</max> </visualSizeRange> </plant> </value> </Operation> <!-- Maple --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantTreeMaple"]/plant</xpath> <value> <plant> <growDays>25</growDays> <leaflessGraphicPath>Things/Plant/TreeMaple_Leafless</leaflessGraphicPath> <harvestWork>700</harvestWork> <harvestYield>25</harvestYield> <wildClusterSizeRange> <min>115</min> <max>150</max> </wildClusterSizeRange> <wildClusterRadius>17</wildClusterRadius> </plant> </value> </Operation> <!-- Chokevine --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantChokevine"]/plant</xpath> <value> <plant> <fertilityMin>0.4</fertilityMin> <fertilitySensitivity>0.6</fertilitySensitivity> <growDays>5</growDays> <reproduceMtbDays>4</reproduceMtbDays> <harvestWork>150</harvestWork> <maxMeshCount>4</maxMeshCount> <leaflessGraphicPath>Things/Plant/Chokevine_Leafless</leaflessGraphicPath> <visualSizeRange> <min>0.78</min> <max>0.88</max> </visualSizeRange> <topWindExposure>0.16</topWindExposure> <wildClusterSizeRange> <min>45</min> <max>65</max> </wildClusterSizeRange> <wildClusterRadius>6</wildClusterRadius> </plant> </value> </Operation> <!--============== Temperate ==============--> <!-- Dandelion --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantDandelion"]/plant</xpath> <value> <plant> <fertilityMin>0.05</fertilityMin> <fertilitySensitivity>0.05</fertilitySensitivity> <growDays>2.5</growDays> <sowTags> <li>Ground</li> </sowTags> <fertilityMin>0.05</fertilityMin> <maxMeshCount>25</maxMeshCount> <visualSizeRange> <min>0.3</min> <max>0.5</max> </visualSizeRange> <topWindExposure>0.3</topWindExposure> <reproduceMtbDays>3</reproduceMtbDays> <wildClusterSizeRange> <min>6</min> <max>8</max> </wildClusterSizeRange> <wildClusterRadius>4</wildClusterRadius> </plant> </value> </Operation> <!-- Astragalus --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantAstragalus"]/plant</xpath> <value> <plant> <fertilityMin>0.05</fertilityMin> <fertilitySensitivity>0.05</fertilitySensitivity> <growDays>2.5</growDays> <maxMeshCount>25</maxMeshCount> <visualSizeRange> <min>0.3</min> <max>0.5</max> </visualSizeRange> <topWindExposure>0.3</topWindExposure> <reproduceMtbDays>5</reproduceMtbDays> <wildClusterSizeRange> <min>2</min> <max>6</max> </wildClusterSizeRange> <wildClusterRadius>4</wildClusterRadius> </plant> </value> </Operation> <!-- Moss --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantMoss"]/plant</xpath> <value> <plant> <fertilityMin>0.05</fertilityMin> <fertilitySensitivity>00.05</fertilitySensitivity> <growDays>7.5</growDays> <leaflessGraphicPath>Things/Plant/Moss_Leafless</leaflessGraphicPath> <harvestWork>60</harvestWork> <maxMeshCount>9</maxMeshCount> <visualSizeRange> <min>0.3</min> <max>0.7</max> </visualSizeRange> <topWindExposure>0.0</topWindExposure> </plant> </value> </Operation> <!-- Raspberry --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantRaspberry"]/plant</xpath> <value> <plant> <fertilityMin>0.5</fertilityMin> <fertilitySensitivity>0.6</fertilitySensitivity> <growDays>3</growDays> <leaflessGraphicPath>Things/Plant/Bush_Leafless</leaflessGraphicPath> <immatureGraphicPath>Things/Plant/RaspberryImmature</immatureGraphicPath> <harvestYield>10</harvestYield> <harvestWork>400</harvestWork> <harvestTag>Standard</harvestTag> <harvestAfterGrowth>0.30</harvestAfterGrowth> <harvestedThingDef>RawBerries</harvestedThingDef> <wildCommonalityMaxFraction>3.0</wildCommonalityMaxFraction> <wildClusterSizeRange> <min>6</min> <max>11</max> </wildClusterSizeRange> <wildClusterRadius>3.6</wildClusterRadius> <visualSizeRange> <min>0.6</min> <max>1.3</max> </visualSizeRange> <topWindExposure>0.3</topWindExposure> </plant> </value> </Operation> <!-- Low Shrub --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantShrubLow"]/plant</xpath> <value> <plant> <fertilityMin>0.5</fertilityMin> <fertilitySensitivity>0.8</fertilitySensitivity> <growDays>3</growDays> <reproduceMtbDays>3</reproduceMtbDays> <harvestWork>60</harvestWork> <maxMeshCount>4</maxMeshCount> <visualSizeRange> <min>0.75</min> <max>1.25</max> </visualSizeRange> <topWindExposure>0.2</topWindExposure> <wildClusterSizeRange> <min>15</min> <max>22</max> </wildClusterSizeRange> <wildClusterRadius>3</wildClusterRadius> </plant> </value> </Operation> <!-- Alocasia --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantAlocasia"]/plant</xpath> <value> <plant> <leaflessGraphicPath>Things/Plant/Alocasia_Leafless</leaflessGraphicPath> <wildClusterSizeRange> <min>6</min> <max>9</max> </wildClusterSizeRange> <wildClusterRadius>4</wildClusterRadius> </plant> </value> </Operation> <!-- Clivia --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantClivia"]/plant</xpath> <value> <plant> <wildClusterSizeRange> <min>1</min> <max>5</max> </wildClusterSizeRange> <wildClusterRadius>3</wildClusterRadius> </plant> </value> </Operation> <!-- Teak --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantTreeTeak"]/plant</xpath> <value> <plant> <growDays>32.5</growDays> <leaflessGraphicPath>Things/Plant/TreeOak_Leafless</leaflessGraphicPath> <harvestWork>1200</harvestWork> <harvestYield>54</harvestYield> <visualSizeRange> <min>1.3</min> <max>2.4</max> </visualSizeRange> </plant> </value> </Operation> <!-- Cecropia --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantTreeCecropia"]/plant</xpath> <value> <plant> <growDays>14</growDays> <harvestWork>550</harvestWork> <harvestYield>18</harvestYield> <wildClusterSizeRange> <min>8</min> <max>14</max> </wildClusterSizeRange> <wildClusterRadius>10</wildClusterRadius> </plant> </value> </Operation> <!-- Palm --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantTreePalm"]/plant</xpath> <value> <plant> <growDays>14</growDays> <harvestWork>550</harvestWork> <harvestYield>18</harvestYield> <wildClusterSizeRange> <min>8</min> <max>14</max> </wildClusterSizeRange> <wildClusterRadius>10</wildClusterRadius> </plant> </value> </Operation> <!-- Bamboo --> <Operation Class="PatchOperationReplace"> <xpath>*/Defs/ThingDef[defName="PlantTreeBamboo"]/plant</xpath> <value> <plant> <growDays>12</growDays> <harvestWork>500</harvestWork> <harvestYield>13</harvestYield> <wildClusterSizeRange> <min>15</min> <max>30</max> </wildClusterSizeRange> <wildClusterRadius>5</wildClusterRadius> </plant> </value> </Operation> </Patch>
< >
Showing 1-2 of 2 comments
Per page: 1530 50