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

More trait patching.

parent 0ed95b3f
No related branches found
No related tags found
No related merge requests found
...@@ -4,20 +4,28 @@ ...@@ -4,20 +4,28 @@
<success>Always</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationTest"> <li Class="PatchOperationTest">
<xpath>Defs/TraitDef[defName="Prude"]</xpath> <xpath>Defs/TraitDef[defName="Prude"]</xpath>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defname="Nymphomaniac"]/conflictingTraits</xpath> <xpath>Defs/TraitDef[defName="Nymphomaniac"]/conflictingTraits</xpath>
<value> <value>
<li>Prude</li> <li>Prude</li>
</value> </value>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defname="Prude"]/conflictingTraits</xpath> <xpath>Defs/TraitDef[defName="Prude"]/conflictingTraits</xpath>
<value> <value>
<li>Nymphomaniac</li> <li>Nymphomaniac</li>
</value> </value>
</li> </li>
<li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defName="Prude"]/degreeDatas/li</xpath>
<value>
<statOffsets>
<SexFrequency>-0.3</SexFrequency>
</statOffsets>
</value>
</li>
</operations> </operations>
</Operation> </Operation>
...@@ -25,16 +33,16 @@ ...@@ -25,16 +33,16 @@
<success>Always</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationTest"> <li Class="PatchOperationTest">
<xpath>Defs/TraitDef[defName="Faithful"]</xpath> <xpath>Defs/TraitDef[defName="Faithful"]</xpath>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defname="Nymphomaniac"]/conflictingTraits</xpath> <xpath>Defs/TraitDef[defName="Nymphomaniac"]/conflictingTraits</xpath>
<value> <value>
<li>Faithful</li> <li>Faithful</li>
</value> </value>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defname="Faithful"]/conflictingTraits</xpath> <xpath>Defs/TraitDef[defName="Faithful"]/conflictingTraits</xpath>
<value> <value>
<li>Nymphomaniac</li> <li>Nymphomaniac</li>
</value> </value>
...@@ -42,38 +50,63 @@ ...@@ -42,38 +50,63 @@
</operations> </operations>
</Operation> </Operation>
<Operation Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defName="Nimble"]/degreeDatas/li/statOffsets</xpath>
<value>
<SexAbility>0.2</SexAbility>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defName="Ascetic"]/degreeDatas/li</xpath>
<value>
<statOffsets>
<SexFrequency>-0.3</SexFrequency>
</statOffsets>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defName="BodyPurist"]/degreeDatas/li</xpath>
<value>
<statOffsets>
<SexFrequency>-0.1</SexFrequency>
</statOffsets>
</value>
</Operation>
<Operation Class="PatchOperationSequence"> <Operation Class="PatchOperationSequence">
<success>Always</success> <success>Always</success>
<operations> <operations>
<li Class="PatchOperationTest"> <li Class="PatchOperationTest">
<xpath>Defs/TraitDef[defName="Asexual"]</xpath> <xpath>Defs/TraitDef[defName="Asexual"]</xpath>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defname="Necrophiliac"]/conflictingTraits</xpath> <xpath>Defs/TraitDef[defName="Necrophiliac"]/conflictingTraits</xpath>
<value> <value>
<li>Asexual</li> <li>Asexual</li>
</value> </value>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defname="Nymphomaniac"]/conflictingTraits</xpath> <xpath>Defs/TraitDef[defName="Nymphomaniac"]/conflictingTraits</xpath>
<value> <value>
<li>Asexual</li> <li>Asexual</li>
</value> </value>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defname="Rapist"]/conflictingTraits</xpath> <xpath>Defs/TraitDef[defName="Rapist"]/conflictingTraits</xpath>
<value> <value>
<li>Asexual</li> <li>Asexual</li>
</value> </value>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defname="Zoophile"]/conflictingTraits</xpath> <xpath>Defs/TraitDef[defName="Zoophile"]/conflictingTraits</xpath>
<value> <value>
<li>Asexual</li> <li>Asexual</li>
</value> </value>
</li> </li>
<li Class="PatchOperationAdd"> <li Class="PatchOperationAdd">
<xpath>Defs/TraitDef[defname="Asexual"]/conflictingTraits</xpath> <xpath>Defs/TraitDef[defName="Asexual"]/conflictingTraits</xpath>
<value> <value>
<li>Necrophiliac</li> <li>Necrophiliac</li>
<li>Nymphomaniac</li> <li>Nymphomaniac</li>
......
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