Skip to content

Commit

Permalink
Whitespace housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Aug 5, 2024
1 parent 2bd98a2 commit 81ac12c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,35 @@
<xpath>Defs/ThingDef[
defName = "NS_TechnopathHood" or
defName = "NS_NomadHood" or
defName="NS_GuardHelmet"]/apparel/bodyPartGroups</xpath>
defName="NS_GuardHelmet"
]/apparel/bodyPartGroups</xpath>
<value>
<li>Teeth</li>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName = "NS_TechnopathHood" or
<xpath>Defs/ThingDef[
defName = "NS_TechnopathHood" or
defName = "NS_NomadHood" or
defName = "NS_GuardHelmet"]/apparel/layers/li[.="Overhead"]</xpath>
defName = "NS_GuardHelmet"
]/apparel/layers/li[.="Overhead"]</xpath>
<value>
<li>StrappedHead</li>
</value>
</Operation>


<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[
defName = "NS_TechnopathHood" or
defName = "NS_NomadHood"]/statBases/StuffEffectMultiplierArmor</xpath>
<xpath>Defs/ThingDef[defName = "NS_TechnopathHood" or defName = "NS_NomadHood"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>3.5</StuffEffectMultiplierArmor>
</value>
</Operation>


<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[
defName = "NS_TechnopathHood"]/statBases</xpath>
<xpath>Defs/ThingDef[defName = "NS_TechnopathHood"]/statBases</xpath>
<value>
<Bulk>3.5</Bulk>
<WornBulk>1</WornBulk>
Expand All @@ -55,8 +55,7 @@


<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[
defName = "NS_NomadHood"]/statBases</xpath>
<xpath>Defs/ThingDef[defName = "NS_NomadHood"]/statBases</xpath>
<value>
<Bulk>1.5</Bulk>
<WornBulk>1</WornBulk>
Expand Down Expand Up @@ -98,25 +97,21 @@
</value>
</Operation>


<!-- <Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_GuardHelmet"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
<StuffEffectMultiplierArmor>2</StuffEffectMultiplierArmor>
</value>
</Operation> -->


<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="NS_GuardHelmet"]/equippedStatOffsets</xpath>
<value>
<SmokeSensitivity>-0.4</SmokeSensitivity>
</value>
</Operation>


<!-- Technopath Robes and Nomad Rags -->

<!-- Technopath Robes and Nomad Rags -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="NS_TechnopathRobe" or defName="NS_NomadRags"]/apparel/bodyPartGroups</xpath>
Expand Down Expand Up @@ -149,7 +144,7 @@
</value>
</Operation>

<!-- Guard Cloack -->
<!-- Guard Cloack -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="NS_GuardCloak"]/apparel/bodyPartGroups</xpath>
Expand All @@ -167,7 +162,6 @@
</value>
</Operation>


<!-- <Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_GuardCloak"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
Expand Down Expand Up @@ -233,7 +227,6 @@
</value>
</Operation>


<!-- Nomad Wear -->

<Operation Class="PatchOperationAdd">
Expand All @@ -251,7 +244,6 @@
</value>
</Operation>


<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_NomadWear"]/statBases/StuffEffectMultiplierArmor</xpath>
<value>
Expand All @@ -267,7 +259,6 @@
</value>
</Operation>


<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/ThingDef[defName="NS_NomadWear"]</xpath>
<value>
Expand Down Expand Up @@ -302,21 +293,18 @@
</value>
</Operation>

<!-- Recipe tweaks -->

<!-- Recipe tweaks -->

<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="NS_GuardHelmet" or
defName="NS_GuardCloak"]/costStuffCount</xpath>
</Operation>


<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="NS_GuardHelmet" or
defName="NS_GuardCloak"]/stuffCategories</xpath>
</Operation>


<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_GuardCloak"]/costList</xpath>
<value>
Expand All @@ -329,7 +317,6 @@
</value>
</Operation>


<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_GuardHelmet"]/costList</xpath>
<value>
Expand All @@ -341,34 +328,28 @@
</value>
</Operation>


<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="NS_NomadWear"]/costList/ComponentIndustrial</xpath>
</Operation>


<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_NomadWear"]/costStuffCount</xpath>
<value>
<costStuffCount>85</costStuffCount>
</value>
</Operation>


<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="NS_NomadRags"]/costList/Steel</xpath>
</Operation>



<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_NomadRags"]/costStuffCount</xpath>
<value>
<costStuffCount>60</costStuffCount>
</value>
</Operation>


<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_TechnopathRobe"]/costStuffCount</xpath>
<value>
Expand All @@ -377,7 +358,8 @@
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_NomadWear" or
<xpath>Defs/ThingDef[
defName="NS_NomadWear" or
defName="NS_NomadRags" or
defName="NS_GuardCloak"]/statBases/WorkToMake</xpath>
<value>
Expand All @@ -399,7 +381,6 @@
</value>
</Operation>


<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_GuardHelmet"]/statBases/WorkToMake</xpath>
<value>
Expand All @@ -410,15 +391,15 @@
<!-- Add non-existent research prerequisites -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="NS_GuardHelmet" or
defName="NS_GuardCloak"]/recipeMaker</xpath>
<xpath>Defs/ThingDef[defName="NS_GuardHelmet" or defName="NS_GuardCloak"]/recipeMaker</xpath>
<value>
<researchPrerequisite>PlateArmor</researchPrerequisite> <!-- to keep it balanced between flak apparel and complex clothing -->
</value>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="NS_TechnopathRobe" or
<xpath>Defs/ThingDef[
defName="NS_TechnopathRobe" or
defName="NS_NomadRags" or
defName="Ns_NomadWear" or
defName = "NS_TechnopathHood" or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- Nomad Rifle : Meant to be a scrapped version of the Charge Rifle, so pretty much everything has been nerfed.
Balance Pass :
-> Nerfed magazine count for the weapon from 18 to 6 because it was OP and for realism
-> fixed steel Bayonet values with accurate stats
-> fixed tools attack with accurate stats
-> minor balance tweaks
-> Research Prerequisites : buffed from Adv Fab to Gunsmithing, because charge ammo at early game are uncraftable and expensive, it makes sense to narrow down research prerequisite to ensure this gun a use. Also keep it mind the gun is pretty expensive to craft at early game. -->
<!-- Nomad Rifle : Meant to be a scrapped version of the Charge Rifle, so pretty much everything has been nerfed. -->

<Operation Class="CombatExtended.PatchOperationMakeGunCECompatible">
<defName>NS_NomadRifle</defName>
Expand Down Expand Up @@ -57,6 +48,7 @@
</weaponTags>
<researchPrerequisite>Gunsmithing</researchPrerequisite>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="NS_NomadRifle"]/tools</xpath>
<value>
Expand Down

0 comments on commit 81ac12c

Please sign in to comment.