Compare commits

..

1 commit

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

See merge request c0ffeeeeeeee/rimworld-animations!9
2023-02-21 00:29:24 +00:00
2 changed files with 14 additions and 18 deletions

View file

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

View file

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