Operating table add (#9687)

This commit is contained in:
Deahaka
2022-07-15 05:50:59 +03:00
committed by GitHub
parent 2671d8712a
commit ed0cf3a3b4
3 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
- type: entity
id: OperatingTable
parent: BaseStructure
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:
- shape:
!type:PhysShapeAabb
bounds: "-0.45,-0.45,0.45,0.45"
mass: 50
mask:
- TableMask
layer:
- TableLayer
- type: Climbable
- type: Sprite
sprite: Structures/Furniture/Tables/optable.rsi
state: operating_table
noRot: true
- type: Icon
sprite: Structures/Furniture/Tables/optable.rsi
state: operating_table
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
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" ]

View File

@@ -0,0 +1,14 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/b7c1c31bf867b8548d882e49a852eb5b26d713e9",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "operating_table"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B