mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
Added conditionals to race patches
This commit is contained in:
parent
8204a5698b
commit
a9acb2bd62
2 changed files with 18 additions and 14 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue