mirror of
https://gitgud.io/Tory/rimnude-unofficial.git
synced 2024-08-15 00:03:30 +00:00
2.2.14.1
This commit is contained in:
parent
3901d11a3b
commit
6b3e6e55d1
4 changed files with 140 additions and 134 deletions
|
@ -1,169 +1,162 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Patch>
|
||||
<Operation Class="PatchOperationConditional"><!--looks for a race that is using a rimnude addon-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/FeaturelessCrotch"]</xpath>
|
||||
<Operation Class="PatchOperationConditional"><!--looks for a race that is using a rimnude addon with outdated offset node-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/FeaturelessCrotch"][layerOffset]</xpath>
|
||||
<match Class="PatchOperationSequence"><!--found at least one race that is using rimnude addons-->
|
||||
<operations>
|
||||
<li Class="PatchOperationConditional"><!--checks if the races uses out of date offset node-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[layerOffset]</xpath>
|
||||
<li Class="PatchOperationReplace"><!--Race patch was not made for 1.3. Fixes all x,y offsets and removes outdated layerOffset-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[
|
||||
hediffGraphics/Penis or
|
||||
hediffGraphics/Vagina or
|
||||
hediffGraphics/CatVagina="Genitals/Pubes/Pubes4" or
|
||||
hediffGraphics/Breasts or
|
||||
hediffGraphics/RJW_pregnancy]/layerOffset</xpath>
|
||||
<value>
|
||||
<defaultOffset>Tail</defaultOffset>
|
||||
</value>
|
||||
</li>
|
||||
<!--<li Class="PatchOperationRemove">removes outdated layeroffset node
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li/layerOffset</xpath>
|
||||
</li>-->
|
||||
<!--==================Z Layer offsets==================-->
|
||||
<!--penises-->
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Penis][path="Genitals/FeaturelessCrotch"]/offsets/south[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Penis][path="Genitals/FeaturelessCrotch"]/offsets/north[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.291</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Penis][path="Genitals/FeaturelessCrotch"]/offsets/east[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<!--vaginas-->
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Vagina]/offsets/south[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Vagina]/offsets/north[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Vagina]/offsets/east[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<!--pubes-->
|
||||
<li Class="PatchOperationConditional"><!--checks if the races uses pubes addon-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/CatVagina="Genitals/Pubes/Pubes4"]</xpath>
|
||||
<match Class="PatchOperationSequence"><!--at least one does-->
|
||||
<operations>
|
||||
<li Class="PatchOperationReplace"><!--Race patch was not made for 1.3. Fixes all x,y offsets and removes outdated layerOffset-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[
|
||||
hediffGraphics/Penis or
|
||||
hediffGraphics/Vagina or
|
||||
hediffGraphics/CatVagina="Genitals/Pubes/Pubes4" or
|
||||
hediffGraphics/Breasts or
|
||||
hediffGraphics/RJW_pregnancy]/layerOffset</xpath>
|
||||
<value>
|
||||
<defaultOffset>Tail</defaultOffset>
|
||||
</value>
|
||||
</li>
|
||||
<!--<li Class="PatchOperationRemove">removes outdated layeroffset node
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li/layerOffset</xpath>
|
||||
</li>-->
|
||||
<!--==================Z Layer offsets==================-->
|
||||
<!--penises-->
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Penis][path="Genitals/FeaturelessCrotch"]/offsets/south</xpath>
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/CatVagina="Genitals/Pubes/Pubes4"]/offsets/south[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.2763</layerOffset>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/CatVagina="Genitals/Pubes/Pubes4"]/offsets/north[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.291</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/CatVagina="Genitals/Pubes/Pubes4"]/offsets/east[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
</operations>
|
||||
</match>
|
||||
</li>
|
||||
<!--breasts-->
|
||||
<li Class="PatchOperationConditional"><!--checks if the races uses breasts addon-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Breasts]</xpath>
|
||||
<match Class="PatchOperationSequence"><!--at least one does-->
|
||||
<operations>
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Breasts]/offsets/south[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Penis][path="Genitals/FeaturelessCrotch"]/offsets/north</xpath>
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Breasts]/offsets/north[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.291</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Penis][path="Genitals/FeaturelessCrotch"]/offsets/east</xpath>
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Breasts]/offsets/east[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.2763</layerOffset>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<!--vaginas-->
|
||||
</operations>
|
||||
</match>
|
||||
</li>
|
||||
<!--balls-->
|
||||
<li Class="PatchOperationConditional"><!--checks if the races uses balls addon-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/Testicles/FeaturelessTesticles"]</xpath>
|
||||
<match Class="PatchOperationSequence"><!--at least one does-->
|
||||
<operations>
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Vagina]/offsets/south</xpath>
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/Testicles/FeaturelessTesticles"]/offsets/south[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Vagina]/offsets/north</xpath>
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/Testicles/FeaturelessTesticles"]/offsets/north[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
<layerOffset>-0.291</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Vagina]/offsets/east</xpath>
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/Testicles/FeaturelessTesticles"]/offsets/east[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<!--pubes-->
|
||||
<li Class="PatchOperationConditional"><!--checks if the races uses pubes addon-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/CatVagina="Genitals/Pubes/Pubes4"]</xpath>
|
||||
<match Class="PatchOperationSequence"><!--at least one does-->
|
||||
<operations>
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/CatVagina="Genitals/Pubes/Pubes4"]/offsets/south</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.288</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/CatVagina="Genitals/Pubes/Pubes4"]/offsets/north</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.291</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/CatVagina="Genitals/Pubes/Pubes4"]/offsets/east</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.288</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
</operations>
|
||||
</match>
|
||||
</operations>
|
||||
</match>
|
||||
</li>
|
||||
<!--bellies-->
|
||||
<li Class="PatchOperationConditional"><!--checks if the races uses bellies addon-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]</xpath>
|
||||
<match Class="PatchOperationSequence"><!--at least one does-->
|
||||
<operations>
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]/offsets/south[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<!--breasts-->
|
||||
<li Class="PatchOperationConditional"><!--checks if the races uses breasts addon-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Breasts]</xpath>
|
||||
<match Class="PatchOperationSequence"><!--at least one does-->
|
||||
<operations>
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Breasts]/offsets/south</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.2765</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Breasts]/offsets/north</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.291</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/Breasts]/offsets/east</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.2765</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
</operations>
|
||||
</match>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]/offsets/north[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.291</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<!--balls-->
|
||||
<li Class="PatchOperationConditional"><!--checks if the races uses balls addon-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/Testicles/FeaturelessTesticles"]</xpath>
|
||||
<match Class="PatchOperationSequence"><!--at least one does-->
|
||||
<operations>
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/Testicles/FeaturelessTesticles"]/offsets/south</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.2764</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/Testicles/FeaturelessTesticles"]/offsets/north</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.291</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Genitals/Testicles/FeaturelessTesticles"]/offsets/east</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.2764</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
</operations>
|
||||
</match>
|
||||
</li>
|
||||
<!--bellies-->
|
||||
<li Class="PatchOperationConditional"><!--checks if the races uses bellies addon-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]</xpath>
|
||||
<match Class="PatchOperationSequence"><!--at least one does-->
|
||||
<operations>
|
||||
<li Class="PatchOperationAdd"><!--south-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]/offsets/south</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.28</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--north-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]/offsets/north</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.291</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]/offsets/east</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.28</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
</operations>
|
||||
</match>
|
||||
<li Class="PatchOperationAdd"><!--east-->
|
||||
<xpath>Defs/AlienRace.ThingDef_AlienRace/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[hediffGraphics/RJW_pregnancy]/offsets/east[not(layerOffset)]</xpath>
|
||||
<value>
|
||||
<layerOffset>-0.289</layerOffset>
|
||||
</value>
|
||||
</li>
|
||||
</operations>
|
||||
</match>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue