BIN
Resources/Audio/Effects/door_close.ogg
Normal file
BIN
Resources/Audio/Effects/door_open.ogg
Normal file
1
Resources/Locale/en-US/structure/disassemble-system.ftl
Normal file
@@ -0,0 +1 @@
|
||||
disassemble-system-verb-disassemble = Disassemble
|
||||
@@ -171,3 +171,20 @@
|
||||
- type: Storage
|
||||
capacity: 30
|
||||
size: 30
|
||||
|
||||
- type: entity
|
||||
name: inflatable wall box
|
||||
parent: BoxCardboard
|
||||
id: BoxInflatable
|
||||
description: Inflatable walls are not to be used as floatation devices.
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: InflatableWallStack
|
||||
amount: 2
|
||||
- id: InflatableDoorStack
|
||||
amount: 2
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: box
|
||||
- state: writing
|
||||
|
||||
@@ -81,6 +81,4 @@
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: InflatableWallStack
|
||||
amount: 3
|
||||
|
||||
- id: BoxInflatable
|
||||
|
||||
@@ -8,4 +8,5 @@
|
||||
Multitool: 4
|
||||
PowerCellSmallHigh: 5
|
||||
ClothingHandsGlovesColorYellow: 6
|
||||
|
||||
InflatableWallStack1: 24
|
||||
InflatableDoorStack1: 8
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: DisassembleOnActivate
|
||||
- type: DisassembleOnAltVerb
|
||||
prototype: InflatableWallStack1
|
||||
doAfter: 3
|
||||
- type: Airtight
|
||||
@@ -40,3 +40,47 @@
|
||||
anchored: true
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
|
||||
- type: entity
|
||||
id: InflatableDoor
|
||||
name: inflatable door
|
||||
parent: BaseMaterialDoor
|
||||
description: An inflated membrane. Activate to deflate. Now with a door. Do not puncture.
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/inflatable_door.rsi
|
||||
state: closed
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.5"
|
||||
mass: 15
|
||||
layer:
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- SmallImpassable
|
||||
- type: Door
|
||||
openSound:
|
||||
path: /Audio/Misc/zip.ogg
|
||||
closeSound:
|
||||
path: /Audio/Misc/zip.ogg
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Inflatable
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 20
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: DisassembleOnAltVerb
|
||||
prototype: InflatableDoorStack1
|
||||
doAfter: 3
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
components:
|
||||
- type: Stack
|
||||
stackType: InflatableWall
|
||||
count: 10
|
||||
max: 10
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/inflatable_wall.rsi
|
||||
state: item_wall
|
||||
@@ -27,6 +29,30 @@
|
||||
# - coillv-20
|
||||
# - coillv-30
|
||||
|
||||
- type: entity
|
||||
id: InflatableDoorStack
|
||||
parent: BaseItem
|
||||
name: inflatable door
|
||||
description: A folded membrane which rapidly expands into a large cubical shape on activation.
|
||||
suffix: Full
|
||||
components:
|
||||
- type: Stack
|
||||
stackType: InflatableDoor
|
||||
count: 4
|
||||
max: 4
|
||||
- type: Sprite
|
||||
sprite: Objects/Misc/inflatable_door.rsi
|
||||
state: item_door
|
||||
netsync: false
|
||||
- type: Item
|
||||
sprite: Objects/Misc/inflatable_door.rsi
|
||||
size: 5
|
||||
- type: SpawnAfterInteract
|
||||
prototype: InflatableDoor
|
||||
doAfter: 1
|
||||
removeOnInteract: true
|
||||
- type: Clickable
|
||||
|
||||
- type: entity
|
||||
parent: InflatableWallStack
|
||||
id: InflatableWallStack1
|
||||
@@ -37,4 +63,16 @@
|
||||
- type: Item
|
||||
size: 5
|
||||
- type: Stack
|
||||
count: 1
|
||||
count: 1
|
||||
|
||||
- type: entity
|
||||
parent: InflatableDoorStack
|
||||
id: InflatableDoorStack1
|
||||
suffix: 1
|
||||
components:
|
||||
- type: Sprite
|
||||
state: item_door
|
||||
- type: Item
|
||||
size: 5
|
||||
- type: Stack
|
||||
count: 1
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
- type: entity
|
||||
id: BaseMaterialDoor
|
||||
parent: BaseStructure
|
||||
name: door
|
||||
abstract: true
|
||||
description: A door, where will it lead?
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Doors/MineralDoors/wood_door.rsi
|
||||
layers:
|
||||
- state: closed
|
||||
map: ["enum.DoorVisualLayers.Base"]
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.49,-0.49,0.49,0.49"
|
||||
mass: 100
|
||||
mask:
|
||||
- MobImpassable
|
||||
layer:
|
||||
- Opaque
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- SmallImpassable
|
||||
- type: Door
|
||||
bumpOpen: false
|
||||
clickOpen: true
|
||||
weldable: false
|
||||
closeTimeOne: 0.2
|
||||
closeTimeTwo: 0.6
|
||||
openTimeOne: 0.6
|
||||
openTimeTwo: 0.2
|
||||
openSound:
|
||||
path: /Audio/Effects/door_open.ogg
|
||||
closeSound:
|
||||
path: /Audio/Effects/door_close.ogg
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: AirlockVisualizer
|
||||
simpleVisuals: true
|
||||
animationTime: 1.2
|
||||
- type: Airtight
|
||||
fixVacuum: true
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Wood
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 100
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- type: IconSmooth
|
||||
key: walls
|
||||
mode: NoSprite
|
||||
|
||||
- type: entity
|
||||
id: WoodDoor
|
||||
name: wooden door
|
||||
parent: BaseMaterialDoor
|
||||
@@ -2,3 +2,8 @@
|
||||
id: InflatableWall
|
||||
name: inflatable wall
|
||||
spawn: InflatableWallStack1
|
||||
|
||||
- type: stack
|
||||
id: InflatableDoor
|
||||
name: inflatable door
|
||||
spawn: InflatableDoorStack1
|
||||
|
||||
BIN
Resources/Textures/Objects/Misc/inflatable_door.rsi/closed.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
Resources/Textures/Objects/Misc/inflatable_door.rsi/closing.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 6.7 KiB |
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from cev-eris at https://github.com/discordia-space/CEV-Eris/commit/eb0d3b2552537b2be044c6bf42e5c65268ee0e56#diff-5275f19fb0944c478cdc6b46be5312df20b6c6e82d0d21114a452c3689fb6fb3 | item_door by ShadowCommander slightly modified by Fishfish458",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "closed",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "closing",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "open",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "opening",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "item_door"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Objects/Misc/inflatable_door.rsi/open.png
Normal file
|
After Width: | Height: | Size: 933 B |
BIN
Resources/Textures/Objects/Misc/inflatable_door.rsi/opening.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from Tgstation https://github.com/tgstation/tgstation/commit/a5eaa18d2192ef9dd7c8d5b8f4ff22bcf304cdd1#diff-4713a9070dd0da77d2f0932685db4d445073695edb05bb49ff96240cbe355036",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "closed",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "closing",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "open",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "opening",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 2.8 KiB |