RimWorld

RimWorld

SF Flowers Beauty Equality
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>
Senast ändrad av Dizzy Ioeuy; 27 dec, 2022 @ 17:31
< >
Visar 1-2 av 2 kommentarer
Dizzy Ioeuy 27 dec, 2022 @ 17:30 
Oh sorry it's so ugly- tabs didn't get preserved, but NP++ can fix all that if you like.
Karmapowered 16 jun, 2023 @ 5:22 
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.
< >
Visar 1-2 av 2 kommentarer
Per sida: 1530 50