Skip to content

Commit

Permalink
Last minute patch fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Feb 2, 2021
1 parent ba2d9e4 commit 08bb9ee
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Arachne Race</li>
<li>AnimalCollabProj</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
Expand Down
109 changes: 30 additions & 79 deletions Patches/Arachne/PawnKind_Arachne.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<operations>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneColonist"]</xpath>
<xpath>/Defs/PawnKindDef[defName="Arachne_Colonist"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
Expand All @@ -32,7 +32,7 @@
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneSettler"]</xpath>
<xpath>/Defs/PawnKindDef[defName="Arachne_Settler"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
Expand All @@ -56,7 +56,7 @@
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneTrader"]</xpath>
<xpath>/Defs/PawnKindDef[defName="Arachne_Trader"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
Expand All @@ -78,45 +78,21 @@
</li>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneSlave"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>0</min>
<max>0</max>
</primaryMagazineCount>
<sidearms>
<li>
<generateChance>0.5</generateChance>
<sidearmMoney>
<min>0</min>
<max>10</max>
</sidearmMoney>
<weaponTags>
<li>CE_Sidearm_Melee</li>
</weaponTags>
</li>
</sidearms>
</li>
</value>
</li>


<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneDefector"]</xpath>
<xpath>/Defs/PawnKindDef[defName="Arachne_Soldier"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>1</min>
<max>4</max>
<min>3</min>
<max>6</max>
</primaryMagazineCount>
<sidearms>
<li>
<generateChance>0.5</generateChance>
<sidearmMoney>
<min>200</min>
<max>2000</max>
<min>1000</min>
<max>3000</max>
</sidearmMoney>
<weaponTags>
<li>CE_Sidearm_Melee</li>
Expand All @@ -127,21 +103,21 @@
</li>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneRefugee"]</xpath>
<xpath>/Defs/PawnKindDef[defName="Arachne_Valkyrie"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>0</min>
<max>0</max>
<min>3</min>
<max>6</max>
</primaryMagazineCount>
<sidearms>
<li>
<generateChance>0.5</generateChance>
<sidearmMoney>
<min>0</min>
<max>60</max>
<min>1000</min>
<max>3000</max>
</sidearmMoney>
<weaponTags>
<li>CE_Sidearm_Melee</li>
Expand All @@ -152,9 +128,9 @@
</li>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneSoldier"]</xpath>
<xpath>/Defs/PawnKindDef[defName="Arachne_Scout"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
Expand All @@ -177,21 +153,21 @@
</li>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneElite"]</xpath>
<xpath>/Defs/PawnKindDef[@Name="ArachneGrenadierBase"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>2</min>
<max>4</max>
<min>3</min>
<max>6</max>
</primaryMagazineCount>
<sidearms>
<sidearms>
<li>
<generateChance>0.5</generateChance>
<sidearmMoney>
<min>1000</min>
<max>4000</max>
<min>100</min>
<max>2000</max>
</sidearmMoney>
<weaponTags>
<li>CE_Sidearm_Melee</li>
Expand All @@ -202,14 +178,14 @@
</li>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneMilitia"]</xpath>
<xpath>/Defs/PawnKindDef[@Name="ArachneMidTierBase"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>2</min>
<max>4</max>
<min>3</min>
<max>6</max>
</primaryMagazineCount>
<sidearms>
<li>
Expand All @@ -229,12 +205,12 @@
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneAssault"]</xpath>
<xpath>/Defs/PawnKindDef[@Name="ArachneEliteTierBase"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>3</min>
<max>4</max>
<max>6</max>
</primaryMagazineCount>
<sidearms>
<li>
Expand All @@ -252,31 +228,6 @@
</li>
</value>
</li>

<li Class="PatchOperationAddModExtension">
<xpath>/Defs/PawnKindDef[defName="ArachneAssassin"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>3</min>
<max>4</max>
</primaryMagazineCount>
<sidearms>
<li>
<generateChance>0.5</generateChance>
<sidearmMoney>
<min>4000</min>
<max>8000</max>
</sidearmMoney>
<weaponTags>
<li>CE_Sidearm_Melee</li>
<li>ArachneSword</li>
</weaponTags>
</li>
</sidearms>
</li>
</value>
</li>

</operations>
</match>
Expand Down
8 changes: 4 additions & 4 deletions Patches/Kit's Industrial Weapons/KitsIndustrial_Guns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="KIT_Gun_BrenLMG" or
<xpath>Defs/ThingDef[defName="KIT_Gun_PrecisionLMG" or
defName="KIT_Gun_BoltSMG" or
defName="KIT_Gun_MosinSniperRifle"
defName="KIT_Gun_AntiqueSniperRifle"
]/tools</xpath>
<value>
<tools>
Expand Down Expand Up @@ -186,7 +186,7 @@
<!-- ========== Bren LMG ========== -->

<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
<defName>KIT_Gun_BrenLMG</defName>
<defName>KIT_Gun_PrecisionLMG</defName>
<statBases>
<Mass>10.35</Mass>
<RangedWeapon_Cooldown>0.56</RangedWeapon_Cooldown>
Expand Down Expand Up @@ -223,7 +223,7 @@
<!-- ========== Mosin-Nagant scoped ========== -->

<li Class="CombatExtended.PatchOperationMakeGunCECompatible">
<defName>KIT_Gun_MosinSniperRifle</defName>
<defName>KIT_Gun_AntiqueSniperRifle</defName>
<statBases>
<Mass>4.27</Mass>
<RangedWeapon_Cooldown>1.17</RangedWeapon_Cooldown>
Expand Down

0 comments on commit 08bb9ee

Please sign in to comment.