Hospital curtains add (#9707)
* curtainss * sound_mono * hotfix_curtains
This commit is contained in:
BIN
Resources/Audio/Effects/curtain_openclose.ogg
Normal file
BIN
Resources/Audio/Effects/curtain_openclose.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,66 @@
|
|||||||
|
- type: entity
|
||||||
|
id: HospitalCurtains
|
||||||
|
parent: BaseStructure
|
||||||
|
name: curtains
|
||||||
|
description: Contains less than 1% mercury.
|
||||||
|
components:
|
||||||
|
- type: Occluder
|
||||||
|
- type: Sprite
|
||||||
|
netsync: false
|
||||||
|
sprite: Structures/Decoration/curtains.rsi
|
||||||
|
layers:
|
||||||
|
- state: closed
|
||||||
|
map: ["enum.DoorVisualLayers.Base"]
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
- shape:
|
||||||
|
!type:PhysShapeAabb
|
||||||
|
bounds: "-0.49,-0.49,0.49,0.49"
|
||||||
|
mass: 100
|
||||||
|
mask:
|
||||||
|
- FullTileMask
|
||||||
|
layer:
|
||||||
|
- Opaque
|
||||||
|
- type: Door
|
||||||
|
bumpOpen: false
|
||||||
|
clickOpen: true
|
||||||
|
closeTimeOne: 0.1
|
||||||
|
closeTimeTwo: 0.1
|
||||||
|
openTimeOne: 0.1
|
||||||
|
openTimeTwo: 0.1
|
||||||
|
openSound:
|
||||||
|
path: /Audio/Effects/curtain_openclose.ogg
|
||||||
|
closeSound:
|
||||||
|
path: /Audio/Effects/curtain_openclose.ogg
|
||||||
|
- type: Appearance
|
||||||
|
visuals:
|
||||||
|
- type: AirlockVisualizer
|
||||||
|
simpleVisuals: true
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Inorganic
|
||||||
|
damageModifierSet: Wood
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 5
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
- !type:SpawnEntitiesBehavior
|
||||||
|
spawn:
|
||||||
|
MaterialCloth1:
|
||||||
|
min: 1
|
||||||
|
max: 3
|
||||||
|
placement:
|
||||||
|
mode: SnapgridCenter
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: HospitalCurtainsOpen
|
||||||
|
parent: HospitalCurtains
|
||||||
|
suffix: Open
|
||||||
|
components:
|
||||||
|
- type: Door
|
||||||
|
state: Open
|
||||||
|
- type: Occluder
|
||||||
|
enabled: false
|
||||||
BIN
Resources/Textures/Structures/Decoration/curtains.rsi/closed.png
Normal file
BIN
Resources/Textures/Structures/Decoration/curtains.rsi/closed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 357 B |
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/951c7976bf6cda431aed8a1b22a8624ff7dfd8e2",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "open",
|
||||||
|
"directions": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "closed",
|
||||||
|
"directions": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
Resources/Textures/Structures/Decoration/curtains.rsi/open.png
Normal file
BIN
Resources/Textures/Structures/Decoration/curtains.rsi/open.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 378 B |
Reference in New Issue
Block a user