-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3583 from CombatExtended-Continued/Mantis-Race
Patch Mantis Race
- Loading branch information
Showing
8 changed files
with
590 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 107 additions & 0 deletions
107
ModPatches/Mantis Race/Patches/Mantis Race/Bodies_Mantis.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<!-- ==================== Mantis ==================== --> | ||
|
||
<!-- Add Armor Coverage --> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Neck"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/parts/li[def="Antenna"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/parts/li[def="Jaw"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/parts/li[def="Nose"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Neck"]/parts/li[def="Head"]/parts/li[def="Ear"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Shoulder"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Shoulder"]/parts/li[def="Arm"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/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="Mantis"]/corePart/parts/li[def="Shoulder"]/parts/li[def="Arm"]/parts/li[def="Hand"]/parts/li[def="BodyPart_LTF_RightClaws"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Leg"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Leg"]/parts/li[def="Foot"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Mantis"]/corePart/parts/li[def="Leg"]/parts/li[def="Foot"]/parts/li[def="Toe"]/groups</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
|
||
</Patch> |
201 changes: 201 additions & 0 deletions
201
ModPatches/Mantis Race/Patches/Mantis Race/Hediff_Mantis.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,201 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<!-- Plasteel Claws --> | ||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/HediffDef[@Name="Hediff_LTF_PlasteelClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath> | ||
<value> | ||
<tools> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>claw</label> | ||
<capacities> | ||
<li>Cut</li> | ||
</capacities> | ||
<power>12</power> | ||
<cooldownTime>1.29</cooldownTime> | ||
<armorPenetrationSharp>8.35</armorPenetrationSharp> | ||
<armorPenetrationBlunt>12.35</armorPenetrationBlunt> | ||
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>claw</label> | ||
<capacities> | ||
<li>Stab</li> | ||
</capacities> | ||
<power>9</power> | ||
<cooldownTime>1.59</cooldownTime> | ||
<armorPenetrationSharp>10.65</armorPenetrationSharp> | ||
<armorPenetrationBlunt>12.35</armorPenetrationBlunt> | ||
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon> | ||
</li> | ||
</tools> | ||
</value> | ||
</Operation> | ||
|
||
<!-- Over Claws --> | ||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/HediffDef[@Name="Hediff_LTF_OverClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath> | ||
<value> | ||
<tools> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>edge</label> | ||
<capacities> | ||
<li>Cut</li> | ||
</capacities> | ||
<power>18</power> | ||
<cooldownTime>1.29</cooldownTime> | ||
<armorPenetrationSharp>10.65</armorPenetrationSharp> | ||
<armorPenetrationBlunt>14.8</armorPenetrationBlunt> | ||
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>claw point</label> | ||
<capacities> | ||
<li>Stab</li> | ||
</capacities> | ||
<power>14</power> | ||
<cooldownTime>1.59</cooldownTime> | ||
<armorPenetrationSharp>14.65</armorPenetrationSharp> | ||
<armorPenetrationBlunt>12.4</armorPenetrationBlunt> | ||
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>blade flat</label> | ||
<capacities> | ||
<li>Blunt</li> | ||
</capacities> | ||
<power>8</power> | ||
<cooldownTime>1.59</cooldownTime> | ||
<armorPenetrationBlunt>8.8</armorPenetrationBlunt> | ||
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon> | ||
</li> | ||
</tools> | ||
</value> | ||
</Operation> | ||
|
||
<!-- Steel Claws --> | ||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/HediffDef[@Name="Hediff_LTF_SteelClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath> | ||
<value> | ||
<tools> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>claw</label> | ||
<capacities> | ||
<li>Cut</li> | ||
</capacities> | ||
<power>10</power> | ||
<cooldownTime>1.29</cooldownTime> | ||
<armorPenetrationSharp>7.14</armorPenetrationSharp> | ||
<armorPenetrationBlunt>10.85</armorPenetrationBlunt> | ||
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>claw</label> | ||
<capacities> | ||
<li>Stab</li> | ||
</capacities> | ||
<power>5</power> | ||
<cooldownTime>1.59</cooldownTime> | ||
<armorPenetrationSharp>9.65</armorPenetrationSharp> | ||
<armorPenetrationBlunt>8.3</armorPenetrationBlunt> | ||
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon> | ||
</li> | ||
</tools> | ||
</value> | ||
</Operation> | ||
|
||
<!-- Wooden Claws --> | ||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/HediffDef[@Name="Hediff_LTF_WoodenClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath> | ||
<value> | ||
<tools> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>claw</label> | ||
<capacities> | ||
<li>Scratch</li> | ||
</capacities> | ||
<power>8</power> | ||
<cooldownTime>1.39</cooldownTime> | ||
<armorPenetrationSharp>3.26</armorPenetrationSharp> | ||
<armorPenetrationBlunt>6.4</armorPenetrationBlunt> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>claw</label> | ||
<capacities> | ||
<li>Poke</li> | ||
</capacities> | ||
<power>4</power> | ||
<cooldownTime>1.59</cooldownTime> | ||
<armorPenetrationSharp>9.65</armorPenetrationSharp> | ||
</li> | ||
</tools> | ||
</value> | ||
</Operation> | ||
|
||
<!-- Wooden Shields --> | ||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/HediffDef[@Name="Hediff_LTF_WoodenShields"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath> | ||
<value> | ||
<tools> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>plank</label> | ||
<capacities> | ||
<li>Blunt</li> | ||
</capacities> | ||
<power>6.2</power> | ||
<cooldownTime>2.16</cooldownTime> | ||
<armorPenetrationBlunt>6.4</armorPenetrationBlunt> | ||
<surpriseAttack> | ||
<extraMeleeDamages> | ||
<li> | ||
<def>Stun</def> | ||
<amount>5</amount> | ||
</li> | ||
</extraMeleeDamages> | ||
</surpriseAttack> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>corner</label> | ||
<capacities> | ||
<li>Poke</li> | ||
</capacities> | ||
<power>4.8</power> | ||
<cooldownTime>1.94</cooldownTime> | ||
<armorPenetrationBlunt>6.4</armorPenetrationBlunt> | ||
</li> | ||
</tools> | ||
</value> | ||
</Operation> | ||
|
||
<!-- ToxiClaws --> | ||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/HediffDef[@Name="Hediff_LTF_ToxiClaws"]/comps/li[@Class="HediffCompProperties_VerbGiver"]/tools</xpath> | ||
<value> | ||
<tools> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>claw</label> | ||
<capacities> | ||
<li>Cut</li> | ||
</capacities> | ||
<power>14</power> | ||
<cooldownTime>1.29</cooldownTime> | ||
<armorPenetrationSharp>8.35</armorPenetrationSharp> | ||
<armorPenetrationBlunt>12.35</armorPenetrationBlunt> | ||
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>toxic device</label> | ||
<capacities> | ||
<li>ToxicBite</li> | ||
</capacities> | ||
<power>9</power> | ||
<cooldownTime>1.59</cooldownTime> | ||
<armorPenetrationSharp>10.65</armorPenetrationSharp> | ||
<armorPenetrationBlunt>12.35</armorPenetrationBlunt> | ||
<alwaysTreatAsWeapon>true</alwaysTreatAsWeapon> | ||
</li> | ||
</tools> | ||
</value> | ||
</Operation> | ||
|
||
</Patch> |
43 changes: 43 additions & 0 deletions
43
ModPatches/Mantis Race/Patches/Mantis Race/PawnKind_Mantis.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<!-- Civilian Base --> | ||
<Operation Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[@Name="MantisCivBase"]</xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<primaryMagazineCount> | ||
<min>3</min> | ||
<max>4</max> | ||
</primaryMagazineCount> | ||
</li> | ||
</value> | ||
</Operation> | ||
|
||
<!-- Military Base --> | ||
<Operation Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[@Name="MantisMilBase"]</xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<primaryMagazineCount> | ||
<min>4</min> | ||
<max>6</max> | ||
</primaryMagazineCount> | ||
</li> | ||
</value> | ||
</Operation> | ||
|
||
<!-- Mantis Spacer Soldier --> | ||
<Operation Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/PawnKindDef[defName="MantisSpaceSoldier"]</xpath> | ||
<value> | ||
<li Class="CombatExtended.LoadoutPropertiesExtension"> | ||
<primaryMagazineCount> | ||
<min>6</min> | ||
<max>8</max> | ||
</primaryMagazineCount> | ||
</li> | ||
</value> | ||
</Operation> | ||
|
||
</Patch> |
Oops, something went wrong.