Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@
<li IfModActive="Rimsenal.Askbarn">ModPatches/Rimsenal Xenotype Pack - Askbarn</li>
<li IfModActive="Rimsenal.Harana">ModPatches/Rimsenal Xenotype Pack - Harana</li>
<li IfModActive="Rimsenal.Zohar">ModPatches/Rimsenal Xenotype Pack - Zohar</li>
<li IfModActive="jtc.aosgitz">ModPatches/Rimspite Gitz Loonclans</li>
<li IfModActive="SirMashedPotato.DarkDescent">ModPatches/Rimworld - The Dark Descent</li>
<li IfModActive="Mlie.RRUESContactLightArmory">ModPatches/Risk of Rain UES Contact Light Armory</li>
<li IfModActive="Ghastly.RoboticServitude">ModPatches/Robotic Servitude</li>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- ==================== JTC_BasicSquig ==================== -->

<!-- ========== Add groups entry if it doesn't exist already ========== -->

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Tail"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Tail"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/parts/li[def="AnimalJaw"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/parts/li[def="AnimalJaw"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]/parts/li[def="Paw"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]/parts/li[def="Paw"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]/parts/li[customLabel="left claw"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]/parts/li[customLabel="left claw"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]/parts/li[customLabel="right claw"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]/parts/li[customLabel="right claw"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<!-- ========== Add armor coverage ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Tail"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/parts/li[def="AnimalJaw"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="JTC_BasicSquig"]/corePart/parts/li[def="Leg"]/parts/li[def="Paw"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

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

<!-- ========== Squig_Leather ========== -->
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AOSGitz_Leather_Squig"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>0.085</StuffPower_Armor_Sharp>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AOSGitz_Leather_Squig"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>0.06</StuffPower_Armor_Blunt>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="AOSGitz_Leather_Squig"]/statBases/StuffPower_Armor_Heat</xpath>
<value>
<StuffPower_Armor_Heat>0.014</StuffPower_Armor_Heat>
</value>
</Operation>

</Patch>
Loading
Loading