Construction Blast door (#24050)
* construction blast door * fix * price * fix2 * hem * xif * Static
This commit is contained in:
@@ -27,6 +27,16 @@
|
|||||||
- type: Damageable
|
- type: Damageable
|
||||||
damageContainer: StructuralInorganic
|
damageContainer: StructuralInorganic
|
||||||
damageModifierSet: StrongMetallic
|
damageModifierSet: StrongMetallic
|
||||||
|
- type: ContainerFill
|
||||||
|
containers:
|
||||||
|
board: [ DoorElectronics ]
|
||||||
|
- type: Construction
|
||||||
|
graph: BlastDoor
|
||||||
|
node: blastdoor
|
||||||
|
containers:
|
||||||
|
- board
|
||||||
|
- type: StaticPrice
|
||||||
|
price: 280
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: BlastDoorOpen
|
id: BlastDoorOpen
|
||||||
@@ -43,3 +53,46 @@
|
|||||||
airBlocked: false
|
airBlocked: false
|
||||||
- type: RadiationBlocker
|
- type: RadiationBlocker
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: BlastDoorFrame
|
||||||
|
parent: BaseStructureDynamic
|
||||||
|
name: blast door frame
|
||||||
|
description: This one says 'BLAST DONGER'.
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Structures/Doors/Shutters/blastdoor.rsi
|
||||||
|
state: assembly
|
||||||
|
- type: InteractionOutline
|
||||||
|
- type: Damageable
|
||||||
|
damageContainer: Inorganic
|
||||||
|
damageModifierSet: Metallic
|
||||||
|
- type: Destructible
|
||||||
|
thresholds:
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 300
|
||||||
|
behaviors:
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
- type: Physics
|
||||||
|
bodyType: Static
|
||||||
|
- type: Fixtures
|
||||||
|
fixtures:
|
||||||
|
fix1:
|
||||||
|
shape:
|
||||||
|
!type:PhysShapeAabb
|
||||||
|
bounds: "-0.45,-0.45,0.45,0.45"
|
||||||
|
density: 55
|
||||||
|
mask:
|
||||||
|
- Impassable
|
||||||
|
- HighImpassable
|
||||||
|
layer:
|
||||||
|
- HighImpassable
|
||||||
|
- type: Transform
|
||||||
|
noRot: true
|
||||||
|
- type: Construction
|
||||||
|
graph: BlastDoor
|
||||||
|
node: frame1
|
||||||
|
placement:
|
||||||
|
mode: SnapgridCenter
|
||||||
|
|||||||
@@ -0,0 +1,109 @@
|
|||||||
|
- type: constructionGraph
|
||||||
|
id: BlastDoor
|
||||||
|
start: start
|
||||||
|
graph:
|
||||||
|
- node: start
|
||||||
|
edges:
|
||||||
|
- to: frame1
|
||||||
|
completed:
|
||||||
|
- !type:SetAnchor
|
||||||
|
value: false
|
||||||
|
steps:
|
||||||
|
- material: Plasteel
|
||||||
|
amount: 10
|
||||||
|
doAfter: 3
|
||||||
|
|
||||||
|
- node: frame1
|
||||||
|
entity: BlastDoorFrame
|
||||||
|
actions:
|
||||||
|
- !type:SnapToGrid {}
|
||||||
|
- !type:SetAnchor {}
|
||||||
|
edges:
|
||||||
|
- to: frame2
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- material: Cable
|
||||||
|
amount: 5
|
||||||
|
doAfter: 2
|
||||||
|
- to: start
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored
|
||||||
|
anchored: false
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: SheetPlasteel1
|
||||||
|
amount: 10
|
||||||
|
- !type:DeleteEntity {}
|
||||||
|
steps:
|
||||||
|
- tool: Welding
|
||||||
|
doAfter: 4
|
||||||
|
|
||||||
|
- node: frame2
|
||||||
|
edges:
|
||||||
|
- to: frame3
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- tag: DoorElectronics
|
||||||
|
store: board
|
||||||
|
name: Door Electronics
|
||||||
|
icon:
|
||||||
|
sprite: "Objects/Misc/module.rsi"
|
||||||
|
state: "door_electronics"
|
||||||
|
doAfter: 2
|
||||||
|
- to: frame1
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: CableApcStack1
|
||||||
|
amount: 5
|
||||||
|
steps:
|
||||||
|
- tool: Cutting
|
||||||
|
doAfter: 4
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 2
|
||||||
|
|
||||||
|
- node: frame3
|
||||||
|
edges:
|
||||||
|
- to: frame4
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- tool: Screwing
|
||||||
|
doAfter: 2
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 3
|
||||||
|
|
||||||
|
- node: frame4
|
||||||
|
edges:
|
||||||
|
- to: blastdoor
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- tool: Anchoring
|
||||||
|
doAfter: 2
|
||||||
|
- to: frame2
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
completed:
|
||||||
|
- !type:EmptyAllContainers
|
||||||
|
pickup: true
|
||||||
|
emptyAtUser: true
|
||||||
|
steps:
|
||||||
|
- tool: Screwing
|
||||||
|
doAfter: 4
|
||||||
|
- tool: Anchoring
|
||||||
|
doAfter: 3
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 3
|
||||||
|
|
||||||
|
- node: blastdoor
|
||||||
|
entity: BlastDoorOpen
|
||||||
|
edges:
|
||||||
|
- to: frame4
|
||||||
|
conditions:
|
||||||
|
- !type:DoorWelded
|
||||||
|
welded: true
|
||||||
|
steps:
|
||||||
|
- tool: Anchoring
|
||||||
|
doAfter: 2
|
||||||
@@ -214,7 +214,6 @@
|
|||||||
conditions:
|
conditions:
|
||||||
- !type:TileNotBlocked
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
|
|
||||||
- type: construction
|
- type: construction
|
||||||
name: diagonal shuttle wall
|
name: diagonal shuttle wall
|
||||||
id: DiagonalShuttleWall
|
id: DiagonalShuttleWall
|
||||||
@@ -715,6 +714,21 @@
|
|||||||
placementMode: SnapgridCenter
|
placementMode: SnapgridCenter
|
||||||
canBuildInImpassable: true
|
canBuildInImpassable: true
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: blast door
|
||||||
|
id: BlastDoor
|
||||||
|
graph: BlastDoor
|
||||||
|
startNode: start
|
||||||
|
targetNode: blastdoor
|
||||||
|
category: construction-category-structures
|
||||||
|
description: This one says 'BLAST DONGER'.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Doors/Shutters/blastdoor.rsi
|
||||||
|
state: closed
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canBuildInImpassable: true
|
||||||
|
|
||||||
- type: construction
|
- type: construction
|
||||||
name: catwalk
|
name: catwalk
|
||||||
id: Catwalk
|
id: Catwalk
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 554 B |
@@ -1 +1,50 @@
|
|||||||
{"name":1,"size":{"x":32,"y":32},"states":[{"name":"closing","directions":1,"delays":[[0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.4]]},{"name":"opening","directions":1,"delays":[[0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.4]]},{"name":"open","directions":1},{"name":"closed","directions":1}],"license":"CC-BY-SA-3.0","copyright":"Tgstation at 97b4295aca9f31a750456e40730d05b5837e39fc","version":1}
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Tgstation at 97b4295aca9f31a750456e40730d05b5837e39fc",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "assembly"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "closing",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.4
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "opening",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.4
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "closed"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user