Skip to content

Commit

Permalink
Merge pull request #2721 from CombatExtended-Continued/SamaelGray-VFED
Browse files Browse the repository at this point in the history
VFE - Deserters patch
  • Loading branch information
N7Huntsman authored Oct 27, 2023
2 parents 52b0e36 + adcda4b commit ca6300d
Show file tree
Hide file tree
Showing 13 changed files with 1,039 additions and 2 deletions.
1 change: 1 addition & 0 deletions About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
<li>Slashandz.MiniMiner</li>
<li>Killathon.MechHumanlikes.MechanicalBiomimetics</li>
<li>botchjob.divineorder</li>
<li>OskarPotocki.VFE.Deserters</li>
</loadAfter>

</ModMetaData>
25 changes: 25 additions & 0 deletions Defs/Ammo/Projectiles_Fragments.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,29 @@
</projectile>
</ThingDef>

<ThingDef ParentName="BaseFragment">
<defName>Fragment_Bomblet</defName>
<label>bomblet</label>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<graphicData>
<texPath>Things/Projectile/Bullet_Big</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<damageDef>Bullet</damageDef>
<damageAmountBase>50</damageAmountBase>
<speed>40</speed>
<armorPenetrationSharp>70</armorPenetrationSharp>
<armorPenetrationBlunt>6.387</armorPenetrationBlunt>
<gravityFactor>5</gravityFactor>
</projectile>
<comps>
<li Class="CombatExtended.CompProperties_ExplosiveCE">
<damageAmountBase>25</damageAmountBase>
<explosiveDamageType>Bomb</explosiveDamageType>
<explosiveRadius>0.5</explosiveRadius>
</li>
</comps>
</ThingDef>

</Defs>
23 changes: 23 additions & 0 deletions Patches/Vanilla Factions Expanded - Deserters/Apparel_Belts.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<Patch>

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Factions Expanded - Deserters</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="VFED_Apparel_BombPack" or defName="VFED_Apparel_InvisibilityEngulfer" or defName="VFED_DeserterDeclassifier"]/statBases</xpath>
<value>
<Bulk>3</Bulk>
<WornBulk>1</WornBulk>
</value>
</li>

</operations>
</match>
</Operation>

</Patch>
Loading

0 comments on commit ca6300d

Please sign in to comment.