Skip to content
Snippets Groups Projects
Commit 7c872fbc authored by Zaltys's avatar Zaltys :snake:
Browse files

Obsolete.

parent 15b020f9
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<!-- Generate a HediffGiver for the dummy hediff, then inject it into the OrganicStandard HediffGiverSet;this replace the inject_sexualizer() in First.cs -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/HediffGiverSetDef[defName = "OrganicStandard" or "OrganicAgeless"]/hediffGivers</xpath>
<value>
<li Class="HediffGiver_Birthday">
<hediff>DummyPrivates</hediff>
<partsToAffect>
<li>Genitals</li>
</partsToAffect>
<canAffectAnyLivePart>false</canAffectAnyLivePart>
<ageFractionChanceCurve>
<points>
<li>(0.00, 1.00)</li>
<!-- Every birthday will give the pawns a DummyPrivates hediff used to check their privates and generate stds to their health if they are human. The DummyPrivates won't result in sexualization if the pawns have already been sexualized once.
<li>(0.05, 1.00)</li>
<li>(0.06, 0.00)</li>
<li>(1.00, 0.00)</li>-->
</points>
</ageFractionChanceCurve>
<averageSeverityPerDayBeforeGeneration>0.00</averageSeverityPerDayBeforeGeneration>
</li>
</value>
</Operation>
<!-- This adds HediffGiverSets to modded pawns so that they would spawn with privates, if their BodyDefs have been patched successfully, without reloading the save-->
<!-- Note:It's essential that you load the mod you want to patch before RJW.-->
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>Defs/ThingDef[thingClass = "AIPawn.AIPawn"]</xpath>
<success>Invert</success>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[thingClass = "AIPawn.AIPawn"]/race</xpath>
<value>
<hediffGiverSets>
<li>DummyPrivatesForModdedPawnsOnBirthday</li>
</hediffGiverSets>
</value>
</li>
</operations>
</Operation>
</Patch>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment