RimWorld

RimWorld

SF Flowers Beauty Equality
Dizzy Ioeuy Dec 27, 2022 @ 5:29pm
Here's the ReGrowth Patch if you want it.
Interestingly his flowers are NOT tagged as decor so can only be grown in the ground, but I often have strips of ground inside my bases where I grow flowers, and so wanted these equalized- point being I did not add the lifetime change as he didn't include that attribute- would simply need to call an ADD function with that, but I'm ok with whatever lifespans.

<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>ReGrowth: Temperate</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_BlueDandelion" or defName="RG_Plant_RedDandelion" or defName="RG_Plant_Cathedralis"]/statBases/Beauty/text()</xpath>
<value>18</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_BlueDandelion" or defName="RG_Plant_RedDandelion" or defName="RG_Plant_Cathedralis"]/plant/growDays/text()</xpath>
<value>2</value>
</li>
<!-- <li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_BlueDandelion" or defName="RG_Plant_RedDandelion" or defName="RG_Plant_Cathedralis"]/plant/lifespanDaysPerGrowDays/text()</xpath>
<value>30</value>
</li> -->
</operations>
</match>
</Operation>


<Operation Class="PatchOperationFindMod">
<mods>
<li>ReGrowth: Tundra</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_TundraCotton" or defName="RG_Plant_Saxifraga" or defName="RG_Plant_LupineIceland"]/statBases/Beauty/text()</xpath>
<value>18</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_TundraCotton" or defName="RG_Plant_Saxifraga" or defName="RG_Plant_LupineIceland"]/plant/growDays/text()</xpath>
<value>2</value>
</li>
<!-- <li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_TundraCotton" or defName="RG_Plant_Saxifraga" or defName="RG_Plant_LupineIceland"]/plant/lifespanDaysPerGrowDays/text()</xpath>
<value>30</value>
</li> -->
</operations>
</match>
</Operation>

<Operation Class="PatchOperationFindMod">
<mods>
<li>ReGrowth: Boreal</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_Coldheart" or defName="RG_Plant_TigerLily"]/statBases/Beauty/text()</xpath>
<value>18</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_Coldheart" or defName="RG_Plant_TigerLily"]/plant/growDays/text()</xpath>
<value>2</value>
</li>
<!-- <li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_Coldheart" or defName="RG_Plant_TigerLily"]/plant/lifespanDaysPerGrowDays/text()</xpath>
<value>30</value>
</li> -->
</operations>
</match>
</Operation>

<Operation Class="PatchOperationFindMod">
<mods>
<li>ReGrowth: Aspen</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_Deathbell" or defName="RG_Plant_RedMountainFlower"]/statBases/Beauty/text()</xpath>
<value>18</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_Deathbell" or defName="RG_Plant_RedMountainFlower"]/plant/growDays/text()</xpath>
<value>2</value>
</li>
<!-- <li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_Deathbell" or defName="RG_Plant_RedMountainFlower"]/plant/lifespanDaysPerGrowDays/text()</xpath>
<value>30</value>
</li> -->
</operations>
</match>
</Operation>

<Operation Class="PatchOperationFindMod">
<mods>
<li>ReGrowth: Swamp</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_Dervish"]/statBases/Beauty/text()</xpath>
<value>18</value>
</li>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_Dervish"]/plant/growDays/text()</xpath>
<value>2</value>
</li>
<!-- <li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "RG_Plant_Dervish"]/plant/lifespanDaysPerGrowDays/text()</xpath>
<value>30</value>
</li> -->
</operations>
</match>
</Operation>


</Patch>
Last edited by Dizzy Ioeuy; Dec 27, 2022 @ 5:31pm
< >
Showing 1-2 of 2 comments
Dizzy Ioeuy Dec 27, 2022 @ 5:30pm 
Oh sorry it's so ugly- tabs didn't get preserved, but NP++ can fix all that if you like.
Karmapowered Jun 16, 2023 @ 5:22am 
Thank you for the useful patch.

It would nice to add this one to the main mod please, since "Regrowth" has probably become the most popular biomes mod by now, if time allows.
< >
Showing 1-2 of 2 comments
Per page: 1530 50