Skip to content

Commit

Permalink
Add resource patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralReaction committed Aug 21, 2024
1 parent d859eb5 commit cf3cfb9
Showing 1 changed file with 114 additions and 0 deletions.
114 changes: 114 additions & 0 deletions ModPatches/Grimworld Core Imperialis/Patches/CE_Patch_Resources.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>

<!-- Adamantium -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="HP_Adamantium"]/stuffProps/categories</xpath>
<value>
<li>Metallic_Weapon</li>
<li>Steeled</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="HP_Adamantium"]/statBases</xpath>
<value>
<Bulk>0.06</Bulk>
</value>
</Operation>

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

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

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

<!-- Auramite -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="HP_Auramite"]/stuffProps/categories</xpath>
<value>
<li>Metallic_Weapon</li>
<li>Steeled</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="HP_Auramite"]/statBases</xpath>
<value>
<Bulk>0.06</Bulk>
</value>
</Operation>

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

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

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

<!-- Ceramite -->
<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="HP_Ceramite"]/stuffProps/categories</xpath>
<value>
<li>Steeled</li>
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="HP_Ceramite"]/statBases</xpath>
<value>
<Bulk>0.06</Bulk>
</value>
</Operation>

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

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

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

</Patch>

0 comments on commit cf3cfb9

Please sign in to comment.