From: Flareguy <78941145+Flareguy@users.noreply.github.com> Date: Wed, 15 May 2024 00:23:24 +0000 (-0500) Subject: Makes bullet casings destructible by explosions (#27910) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=3243afbb035ec673737095b878ee753bbbf6f252;p=space-station-14.git Makes bullet casings destructible by explosions (#27910) makes casings destructible --- 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