@@ -86,6 +86,9 @@
|
|||||||
sprite: Structures/barricades.rsi
|
sprite: Structures/barricades.rsi
|
||||||
state: barricade_directional
|
state: barricade_directional
|
||||||
noRot: false #Results in smoother rotation when turning the camera, the sprite's dirs are just it rotated anyways so there's no reason to not set this.
|
noRot: false #Results in smoother rotation when turning the camera, the sprite's dirs are just it rotated anyways so there's no reason to not set this.
|
||||||
|
- type: Construction
|
||||||
|
graph: BarricadeDirectional
|
||||||
|
node: barricadefull
|
||||||
- type: Physics
|
- type: Physics
|
||||||
- type: Fixtures
|
- type: Fixtures
|
||||||
fixtures:
|
fixtures:
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
- material: WoodPlank
|
- material: WoodPlank
|
||||||
amount: 4
|
amount: 4
|
||||||
doAfter: 3
|
doAfter: 3
|
||||||
|
|
||||||
- node: barricadefull
|
- node: barricadefull
|
||||||
entity: Barricade
|
entity: Barricade
|
||||||
edges:
|
edges:
|
||||||
@@ -28,3 +27,29 @@
|
|||||||
- tool: Prying
|
- tool: Prying
|
||||||
doAfter: 5
|
doAfter: 5
|
||||||
|
|
||||||
|
- type: constructionGraph
|
||||||
|
id: BarricadeDirectional
|
||||||
|
start: start
|
||||||
|
graph:
|
||||||
|
- node: start
|
||||||
|
edges:
|
||||||
|
- to: barricadefull
|
||||||
|
steps:
|
||||||
|
- material: WoodPlank
|
||||||
|
amount: 4
|
||||||
|
doAfter: 3
|
||||||
|
- node: barricadefull
|
||||||
|
entity: BarricadeDirectional
|
||||||
|
edges:
|
||||||
|
- to: start
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: MaterialWoodPlank1
|
||||||
|
amount: 3 #returns 1 less as one breaks
|
||||||
|
- !type:DeleteEntity {}
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored
|
||||||
|
anchored: true
|
||||||
|
steps:
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 5
|
||||||
|
|||||||
@@ -454,7 +454,7 @@
|
|||||||
placementMode: SnapgridCenter
|
placementMode: SnapgridCenter
|
||||||
canRotate: false
|
canRotate: false
|
||||||
|
|
||||||
- type: construction
|
- type: construction
|
||||||
name: diagonal plasma window
|
name: diagonal plasma window
|
||||||
id: PlasmaWindowDiagonal
|
id: PlasmaWindowDiagonal
|
||||||
graph: WindowDiagonal
|
graph: WindowDiagonal
|
||||||
@@ -775,6 +775,23 @@
|
|||||||
conditions:
|
conditions:
|
||||||
- !type:TileNotBlocked
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: wooden barricade
|
||||||
|
id: BarricadeDirectional
|
||||||
|
graph: BarricadeDirectional
|
||||||
|
startNode: start
|
||||||
|
targetNode: barricadefull
|
||||||
|
category: construction-category-structures
|
||||||
|
description: An improvised barricade made out of wooden planks.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/barricades.rsi
|
||||||
|
state: barricade_directional
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canBuildInImpassable: false
|
||||||
|
conditions:
|
||||||
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
- type: construction
|
- type: construction
|
||||||
name: railing
|
name: railing
|
||||||
id: Railing
|
id: Railing
|
||||||
@@ -1277,4 +1294,4 @@
|
|||||||
sprite: Structures/Doors/secret_door.rsi
|
sprite: Structures/Doors/secret_door.rsi
|
||||||
state: closed
|
state: closed
|
||||||
conditions:
|
conditions:
|
||||||
- !type:TileNotBlocked
|
- !type:TileNotBlocked
|
||||||
|
|||||||
Reference in New Issue
Block a user