Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Great-Ninth authored Oct 30, 2024
1 parent d7b2da9 commit 594d505
Show file tree
Hide file tree
Showing 5 changed files with 451 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- Chaos Cultist & Imperial Trader -->
<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[@Name="ChaosCultistBasePawn" or defName="BEWH_ImperiumTrader"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>4</min>
<max>6</max>
</primaryMagazineCount>
</li>
</value>
</Operation>

<!-- Chaos Cultist -->
<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[@Name="ChaosCultistBasePawn"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>4</min>
<max>6</max>
</primaryMagazineCount>
</li>
</value>
</Operation>

<!-- Daemon Prince -->
<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[@Name="DaemonPrincePawnBase"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>6</min>
<max>12</max>
</primaryMagazineCount>
</li>
</value>
</Operation>

<!-- Space Marines -->
<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[@Name="ChaosMarineBasePawn" or @Name="SpaceMarineBasePawn"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
<min>6</min>
<max>10</max>
</primaryMagazineCount>
</li>
</value>
</Operation>

</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- ========== Imperial Base ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/TraderKindDef[defName="BEWH_ImperiumTraderBase"]/stockGenerators</xpath>
<value>
<li Class="StockGenerator_SingleDef">
<thingDef>FSX</thingDef>
<countRange>
<min>25</min>
<max>100</max>
</countRange>
</li>
<li Class="StockGenerator_SingleDef">
<thingDef>Prometheum</thingDef>
<countRange>
<min>25</min>
<max>100</max>
</countRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>CE_Ammo</tradeTag>
<countRange>
<min>500</min>
<max>2000</max>
</countRange>
<thingDefCountRange>
<min>5</min>
<max>9</max>
</thingDefCountRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>CE_MediumAmmo</tradeTag>
<countRange>
<min>30</min>
<max>100</max>
</countRange>
<thingDefCountRange>
<min>5</min>
<max>8</max>
</thingDefCountRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>CE_HeavyAmmo</tradeTag>
<countRange>
<min>10</min>
<max>50</max>
</countRange>
<thingDefCountRange>
<min>4</min>
<max>6</max>
</thingDefCountRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>Ammo</categoryDef>
<thingDefCountRange>
<min>0</min>
<max>0</max>
</thingDefCountRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>CE_Turret</tradeTag>
<thingDefCountRange>
<min>-2</min>
<max>4</max>
</thingDefCountRange>
<countRange>
<min>1</min>
<max>2</max>
</countRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>WeaponsTurrets</categoryDef>
<thingDefCountRange>
<min>0</min>
<max>0</max>
</thingDefCountRange>
</li>
<li Class="StockGenerator_Animals">
<tradeTagsSell>
<li>CE_AnimalBoom</li>
</tradeTagsSell>
<tradeTagsBuy>
<li>CE_AnimalBoom</li>
</tradeTagsBuy>
<kindCountRange>
<min>1</min>
<max>2</max>
</kindCountRange>
<countRange>
<min>-2</min>
<max>4</max>
</countRange>
</li>
</value>
</Operation>

<!-- ========== Imperial Caravan ========== -->

<Operation Class="PatchOperationAdd">
<xpath>Defs/TraderKindDef[defName="BEWH_ImperiumTraderCaravan"]/stockGenerators</xpath>
<value>
<li Class="StockGenerator_Tag">
<tradeTag>CE_Ammo</tradeTag>
<countRange>
<min>200</min>
<max>400</max>
</countRange>
<thingDefCountRange>
<min>1</min>
<max>4</max>
</thingDefCountRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>CE_MediumAmmo</tradeTag>
<countRange>
<min>20</min>
<max>40</max>
</countRange>
<thingDefCountRange>
<min>2</min>
<max>6</max>
</thingDefCountRange>
</li>
<li Class="StockGenerator_Tag">
<tradeTag>CE_HeavyAmmo</tradeTag>
<countRange>
<min>5</min>
<max>10</max>
</countRange>
<thingDefCountRange>
<min>2</min>
<max>4</max>
</thingDefCountRange>
</li>
<li Class="StockGenerator_Category">
<categoryDef>Ammo</categoryDef>
<thingDefCountRange>
<min>0</min>
<max>0</max>
</thingDefCountRange>
</li>
</value>
</Operation>

</Patch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<!-- ============== Betcher's Spit ================ -->

<Operation Class="PatchOperationReplace">
<xpath>Defs/AbilityDef[defName="BEWH_BetchersSpit"]/verbProperties/range</xpath>
<value>
<range>32</range>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="BEWH_SpitProjectile"]/projectile</xpath>
<value>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>AcidBurn</damageDef>
<speed>48</speed>
<damageAmountBase>18</damageAmountBase>
<armorPenetrationBlunt>8</armorPenetrationBlunt>
<shadowSize>0</shadowSize>
<filth>Filth_SpentAcid</filth>
<filthCount>1</filthCount>
<arcHeightFactor>0.4</arcHeightFactor>
</projectile>
</value>
</Operation>
</Patch>
Loading

0 comments on commit 594d505

Please sign in to comment.