Skip to content

Shrapnel for improvised explosives

Rob Nelson requested to merge pull/12961/IED into Bleeding-Edge

Created by: ultraplen

In reponse to #12398

Allows players to add any w_class_tiny item to an improvised explosive. The items will then launch out in random directions when it explodes. Some items, not necessarily tiny, will disintegrate into shrapnel which deals spicy damage. The code makes it semi simple to add custom types of shrapnel for certain items in the future.

The numbers for those who do not want to read through the code:

  • 8 item slots in each explosive. (Previously 10) Shards take up 2 slots (Previously 1)

  • Shards disintegrate into 3 pieces of small shrapnel (Previously 5 normal sized)

  • Standard shrapnel deals 45 damage and small shrapnel 25. Shrapnel is child of projectile/bullet (Previously 55 damage for standard shrapnel)

  • Shrapnel targets a random bodypart

  • Plasma shards produce purple TOX damage (35) shrapnel

  • Kitchen utensils produce 1 standard shrapnel and take up 2 slots each

  • Individual pieces of shrapnel have a random range limit of 6 to 10 squares

  • Bullet casings fire their projectile if its not already spent.

  • All spent bullet casings are small shrapnel.

As it is now this is fairly balanced tbh. Its a buff to the IED for sure but it was trash earlier.

Clip of some crayons and 5 shards: https://puu.sh/sVJ5o.mp4

🆑

  • rscadd: Shrapnel, in the form of tiny items and shards, can be added to improvised explosives.

Merge request reports