Skip to content

Commit 2cb0894

Browse files
authored
Merge pull request CombatExtended-Continued#3734 from aldent95/patch-grimworld-traders
Grimworld Multi-patch - Traders
2 parents eae05cf + 6f29765 commit 2cb0894

File tree

22 files changed

+374
-37
lines changed

22 files changed

+374
-37
lines changed

Defs/Ammo/Advanced/12mmRailgun.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<li>CE_AutoEnableTrade</li>
3434
<li>CE_AutoEnableCrafting_FabricationBench</li>
3535
<li>CE_AutoEnableCrafting_TableMachining</li>
36+
<li>CE_40K_MediumAmmo</li>
3637
<!-- Railgun ammo isn't handloaded because it contains no propellant, and the sabots must be precision-machined anyway -->
3738
</tradeTags>
3839
<thingCategories>
@@ -101,4 +102,4 @@
101102
</products>
102103
</RecipeDef>
103104

104-
</Defs>
105+
</Defs>

Defs/Ammo/Grenade/40x46mmGrenade.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<tradeTags>
3535
<li>CE_AutoEnableTrade</li>
3636
<li>CE_AutoEnableCrafting_TableMachining</li>
37+
<li>CE_40K_HeavyAmmo</li>
3738
</tradeTags>
3839
<thingCategories>
3940
<li>Ammo40x46mmGrenades</li>
@@ -511,4 +512,4 @@
511512
<workAmount>7400</workAmount>
512513
</RecipeDef>
513514

514-
</Defs>
515+
</Defs>

Defs/Ammo/HighCaliber/20x102mmNATO.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<tradeTags>
3434
<li>CE_AutoEnableTrade</li>
3535
<li>CE_AutoEnableCrafting</li>
36+
<li>CE_40K_HeavyAmmo</li>
3637
</tradeTags>
3738
<thingCategories>
3839
<li>Ammo20x102mmNATO</li>
@@ -308,4 +309,4 @@
308309
<workAmount>13600</workAmount>
309310
</RecipeDef>
310311

311-
</Defs>
312+
</Defs>

Defs/Ammo/Modded/Warhammer 40k/Autoguns.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<tradeTags>
3636
<li>CE_AutoEnableTrade</li>
3737
<li>CE_AutoEnableCrafting</li>
38+
<li>CE_40K_Ammo</li>
3839
</tradeTags>
3940
<thingCategories>
4041
<li>Ammo825mmLong</li>
@@ -407,4 +408,4 @@
407408
<workAmount>4000</workAmount>
408409
</RecipeDef>
409410

410-
</Defs>
411+
</Defs>

Defs/Ammo/Modded/Warhammer 40k/Bolter.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
<li>CE_AutoEnableTrade</li>
4848
<li>CE_AutoEnableCrafting</li>
4949
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
50+
<li>CE_40K_MediumAmmo</li>
5051
</tradeTags>
5152
<thingCategories>
5253
<li>AmmoBolter75</li>
@@ -109,7 +110,7 @@
109110
<ammoClass>Kraken</ammoClass>
110111
<cookOffProjectile>Bullet_Bolter75_Kraken</cookOffProjectile>
111112
</ThingDef>
112-
113+
113114
<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoBolter75Base">
114115
<defName>Ammo_Bolter75_Tempest</defName>
115116
<label>.75 cal bolter shell (Tempest)</label>
@@ -184,7 +185,7 @@
184185
<damageAmountBase>49</damageAmountBase>
185186
<armorPenetrationSharp>15</armorPenetrationSharp>
186187
<armorPenetrationBlunt>39.494</armorPenetrationBlunt>
187-
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
188+
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
188189
</projectile>
189190
<comps>
190191
<li Class="CombatExtended.CompProperties_Fragments">
@@ -211,7 +212,7 @@
211212
</secondaryDamage>
212213
</projectile>
213214
</ThingDef>
214-
215+
215216
<ThingDef ParentName="BaseBolter75Bullet">
216217
<defName>Bullet_Bolter75_Tempest</defName>
217218
<label>.75 cal bolt (tempest)</label>
@@ -282,7 +283,7 @@
282283
<damageAmountBase>49</damageAmountBase>
283284
<armorPenetrationSharp>16.5</armorPenetrationSharp>
284285
<armorPenetrationBlunt>43.44</armorPenetrationBlunt>
285-
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
286+
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
286287
</projectile>
287288
<comps>
288289
<li Class="CombatExtended.CompProperties_Fragments">
@@ -309,7 +310,7 @@
309310
</secondaryDamage>
310311
</projectile>
311312
</ThingDef>
312-
313+
313314
<ThingDef ParentName="BaseBolter75Bullet">
314315
<defName>Bullet_Bolter75_Tempest_Relic</defName>
315316
<label>.75 cal bolt (tempest)</label>
@@ -586,4 +587,4 @@
586587
<workAmount>15840</workAmount>
587588
</RecipeDef>
588589

589-
</Defs>
590+
</Defs>

Defs/Ammo/Modded/Warhammer 40k/Bolter_Small.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<li>CE_AutoEnableTrade</li>
3434
<li>CE_AutoEnableCrafting</li>
3535
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
36+
<li>CE_40K_MediumAmmo</li>
3637
</tradeTags>
3738
<thingCategories>
3839
<li>AmmoBolter50</li>
@@ -81,7 +82,7 @@
8182
<ammoClass>Kraken</ammoClass>
8283
<cookOffProjectile>Bullet_Bolter50_Kraken</cookOffProjectile>
8384
</ThingDef>
84-
85+
8586
<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoBolter50Base">
8687
<defName>Ammo_Bolter50_Tempest</defName>
8788
<label>.50 cal bolter shell (Tempest)</label>
@@ -163,7 +164,7 @@
163164
</secondaryDamage>
164165
</projectile>
165166
</ThingDef>
166-
167+
167168
<ThingDef ParentName="BaseBolter50Bullet">
168169
<defName>Bullet_Bolter50_Tempest</defName>
169170
<label>.50 cal bolt (tempest)</label>
@@ -387,4 +388,4 @@
387388
<workAmount>7920</workAmount>
388389
</RecipeDef>
389390

