Skip to content

Commit

Permalink
Merge pull request #3526 from Mint-Vanilla/Minty-Grimstone-Beasts
Browse files Browse the repository at this point in the history
Grimstone Beasts Patch
  • Loading branch information
N7Huntsman authored Nov 2, 2024
2 parents 64a4b98 + 0fbca06 commit 572ff7c
Show file tree
Hide file tree
Showing 12 changed files with 1,072 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
<li IfModActive="detvisor.glitterweaponry">ModPatches/Glitter Weaponry</li>
<li IfModActive="RooAndGloomy.DragonianRaceMod">ModPatches/Gloomy Dragonian Race</li>
<li IfModActive="spoonshortage.gourimet">ModPatches/GouRIMet</li>
<li IfModActive="Abrolo.Grimstone.Beasts">ModPatches/Grimstone Beasts</li>
<li IfModActive="Grimworld.Autoguns">ModPatches/Grimworld Autoguns</li>
<li IfModActive="Grimworld.Lasguns">ModPatches/Grimworld Lasguns</li>
<li IfModActive="Grimworld.Melee">ModPatches/Grimworld Melee</li>
Expand Down Expand Up @@ -633,4 +634,4 @@
<li IfModActive="smashphil.neceros.srtsexpanded">ModPatches/SRTS</li>
<li IfModActive="SmashPhil.VehicleFramework">ModPatches/VehicleFramework</li>
</v1.5>
</loadFolders>
</loadFolders>
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- Adding Condition Groups-->

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

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

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

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

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

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

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

<!-- Natural Armour -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GriffarBody"]/corePart/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

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

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

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

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

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

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GriffarBody"]/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,194 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- Adding Condition Groups-->

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

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

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

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

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/parts/li[def="AnimalJaw"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/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="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Shoulder"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Shoulder"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

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

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Shoulder"]/parts/li[def="Arm"]/parts/li[def="Hand"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Shoulder"]/parts/li[def="Arm"]/parts/li[def="Hand"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

<Operation Class="PatchOperationConditional">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Shoulder"]/parts/li[def="Arm"]/parts/li[def="Hand"]/parts/li[def="FrontClaw"]/groups</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Shoulder"]/parts/li[def="Arm"]/parts/li[def="Hand"]/parts/li[def="FrontClaw"]</xpath>
<value>
<groups />
</value>
</nomatch>
</Operation>

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

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

<!-- Natural Armour -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/corePart/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

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

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

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

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/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="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Leg"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

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

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

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

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Shoulder"]/parts/li[def="Arm"]/parts/li[def="Hand"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/BodyDef[defName="Grimstone_GrimshadowBody"]/corePart/parts/li[def="Shoulder"]/parts/li[def="Arm"]/parts/li[def="Hand"]/parts/li[def="FrontClaw"]/groups</xpath>
<value>
<li>CoveredByNaturalArmor</li>
</value>
</Operation>

</Patch>
Loading

0 comments on commit 572ff7c

Please sign in to comment.