Skip to content

Commit

Permalink
v2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
XeoNovaDan committed Oct 6, 2019
1 parent 241a8b6 commit 2f12f71
Show file tree
Hide file tree
Showing 96 changed files with 73 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<!-- Pants and Flak Pants -->

<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
Expand All @@ -16,7 +18,7 @@
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="Apparel_Pants" or defName="Apparel_FlakPants"]/apparel</xpath>
<value>
<wornGraphicPath>Things/Pawn/Humanlike/Apparel/Pants/Pants</wornGraphicPath>
<wornGraphicPath>Core/Things/Pawn/Humanlike/Apparel/Pants/Pants</wornGraphicPath>
</value>
</Operation>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Apparel Expanded</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

<!-- All relevant apparel -->
<li Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationTest">
<xpath>/Defs/ThingDef[defName="VAE_Apparel_Jeans" or defName="VAE_Apparel_Shorts" or defName="VAE_Apparel_Skirt" or defName="VAE_Apparel_Trousers"]/apparel/wornGraphicPath</xpath>
</li>
<li Class="PatchOperationRemove">
<xpath>/Defs/ThingDef[defName="VAE_Apparel_Jeans" or defName="VAE_Apparel_Shorts" or defName="VAE_Apparel_Skirt" or defName="VAE_Apparel_Trousers"]/apparel/wornGraphicPath</xpath>
</li>
</operations>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/ThingDef[defName="VAE_Apparel_Jeans" or defName="VAE_Apparel_Shorts" or defName="VAE_Apparel_Skirt" or defName="VAE_Apparel_Trousers"]</xpath>
<value>
<li Class="VisiblePants.ThingDefExtension"/>
</value>
</li>

<!-- Jeans -->
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="VAE_Apparel_Jeans"]/apparel</xpath>
<value>
<wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Jeans/Jeans</wornGraphicPath>
</value>
</li>

<!-- Shorts -->
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="VAE_Apparel_Shorts"]/apparel</xpath>
<value>
<wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Shorts/Shorts</wornGraphicPath>
</value>
</li>

<!-- Skirt -->
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="VAE_Apparel_Skirt"]/apparel</xpath>
<value>
<wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Skirt/Skirt</wornGraphicPath>
</value>
</li>

<!-- Trousers -->
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="VAE_Apparel_Trousers"]/apparel</xpath>
<value>
<wornGraphicPath>VanillaApparelExpanded/Things/Pawn/Humanlike/Apparel/Trousers/Trousers</wornGraphicPath>
</value>
</li>

</operations>
</match>
</Operation>

</Patch>
2 changes: 1 addition & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
<supportedVersions>
<li>1.0</li>
</supportedVersions>
<description>A mod that allows you to see everybody's trousers - for that complete feel. Taken from Vindar's Medieval Times mod with permission.</description>
<description>A mod that allows you to see everybody's trousers, for that complete feel!</description>
</ModMetaData>
2 changes: 1 addition & 1 deletion About/Manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<identifier>VisiblePants</identifier>
<manifestUri>https://cdn.jsdelivr.net/gh/XeoNovaDan/VisiblePants/About/Manifest.xml</manifestUri>
<downloadUri>https://github.com/XeoNovaDan/VisiblePants/releases</downloadUri>
<version>2.2</version>
<version>2.3</version>
</Manifest>
14 changes: 0 additions & 14 deletions About/ModSync.xml

This file was deleted.

2 changes: 1 addition & 1 deletion Source/visible-pants.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"path": "E:\\Documents\\GitHub\\VisiblePants"
},
{
"path": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\RimWorld\\Mods\\Core"
"path": "E:\\Program Files (x86)\\Steam\\steamapps\\common\\RimWorld\\Mods\\__LocalCopy_Vanilla_Apparel_Expanded_-6-10"
}
],
"settings": {}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

0 comments on commit 2f12f71

Please sign in to comment.