Skip to content

Commit bee6fc0

Browse files
authored
Merge pull request #134 from Andromeda-K22/PatchPort_MoreVanillaTurrets
Initial Port of MVT Patch
2 parents 53e8770 + c3f2e9d commit bee6fc0

File tree

2 files changed

+839
-0
lines changed

2 files changed

+839
-0
lines changed
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<Patch>
3+
<Operation Class="PatchOperationSequence">
4+
<success>Always</success>
5+
<operations>
6+
7+
<li Class="CombatExtended.PatchOperationFindMod">
8+
<modName>More Vanilla Turrets 1.1</modName>
9+
</li>
10+
11+
<!-- ========== Define 81mm plasma mortar shell and unique ammoset for Devastator Mortar ========== -->
12+
13+
<li Class="PatchOperationAdd">
14+
<xpath>Defs</xpath>
15+
<value>
16+
17+
<CombatExtended.AmmoSetDef>
18+
<defName>AmmoSet_81mmMortarShell_Plasma</defName>
19+
<label>81mm mortar shells</label>
20+
<ammoTypes>
21+
<Shell_Plasma>Bullet_81mmMortarShell_Plasma</Shell_Plasma>
22+
</ammoTypes>
23+
</CombatExtended.AmmoSetDef>
24+
25+
<ThingDef Class="CombatExtended.AmmoDef" ParentName="81mmMortarShellBaseCraftableBase">
26+
<defName>Shell_Plasma</defName>
27+
<label>81mm mortar shell (Plasma)</label>
28+
<graphicData>
29+
<texPath>ThirdParty/More Vanilla Turrets/PlasmaMortarShell</texPath>
30+
<graphicClass>Graphic_Single</graphicClass>
31+
</graphicData>
32+
<statBases>
33+
<MarketValue>237</MarketValue>
34+
<Mass>6.5</Mass>
35+
<Bulk>8.17</Bulk>
36+
</statBases>
37+
<ammoClass>Plasma</ammoClass>
38+
<detonateProjectile>Bullet_81mmMortarShell_Plasma</detonateProjectile>
39+
</ThingDef>
40+
41+
<ThingDef Class="CombatExtended.AmmoDef" ParentName="Base81mmMortarShell">
42+
<defName>Bullet_81mmMortarShell_Plasma</defName>
43+
<label>81mm mortar shell (Plasma)</label>
44+
<graphicData>
45+
<texPath>ThirdParty/More Vanilla Turrets/PlasmaMortarProj</texPath>
46+
<graphicClass>Graphic_Single</graphicClass>
47+
</graphicData>
48+
<projectile Class="CombatExtended.ProjectilePropertiesCE">
49+
<damageDef>Bomb</damageDef>
50+
<damageAmountBase>524</damageAmountBase>
51+
<armorPenetrationSharp>0</armorPenetrationSharp>
52+
<armorPenetrationBlunt>0</armorPenetrationBlunt>
53+
<explosionRadius>5</explosionRadius>
54+
<flyOverhead>true</flyOverhead>
55+
<explosionChanceToStartFire>0.75</explosionChanceToStartFire>
56+
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
57+
<explosionEffect>GiantExplosion</explosionEffect>
58+
<soundExplode>Explosion_GiantBomb</soundExplode>
59+
</projectile>
60+
</ThingDef>
61+
62+
<RecipeDef ParentName="AmmoRecipeBase">
63+
<defName>MakeShell_Plasma</defName>
64+
<label>make 81mm Plasma mortar shells x5</label>
65+
<description>Craft 5 81mm Plasma mortar shells.</description>
66+
<jobString>Making 81mm Plasma mortar shells.</jobString>
67+
<workAmount>49200</workAmount>
68+
<ingredients>
69+
<li>
70+
<filter>
71+
<thingDefs>
72+
<li>Plasteel</li>
73+
</thingDefs>
74+
</filter>
75+
<count>120</count>
76+
</li>
77+
<li>
78+
<filter>
79+
<thingDefs>
80+
<li>ComponentIndustrial</li>
81+
</thingDefs>
82+
</filter>
83+
<count>2</count>
84+
</li>
85+
</ingredients>
86+
<fixedIngredientFilter>
87+
<thingDefs>
88+
<li>Plasteel</li>
89+
<li>ComponentIndustrial</li>
90+
</thingDefs>
91+
</fixedIngredientFilter>
92+
<products>
93+
<Shell_Plasma>5</Shell_Plasma>
94+
</products>
95+
</RecipeDef>
96+
97+
</value>
98+
</li>
99+
100+
</operations>
101+
</Operation>
102+
</Patch>

0 commit comments

Comments
 (0)