From 3243afbb035ec673737095b878ee753bbbf6f252 Mon Sep 17 00:00:00 2001 From: Flareguy <78941145+Flareguy@users.noreply.github.com> Date: Tue, 14 May 2024 19:23:24 -0500 Subject: [PATCH] Makes bullet casings destructible by explosions (#27910) makes casings destructible --- .../Guns/Ammunition/Cartridges/base_cartridge.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Cartridges/base_cartridge.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Cartridges/base_cartridge.yml index e188ee8c65..98f8c6402d 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Cartridges/base_cartridge.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/Cartridges/base_cartridge.yml @@ -16,6 +16,17 @@ - ItemMask restitution: 0.3 # fite me friction: 0.2 + - type: Damageable + damageContainer: StructuralInorganic + damageModifierSet: StrongMetallic # We only want explosions breaking them (for the most part) + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 75 + behaviors: + - !type:DoActsBehavior + acts: [ "Destruction" ] - type: Tag tags: - Cartridge -- 2.51.2