operating table fix (#19092)

* get real

* fix cluster

* fix omega

* fix origin

* fix core

* fix medium pet hospital

* fix lavabrig
This commit is contained in:
Emisse
2023-08-14 16:25:05 -06:00
committed by GitHub
parent 2d9808737d
commit d89bc020d0
7 changed files with 7 additions and 56 deletions

View File

@@ -1,30 +1,9 @@
- type: entity
id: OperatingTable
parent: BaseStructure
parent: Bed
name: operating table
description: Special medical table for surgery. This one just seems to be a useless prop, though.
components:
- type: Strap
position: Down
rotation: -90
buckleOffset: "0,-0.15"
unbuckleOffset: "0,-0.15"
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: PlaceableSurface
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.45,-0.45,0.45,0.45"
density: 55
mask:
- TableMask
layer:
- TableLayer
- type: Climbable
- type: Sprite
sprite: Structures/Furniture/Tables/optable.rsi
state: operating_table
@@ -32,25 +11,3 @@
- type: Icon
sprite: Structures/Furniture/Tables/optable.rsi
state: operating_table
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 150
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 30
behaviors:
- !type:PlaySoundBehavior
sound:
path: /Audio/Effects/metalbreak.ogg
- !type:SpawnEntitiesBehavior
spawn:
SheetSteel1:
min: 0
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]