[Fix] Dresser and broken ballistic turret (#17866)

This commit is contained in:
Puro
2023-07-07 05:52:09 +03:00
committed by GitHub
parent d0d95865a9
commit 70d6e3dcbd
2 changed files with 30 additions and 1 deletions

View File

@@ -11,6 +11,24 @@
drawdepth: WallMountedItems
layers:
- state: syndie_broken
- type: Damageable
damageContainer: Inorganic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 450
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
min: 2
max: 4
- type: entity
parent: BaseStructure

View File

@@ -23,6 +23,17 @@
max: 3
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Storage
capacity: 50
- type: ContainerContainer
containers:
storagebase: !type:Container
- type: UserInterface
interfaces:
- key: enum.StorageUiKey.Key
type: StorageBoundUserInterface
- type: InteractionOutline
- type: Clickable
- type: Tag
tags:
- Wooden
- Wooden