This commit is contained in:
Tory 2022-06-07 01:16:53 -07:00
parent 3901d11a3b
commit 6b3e6e55d1
4 changed files with 140 additions and 134 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<version>2.2.14</version>
<version>2.2.14.1</version>
<manifestUri>https://gitgud.io/Tory/rimnude-unofficial/-/raw/master/About/Manifest.xml</manifestUri>
<downloadUri>https://gitgud.io/Tory/rimnude-unofficial/</downloadUri>
</Manifest>

View file

@ -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>

View file

@ -1380,6 +1380,7 @@
<inFrontOfBody>true</inFrontOfBody>
<drawnInBed>false</drawnInBed>
<colorChannel>base</colorChannel>
<debug>false</debug>
<hediffGraphics>
<RJW_Cocoon>Cocoon/Cocoon</RJW_Cocoon>
</hediffGraphics>
@ -1418,5 +1419,13 @@
</li>
</value>
</Operation>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Ab Patches</li>
</mods>
<match Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Human"]/alienRace/generalSettings/alienPartGenerator/bodyAddons/li[path="Cocoon/NoCocoon"]</xpath>
</match>
</Operation>
</Patch>

View file

@ -1,4 +1,8 @@
ver 2.2.13.7 Unofficial
ver 2.2.14.1 Unofficial
- Updated Offset Patch Aliens, reworked it. Shouldn't cause duplicate layeroffsets for 1.3 specific rimnude patches anymore
- Added operation to remove cocoon graphics if ab patches is enabled
ver 2.2.14 Unofficial
- Updated Human patch, added null belly texture for 1/3 severity of pregnancy
- Integrated Malistaticy's Cocoon hediff graphics mod
- Nude Patches Added
@ -10,7 +14,7 @@ ver 2.2.13.7 Unofficial
Miho (CnArmor)
- Textures Added
Cocoon (Malistaticy)
Miho (CnArmor)
Maru (CnArmor)
Miho (CnArmor)
ver 2.2.13.6 Unofficial