Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch Warhammer 40.000 - Imperium Materials #2890

Merged
merged 2 commits into from
Nov 22, 2023
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>Warhammer 40.000 - Imperium Materials</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

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

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_Adamantium"]/statBases</xpath>
<value>
<Bulk>0.03</Bulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Adamantium"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>3</StuffPower_Armor_Sharp>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Adamantium"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>4.5</StuffPower_Armor_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Adamantium"]/statBases/StuffPower_Armor_Heat</xpath>
<value>
<StuffPower_Armor_Heat>0.15</StuffPower_Armor_Heat>
</value>
</li>

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

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_Auramite"]/statBases</xpath>
<value>
<Bulk>0.03</Bulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Auramite"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>2.1</StuffPower_Armor_Sharp>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Auramite"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>3.15</StuffPower_Armor_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Auramite"]/statBases/StuffPower_Armor_Heat</xpath>
<value>
<StuffPower_Armor_Heat>0.07</StuffPower_Armor_Heat>
</value>
</li>

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

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

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Ceramite"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>2.15</StuffPower_Armor_Sharp>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Ceramite"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>3.2</StuffPower_Armor_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Ceramite"]/statBases/StuffPower_Armor_Heat</xpath>
<value>
<StuffPower_Armor_Heat>0.12</StuffPower_Armor_Heat>
</value>
</li>

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

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_Diamantine"]/statBases</xpath>
<value>
<Bulk>0.03</Bulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Diamantine"]/statBases/StuffPower_Armor_Sharp</xpath>
<value>
<StuffPower_Armor_Sharp>2.35</StuffPower_Armor_Sharp>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Diamantine"]/statBases/StuffPower_Armor_Blunt</xpath>
<value>
<StuffPower_Armor_Blunt>3.55</StuffPower_Armor_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="GF40K_Diamantine"]/statBases/StuffPower_Armor_Heat</xpath>
<value>
<StuffPower_Armor_Heat>0.14</StuffPower_Armor_Heat>
</value>
</li>

<!-- Ferrocrete -->
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="GF40K_Ferrocrete"]/statBases</xpath>
<value>
<Bulk>1</Bulk>
</value>
</li>

</operations>
</match>
</Operation>
</Patch>
3 changes: 3 additions & 0 deletions SupportedThirdPartyMods.md
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,9 @@ WarCasket Expanded |
WarCasket Gundam Addon |
Warcasket Persona Weapons |
Warcaskets: Adeptus Astartes |
Warhammer"ish" - Dryad |
Warhammer 40.000 - Imperium Materials |
Warhammer 40k - Genes and Psycasts |
Wasters Toxic Breather |
Weapons+ |
WWII German Uniforms - V's Edit |
Expand Down