-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56cb6f1
commit f908b0a
Showing
6 changed files
with
300 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> |
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> |
133 changes: 133 additions & 0 deletions
133
ModPatches/Mantis Race/Patches/Mantis Race/Race_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,133 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<Operation Class="PatchOperationAddModExtension"> | ||
<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantis"]</xpath> | ||
<value> | ||
<li Class="CombatExtended.RacePropertiesExtensionCE"> | ||
<bodyShape>Humanoid</bodyShape> | ||
</li> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantis"]/statBases/MeleeDodgeChance</xpath> | ||
<value> | ||
<MeleeDodgeChance>1.05</MeleeDodgeChance> | ||
<MeleeCritChance>1.05</MeleeCritChance> | ||
<MeleeParryChance>1.05</MeleeParryChance> | ||
<Suppressability>1</Suppressability> | ||
<SmokeSensitivity>1</SmokeSensitivity> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantis"]/tools</xpath> | ||
<value> | ||
<tools> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>left fist</label> | ||
<capacities> | ||
<li>Blunt</li> | ||
</capacities> | ||
<power>1.2</power> | ||
<cooldownTime>1.33</cooldownTime> | ||
<linkedBodyPartsGroup>LeftHand</linkedBodyPartsGroup> | ||
<surpriseAttack> | ||
<extraMeleeDamages> | ||
<li> | ||
<def>Stun</def> | ||
<amount>14</amount> | ||
</li> | ||
</extraMeleeDamages> | ||
</surpriseAttack> | ||
<armorPenetrationBlunt>0.175</armorPenetrationBlunt> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>right fist</label> | ||
<capacities> | ||
<li>Blunt</li> | ||
</capacities> | ||
<power>1.2</power> | ||
<cooldownTime>1.33</cooldownTime> | ||
<linkedBodyPartsGroup>RightHand</linkedBodyPartsGroup> | ||
<surpriseAttack> | ||
<extraMeleeDamages> | ||
<li> | ||
<def>Stun</def> | ||
<amount>14</amount> | ||
</li> | ||
</extraMeleeDamages> | ||
</surpriseAttack> | ||
<armorPenetrationBlunt>0.175</armorPenetrationBlunt> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>left claw</label> | ||
<capacities> | ||
<li>Cut</li> | ||
</capacities> | ||
<power>18</power> | ||
<cooldownTime>1.33</cooldownTime> | ||
<linkedBodyPartsGroup>LeftHandClawsGroup</linkedBodyPartsGroup> | ||
<armorPenetrationSharp>6.85</armorPenetrationSharp> | ||
<armorPenetrationBlunt>10.35</armorPenetrationBlunt> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>right claw</label> | ||
<capacities> | ||
<li>Cut</li> | ||
</capacities> | ||
<power>18</power> | ||
<cooldownTime>1.33</cooldownTime> | ||
<linkedBodyPartsGroup>RightHandClawsGroup</linkedBodyPartsGroup> | ||
<armorPenetrationSharp>6.85</armorPenetrationSharp> | ||
<armorPenetrationBlunt>10.35</armorPenetrationBlunt> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>teeth</label> | ||
<capacities> | ||
<li>Bite</li> | ||
</capacities> | ||
<power>9</power> | ||
<cooldownTime>1.5</cooldownTime> | ||
<linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup> | ||
<armorPenetrationSharp>0.24</armorPenetrationSharp> | ||
<armorPenetrationBlunt>0.5</armorPenetrationBlunt> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>head</label> | ||
<capacities> | ||
<li>Blunt</li> | ||
</capacities> | ||
<power>2.8</power> | ||
<cooldownTime>4.49</cooldownTime> | ||
<linkedBodyPartsGroup>HeadAttackTool</linkedBodyPartsGroup> | ||
<chanceFactor>0.2</chanceFactor> | ||
<ensureLinkedBodyPartsGroupAlwaysUsable>true</ensureLinkedBodyPartsGroupAlwaysUsable> | ||
<armorPenetrationBlunt>0.95</armorPenetrationBlunt> | ||
</li> | ||
</tools> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/AlienRace.ThingDef_AlienRace[defName="Alien_Mantis"]/comps</xpath> | ||
<value> | ||
<li> | ||
<compClass>CombatExtended.CompPawnGizmo</compClass> | ||
</li> | ||
<li Class="CombatExtended.CompProperties_ArmorDurability"> | ||
<Durability>500</Durability> <!-- 250 * (body size + HP scale) --> | ||
<Regenerates>true</Regenerates> | ||
<RegenInterval>600</RegenInterval> | ||
<RegenValue>5</RegenValue> | ||
<MinArmorPct>0.5</MinArmorPct> | ||
</li> | ||
<li Class="CombatExtended.CompProperties_Suppressable" /> | ||
<li> | ||
<compClass>CombatExtended.CompAmmoGiver</compClass> | ||
</li> | ||
</value> | ||
</Operation> | ||
|
||
</Patch> |
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,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/ScenarioDef[defName="MantissTribeScenario"]/scenario/parts</xpath> | ||
<value> | ||
<li Class="ScenPart_StartingThing_Defined"> | ||
<def>StartingThing_Defined</def> | ||
<thingDef>Ammo_12Gauge_Buck</thingDef> | ||
<count>60</count> | ||
</li> | ||
</value> | ||
</Operation> | ||
|
||
</Patch> |
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