Skip to content

Commit

Permalink
Merge pull request #2794 from HeraldOfTzeentch/GestaltEngine
Browse files Browse the repository at this point in the history
Patch for Gestalt Engine Mech
  • Loading branch information
N7Huntsman authored Oct 2, 2023
2 parents 8d40836 + 916dd8e commit 571dda0
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 0 deletions.
100 changes: 100 additions & 0 deletions Patches/Gestalt Engine/ThingDefs_Races/Matriach.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>Gestalt Engine</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="RM_Mech_Matriarch"]/statBases</xpath>
<value>
<PartialArmorBody>0</PartialArmorBody>
</value>
</li>

<!--Consistency with vanilla mechs-->
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="RM_Mech_Matriarch"]/statBases</xpath>
<value>
<SmokeSensitivity>0</SmokeSensitivity>
<NightVisionEfficiency>0.80</NightVisionEfficiency>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="RM_Mech_Matriarch"]/statBases</xpath>
<value>
<CarryWeight>30</CarryWeight>
<CarryBulk>40</CarryBulk>
<AimingAccuracy>1.0</AimingAccuracy>
<ShootingAccuracyPawn>1</ShootingAccuracyPawn>
<MeleeDodgeChance>0.03</MeleeDodgeChance>
<MeleeCritChance>0.06</MeleeCritChance>
<MeleeParryChance>0.12</MeleeParryChance>
<MaxHitPoints>100</MaxHitPoints>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="RM_Mech_Matriarch"]/statBases</xpath>
<value>
<ArmorRating_Blunt>3</ArmorRating_Blunt>
</value>
</li>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="RM_Mech_Matriarch"]/statBases</xpath>
<value>
<ArmorRating_Sharp>1</ArmorRating_Sharp>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="RM_Mech_Matriarch"]/tools</xpath>
<value>
<tools>
<li Class="CombatExtended.ToolCE">
<label>head</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>9</power>
<cooldownTime>3.51</cooldownTime>
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup>
<armorPenetrationBlunt>6</armorPenetrationBlunt>
<alwaysTreatAsWeapon>false</alwaysTreatAsWeapon>
</li>
<li Class="CombatExtended.ToolCE">
<label>left fist</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>5</power>
<cooldownTime>2.51</cooldownTime>
<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup>
<armorPenetrationBlunt>3</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
<li Class="CombatExtended.ToolCE">
<label>right fist</label>
<capacities>
<li>Blunt</li>
</capacities>
<power>5</power>
<cooldownTime>2.51</cooldownTime>
<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup>
<armorPenetrationBlunt>3</armorPenetrationBlunt>
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon>
</li>
</tools>
</value>
</li>

</operations>
</match>
</Operation>

</Patch>
1 change: 1 addition & 0 deletions SupportedThirdPartyMods.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ Frontline Collection |
FROG Suit Set |
Fuck it Unboomas Your Lope |
Gas Traps And Shells |
Gestalt Engine |
Giddy-Up 2 |
Gimmicks |
Girls' Frontline Apparel Pack |
Expand Down

0 comments on commit 571dda0

Please sign in to comment.