Compare commits

..

2 commits

Author SHA1 Message Date
Salacian
8e08612de3 Merge branch 'non-selectable-anims' into 'master'
Added a way to make custom animation not selectable

See merge request c0ffeeeeeeee/rimworld-animations!9
2023-04-11 20:58:14 +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>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>/Defs/AlienRace.ThingDef_AlienRace[defName = "Alien_Epona"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Epona_OHPG_female="Things/Pawn/Addons/Breasts/Breasts"]/drawnInBed</xpath>
<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>
<match Class="PatchOperationReplace">
<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>
<drawnInBed>false</drawnInBed>
</value>
</match>
</li>
</operations>
</match>
</Operation>
</Patch>

View file

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