Compare commits

..

2 commits

Author SHA1 Message Date
Taleir
1291b98b41 Merge branch 'har-patch-fix' into 'master'
Attempts to get the `DrawAddonsFinalHook` patch working.

See merge request c0ffeeeeeeee/rimworld-animations!10
2023-04-09 17:56:01 +00:00
Tory
a9acb2bd62 Added conditionals to race patches 2023-04-08 11:03:29 +00:00
2 changed files with 18 additions and 14 deletions

View file

@ -6,14 +6,16 @@
</mods> </mods>
<match Class="PatchOperationSequence"> <match Class="PatchOperationSequence">
<operations> <operations>
<li Class="PatchOperationReplace"> <li Class="PatchOperationConditional">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName = "Alien_Epona"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Epona_OHPG_female="Things/Pawn/Addons/Breasts/Breasts"]/drawnInBed</xpath> <xpath>Defs/AlienRace.ThingDef_AlienRace[defName = "Alien_Epona"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Epona_OHPG_female="Things/Pawn/Addons/Breasts/Breasts"]/drawnInBed</xpath>
<value> <match Class="PatchOperationReplace">
<drawnInBed>false</drawnInBed> <xpath>Defs/AlienRace.ThingDef_AlienRace[defName = "Alien_Epona"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Epona_OHPG_female="Things/Pawn/Addons/Breasts/Breasts"]/drawnInBed</xpath>
</value> <value>
<drawnInBed>false</drawnInBed>
</value>
</match>
</li> </li>
</operations> </operations>
</match> </match>
</Operation> </Operation>
</Patch> </Patch>

View file

@ -6,14 +6,16 @@
</mods> </mods>
<match Class="PatchOperationSequence"> <match Class="PatchOperationSequence">
<operations> <operations>
<li Class="PatchOperationAdd"> <li Class="PatchOperationConditional">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName = "Alien_Nyaron"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPart="tail"]</xpath> <xpath>Defs/AlienRace.ThingDef_AlienRace[defName = "Alien_Nyaron"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPart="tail"]</xpath>
<value> <match Class="PatchOperationAdd">
<drawnInBed>false</drawnInBed> <xpath>/Defs/AlienRace.ThingDef_AlienRace[defName = "Alien_Nyaron"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[bodyPart="tail"]</xpath>
</value> <value>
<drawnInBed>false</drawnInBed>
</value>
</match>
</li> </li>
</operations> </operations>
</match> </match>
</Operation> </Operation>
</Patch> </Patch>