390-
</Defs>
391+
</Defs>

Defs/Ammo/Modded/Warhammer 40k/HeavyBolter.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
<tradeTags>
3434
<li>CE_AutoEnableTrade</li>
3535
<li>CE_AutoEnableCrafting</li>
36-
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
36+
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
37+
<li>CE_40K_HeavyAmmo</li>
3738
</tradeTags>
3839
<thingCategories>
3940
<li>AmmoBolter998</li>
@@ -96,7 +97,7 @@
9697
<ammoClass>Kraken</ammoClass>
9798
<cookOffProjectile>Bullet_Bolter998_Kraken</cookOffProjectile>
9899
</ThingDef>
99-
100+
100101
<ThingDef Class="CombatExtended.AmmoDef" ParentName="AmmoBolter998Base">
101102
<defName>Ammo_Bolter998_Tempest</defName>
102103
<label>.998 cal bolter shell (Tempest)</label>
@@ -171,7 +172,7 @@
171172
<damageAmountBase>58</damageAmountBase>
172173
<armorPenetrationSharp>17.5</armorPenetrationSharp>
173174
<armorPenetrationBlunt>59.81</armorPenetrationBlunt>
174-
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
175+
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
175176
</projectile>
176177
<comps>
177178
<li Class="CombatExtended.CompProperties_Fragments">
@@ -198,7 +199,7 @@
198199
</secondaryDamage>
199200
</projectile>
200201
</ThingDef>
201-
202+
202203
<ThingDef ParentName="BaseBolter998Bullet">
203204
<defName>Bullet_Bolter998_Tempest</defName>
204205
<label>.998 cal bolt (Tempest)</label>
@@ -430,7 +431,7 @@
430431
</products>
431432
<workAmount>48000</workAmount>
432433
</RecipeDef>
433-
434+
434435
<RecipeDef ParentName="AmmoRecipeBase">
435436
<defName>MakeAmmo_Bolter998_Tempest</defName>
436437
<label>make .998 Cal Bolter (tempest) shell x200</label>
@@ -475,4 +476,4 @@
475476
<workAmount>30240</workAmount>
476477
</RecipeDef>
477478

478-
</Defs>
479+
</Defs>

Defs/Ammo/Modded/Warhammer 40k/LasGun.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
<li>CE_AutoEnableCrafting_FabricationBench</li>
5656
<li>CE_AutoEnableCrafting_TableMachining</li>
5757
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
58+
<li>CE_40K_Ammo</li>
5859
</tradeTags>
5960
<thingCategories>
6061
<li>AmmoLasgunPowerPack</li>
@@ -167,4 +168,4 @@
167168
<workAmount>8400</workAmount>
168169
</RecipeDef>
169170

170-
</Defs>
171+
</Defs>

Defs/Ammo/Modded/Warhammer 40k/MeltaGun.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Defs>
3-
3+
44
<ThingCategoryDef>
55
<defName>AmmoMeltaGun</defName>
66
<label>melta canister</label>
@@ -20,7 +20,7 @@
2020
<!-- ==================== Ammo ========================== -->
2121
<ThingDef Class="CombatExtended.AmmoDef" ParentName="SpacerMediumAmmoBase">
2222
<defName>Ammo_MeltaGun</defName>
23-
<label>Meltagun Ammo Canister</label>
23+
<label>Meltagun Ammo Canister</label>
2424
<description>Canister of Pyrum-petrol fuel for Meltaguns</description>
2525
<statBases>
2626
<Mass>0.09</Mass>
@@ -31,6 +31,7 @@
3131
<li>CE_AutoEnableTrade</li>
3232
<li>CE_AutoEnableCrafting_FabricationBench</li>
3333
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
34+
<li>CE_40K_MediumAmmo</li>
3435
</tradeTags>
3536
<ammoClass>Melta</ammoClass>
3637
<graphicData>
@@ -145,4 +146,4 @@
145146
<workAmount>15200</workAmount>
146147
</RecipeDef>
147148

148-
</Defs>
149+
</Defs>

Defs/Ammo/Modded/Warhammer 40k/PlasmaCannon.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373
<tradeTags>
7474
<li>CE_AutoEnableTrade</li>
7575
<li>CE_AutoEnableCrafting</li>
76-
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
76+
<li>CE_AutoEnableCrafting_GWAmmoBench</li>
77+
<li>CE_40K_MediumAmmo</li>
7778
</tradeTags>
7879
<thingCategories>
7980
<li>AmmoPlasmaCannon</li>
@@ -290,7 +291,7 @@
290291
<explosionSound>MortarBomb_Explode</explosionSound>
291292
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
292293
</li>
293-
</comps>
294+
</comps>
294295
<modExtensions>
295296
<li Class="ProjectileImpactFX.EffectProjectileExtension">
296297
<AutoAssign>false</AutoAssign>
@@ -349,4 +350,4 @@
349350
</products>
350351
</RecipeDef>
351352

352-
</Defs>
353+
</Defs>

0 commit comments

Comments
 (0)