rjw_menstruation/1.4/Patches/Biosculpter_Patch.xml

24 lines
919 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Ideology</li>
</mods>
<match Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="BiosculpterPod"]/comps</xpath>
<value>
<li Class="RJW_Menstruation.CompProperties_BiosculpterPod_EggRestorationCycle">
<key>eggRestoration</key>
<label>egg restoration</label>
<description>Restore one year worth of eggs in each womb.</description>
<iconPath>UI/Icon/EggRegeneration</iconPath>
<durationDays>4</durationDays>
<!--Apparently the game is hardcoded to give the age reversal thought to anything with gainThoughtOnCompletion-->
<!--<gainThoughtOnCompletion>EggRestorationReceived</gainThoughtOnCompletion>-->
<operatingColor>(0.867, 0.373, 0.396)</operatingColor>
<yearsToRestore>1.0</yearsToRestore>
</li>
</value>
</match>
</Operation>
</Patch>