diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/generators.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/generators.yml index 4ba2270553..f15c17d7a7 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/generators.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/generators.yml @@ -234,6 +234,23 @@ range: 5 sound: path: /Audio/Ambience/Objects/buzzing.ogg + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 300 + behaviors: + - !type:PlaySoundBehavior + sound: + path: /Audio/Effects/metalbreak.ogg + - !type:SpawnEntitiesBehavior + spawn: + GeneratorRTGDamaged: + min: 1 + max: 1 + - !type:DoActsBehavior + acts: [ "Destruction" ] + # TODO: need radioactive fallout when destroyed - type: entity @@ -253,3 +270,22 @@ - state: rtg_glow - type: RadiationSource # ideally only when opened. intensity: 2 + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 50 + behaviors: + - !type:PlaySoundBehavior + sound: + path: /Audio/Effects/metalbreak.ogg + - !type:SpawnEntitiesBehavior + spawn: + SheetSteel1: + min: 1 + max: 5 + SheetUranium1: + min: 1 + max: 5 + - !type:DoActsBehavior + acts: [ "Destruction" ]