-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from Andromeda-K22/PatchPort_MoreVanillaTurrets
Initial Port of MVT Patch
- Loading branch information
Showing
2 changed files
with
839 additions
and
0 deletions.
There are no files selected for viewing
102 changes: 102 additions & 0 deletions
102
Patches/More Vanilla Turrets/MVT_CE_Patch_Ammo_Shells.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Patch> | ||
<Operation Class="PatchOperationSequence"> | ||
<success>Always</success> | ||
<operations> | ||
|
||
<li Class="CombatExtended.PatchOperationFindMod"> | ||
<modName>More Vanilla Turrets 1.1</modName> | ||
</li> | ||
|
||
<!-- ========== Define 81mm plasma mortar shell and unique ammoset for Devastator Mortar ========== --> | ||
|
||
<li Class="PatchOperationAdd"> | ||
<xpath>Defs</xpath> | ||
<value> | ||
|
||
<CombatExtended.AmmoSetDef> | ||
<defName>AmmoSet_81mmMortarShell_Plasma</defName> | ||
<label>81mm mortar shells</label> | ||
<ammoTypes> | ||
<Shell_Plasma>Bullet_81mmMortarShell_Plasma</Shell_Plasma> | ||
</ammoTypes> | ||
</CombatExtended.AmmoSetDef> | ||
|
||
<ThingDef Class="CombatExtended.AmmoDef" ParentName="81mmMortarShellBaseCraftableBase"> | ||
<defName>Shell_Plasma</defName> | ||
<label>81mm mortar shell (Plasma)</label> | ||
<graphicData> | ||
<texPath>ThirdParty/More Vanilla Turrets/PlasmaMortarShell</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
</graphicData> | ||
<statBases> | ||
<MarketValue>237</MarketValue> | ||
<Mass>6.5</Mass> | ||
<Bulk>8.17</Bulk> | ||
</statBases> | ||
<ammoClass>Plasma</ammoClass> | ||
<detonateProjectile>Bullet_81mmMortarShell_Plasma</detonateProjectile> | ||
</ThingDef> | ||
|
||
<ThingDef Class="CombatExtended.AmmoDef" ParentName="Base81mmMortarShell"> | ||
<defName>Bullet_81mmMortarShell_Plasma</defName> | ||
<label>81mm mortar shell (Plasma)</label> | ||
<graphicData> | ||
<texPath>ThirdParty/More Vanilla Turrets/PlasmaMortarProj</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
</graphicData> | ||
<projectile Class="CombatExtended.ProjectilePropertiesCE"> | ||
<damageDef>Bomb</damageDef> | ||
<damageAmountBase>524</damageAmountBase> | ||
<armorPenetrationSharp>0</armorPenetrationSharp> | ||
<armorPenetrationBlunt>0</armorPenetrationBlunt> | ||
<explosionRadius>5</explosionRadius> | ||
<flyOverhead>true</flyOverhead> | ||
<explosionChanceToStartFire>0.75</explosionChanceToStartFire> | ||
<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors> | ||
<explosionEffect>GiantExplosion</explosionEffect> | ||
<soundExplode>Explosion_GiantBomb</soundExplode> | ||
</projectile> | ||
</ThingDef> | ||
|
||
<RecipeDef ParentName="AmmoRecipeBase"> | ||
<defName>MakeShell_Plasma</defName> | ||
<label>make 81mm Plasma mortar shells x5</label> | ||
<description>Craft 5 81mm Plasma mortar shells.</description> | ||
<jobString>Making 81mm Plasma mortar shells.</jobString> | ||
<workAmount>49200</workAmount> | ||
<ingredients> | ||
<li> | ||
<filter> | ||
<thingDefs> | ||
<li>Plasteel</li> | ||
</thingDefs> | ||
</filter> | ||
<count>120</count> | ||
</li> | ||
<li> | ||
<filter> | ||
<thingDefs> | ||
<li>ComponentIndustrial</li> | ||
</thingDefs> | ||
</filter> | ||
<count>2</count> | ||
</li> | ||
</ingredients> | ||
<fixedIngredientFilter> | ||
<thingDefs> | ||
<li>Plasteel</li> | ||
<li>ComponentIndustrial</li> | ||
</thingDefs> | ||
</fixedIngredientFilter> | ||
<products> | ||
<Shell_Plasma>5</Shell_Plasma> | ||
</products> | ||
</RecipeDef> | ||
|
||
</value> | ||
</li> | ||
|
||
</operations> | ||
</Operation> | ||
</Patch> |
Oops, something went wrong.