-
Notifications
You must be signed in to change notification settings - Fork 257
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 #3521 from SamaelGray/SamaelGray-RoboticServitudeP…
…atch Robotic Servitude patch
- Loading branch information
Showing
5 changed files
with
340 additions
and
10 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
56 changes: 56 additions & 0 deletions
56
ModPatches/Robotic Servitude/Patches/Bodies/Bodies_Mechanoid_Laborer.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,56 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath> | ||
Defs/BodyDef[defName="Gha_Laborer"]//*[ | ||
def="MechanicalThoraxCanManipulate" or | ||
def="MechanicalNeck" or | ||
def="SightSensor" or | ||
def="HearingSensor" or | ||
def="SmellSensor" or | ||
def="MechanicalLeg"] | ||
</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="Gha_Laborer"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[customLabel="rear left foot"]/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Gha_Laborer"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[customLabel="rear left foot"]</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationConditional"> | ||
<xpath>Defs/BodyDef[defName="Gha_Laborer"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[customLabel="rear right foot"]/groups</xpath> | ||
<nomatch Class="PatchOperationAdd"> | ||
<xpath>Defs/BodyDef[defName="Gha_Laborer"]/corePart/parts/li[def="MechanicalLeg"]/parts/li[customLabel="rear right foot"]</xpath> | ||
<value> | ||
<groups /> | ||
</value> | ||
</nomatch> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath> | ||
Defs/BodyDef[defName="Gha_Laborer"]//*[ | ||
def="MechanicalThoraxCanManipulate" or | ||
def="MechanicalNeck" or | ||
def="MechanicalHead" or | ||
def="SightSensor" or | ||
def="HearingSensor" or | ||
def="SmellSensor" or | ||
def="MechanicalLeg" or | ||
def="MechanicalFoot"]/groups | ||
</xpath> | ||
<value> | ||
<li>CoveredByNaturalArmor</li> | ||
</value> | ||
</Operation> | ||
|
||
</Patch> |
64 changes: 64 additions & 0 deletions
64
ModPatches/Robotic Servitude/Patches/ThingDefs_Misc/Melee_Assassin.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,64 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Patch> | ||
|
||
<Operation Class="PatchOperationReplace"> | ||
<xpath>Defs/ThingDef[defName="Gha_MeleeWeapon_AssassinBlade"]/tools</xpath> | ||
<value> | ||
<tools> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>handle</label> | ||
<capacities> | ||
<li>Poke</li> | ||
</capacities> | ||
<power>6</power> | ||
<cooldownTime>1.27</cooldownTime> | ||
<chanceFactor>0.10</chanceFactor> | ||
<armorPenetrationBlunt>1.96</armorPenetrationBlunt> | ||
<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>point</label> | ||
<capacities> | ||
<li>Stab</li> | ||
</capacities> | ||
<power>19</power> | ||
<cooldownTime>1.27</cooldownTime> | ||
<armorPenetrationBlunt>1.96</armorPenetrationBlunt> | ||
<armorPenetrationSharp>3.92</armorPenetrationSharp> | ||
<linkedBodyPartsGroup>Point</linkedBodyPartsGroup> | ||
</li> | ||
<li Class="CombatExtended.ToolCE"> | ||
<label>edge</label> | ||
<capacities> | ||
<li>Cut</li> | ||
</capacities> | ||
<power>48</power> | ||
<cooldownTime>1.25</cooldownTime> | ||
<armorPenetrationBlunt>4.84</armorPenetrationBlunt> | ||
<armorPenetrationSharp>1.08</armorPenetrationSharp> | ||
<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup> | ||
</li> | ||
</tools> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/ThingDef[defName="Gha_MeleeWeapon_AssassinBlade"]/statBases</xpath> | ||
<value> | ||
<Bulk>7</Bulk> | ||
<MeleeCounterParryBonus>0.93</MeleeCounterParryBonus> | ||
</value> | ||
</Operation> | ||
|
||
<Operation Class="PatchOperationAdd"> | ||
<xpath>Defs/ThingDef[defName="Gha_MeleeWeapon_AssassinBlade"]</xpath> | ||
<value> | ||
<equippedStatOffsets> | ||
<MeleeCritChance>0.67</MeleeCritChance> | ||
<MeleeParryChance>0.7</MeleeParryChance> | ||
<MeleeDodgeChance>0.47</MeleeDodgeChance> | ||
</equippedStatOffsets> | ||
</value> | ||
</Operation> | ||
|
||
</Patch> |
Oops, something went wrong.