rtg returns (#12143)

This commit is contained in:
stopka-html
2022-11-08 04:44:32 +02:00
committed by GitHub
parent 7c253ec10f
commit 3cb18bd258

View File

@@ -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" ]