Skip to content

Commit

Permalink
Grimstone Beasts Patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mint-Vanilla authored Oct 31, 2024
1 parent 1c6e801 commit 5546088
Show file tree
Hide file tree
Showing 10 changed files with 1,076 additions and 0 deletions.
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>
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- Belloceros Horn -->
<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="Grimstone_BellocerosHorn"]/tools</xpath>
</Operation>


<Operation Class="PatchOperationAttributeSet">
<xpath>Defs/ThingDef[defName="Grimstone_BellocerosHorn"]</xpath>
<attribute>ParentName</attribute>
<value>ResourceBase</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Grimstone_BellocerosHorn"]/statBases/Mass</xpath>
<value>
<Mass>50</Mass>
<Bulk>25</Bulk>
</value>
</Operation>


<!-- Ivory -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Grimstone_Ivory"]/statBases</xpath>
<value>
<Bulk>0.07</Bulk>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Grimstone_Ivory"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>0.1</StuffPower_Armor_Sharp>
</value>
</Operation>

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

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

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="Grimstone_Ivory"]/stuffProps/statFactors</xpath>
<value>
<MeleePenetrationFactor>0.5</MeleePenetrationFactor>
</value>
</Operation>

<!-- Grimshadow Skull -->

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Grimstone_GrimshadowSkull"]/statBases/Mass</xpath>
<value>
<Mass>60</Mass>
<Bulk>30</Bulk>
</value>
</Operation>

</Patch>
Loading

0 comments on commit 5546088

Please sign in to comment.