边缘世界 RimWorld

边缘世界 RimWorld

SF Flowers Beauty Equality
Dizzy Ioeuy 2022 年 12 月 27 日 下午 5:29
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>
最后由 Dizzy Ioeuy 编辑于; 2022 年 12 月 27 日 下午 5:31
< >
正在显示第 1 - 2 条,共 2 条留言
Dizzy Ioeuy 2022 年 12 月 27 日 下午 5:30 
Oh sorry it's so ugly- tabs didn't get preserved, but NP++ can fix all that if you like.
Karmapowered 2023 年 6 月 16 日 上午 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.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50