Skip to content

Commit

Permalink
Tweaks and housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
N7Huntsman committed Nov 8, 2024
1 parent efc29b1 commit 3581ae3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
15 changes: 9 additions & 6 deletions ModPatches/Spacer Pack/Defs/Spacer Pack/Defs_Projectiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@
</projectile>
</ThingDef>

<ThingDef ParentName="BaseExplosiveBullet">
<ThingDef ParentName="BaseFragGrenadeProjectile">
<defName>dvd_Projectile_RipperRack_CE</defName>
<thingClass>CombatExtended.ProjectileCE_Explosive</thingClass>
<label>ripper rack</label>
<graphicData>
<graphicClass>Graphic_Single</graphicClass>
Expand All @@ -45,7 +44,11 @@
<gravityFactor>3</gravityFactor>
<damageDef>dvd_RipperBomb</damageDef>
<damageAmountBase>50</damageAmountBase>
<explosionRadius>5.0</explosionRadius>
<dangerFactor>3.0</dangerFactor>
<airborneSuppressionFactor>0.25</airborneSuppressionFactor>
<suppressionFactor>3.0</suppressionFactor>
<explosionDelay>50</explosionDelay>
<explosionRadius>3.9</explosionRadius>
<filth>dvd_Filth_RipperMechanites</filth>
<filthCount>1</filthCount>
</projectile>
Expand All @@ -56,7 +59,7 @@
<fleck>dvd_Fleck_RipperMechanites_Random</fleck>
<emissionsPerTick>0.5</emissionsPerTick>
<rotation>0</rotation>
<scale>.5</scale>
<scale>0.5</scale>
<flecksPerEmission>1</flecksPerEmission>
</li>
</FleckDatas>
Expand Down Expand Up @@ -84,14 +87,14 @@
<fleck>dvd_Fleck_ArchoPack_Main</fleck>
<emissionsPerTick>0.5</emissionsPerTick>
<rotation>0</rotation>
<scale>.5</scale>
<scale>0.5</scale>
<flecksPerEmission>1</flecksPerEmission>
</li>
<li>
<fleck>dvd_Fleck_ArchoPack_Smoke</fleck>
<emissionsPerTick>0.5</emissionsPerTick>
<rotation>0</rotation>
<scale>.5</scale>
<scale>0.5</scale>
<flecksPerEmission>1</flecksPerEmission>
<cutoffTickRange>120~240</cutoffTickRange>
</li>
Expand Down
5 changes: 5 additions & 0 deletions ModPatches/Spacer Pack/Patches/Spacer Pack/Damage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@
</value>
</Operation>

<!-- Get rid of the unused vanilla projectile to suppress an error. -->
<Operation Class="PatchOperationRemove">
<xpath>Defs/ThingDef[defName="dvd_Projectile_RipperRack"]</xpath>
</Operation>

</Patch>

0 comments on commit 3581ae3

Please sign in to comment.