Material Wall Graphs (#10062)
Co-authored-by: Jeff <velcroboy333@hotmail.com>
This commit is contained in:
@@ -241,19 +241,30 @@
|
|||||||
sprite: Structures/Walls/gold.rsi
|
sprite: Structures/Walls/gold.rsi
|
||||||
- type: Icon
|
- type: Icon
|
||||||
sprite: Structures/Walls/gold.rsi
|
sprite: Structures/Walls/gold.rsi
|
||||||
|
- type: Construction
|
||||||
|
graph: Girder
|
||||||
|
node: goldWall
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 300
|
damage: 300
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
Girder:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: ["Destruction"]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 150
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
|
- !type:ChangeConstructionNodeBehavior
|
||||||
|
node: girder
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
destroySound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
- type: IconSmooth
|
- type: IconSmooth
|
||||||
key: walls
|
key: walls
|
||||||
base: gold
|
base: gold
|
||||||
@@ -301,19 +312,30 @@
|
|||||||
sprite: Structures/Walls/plasma.rsi
|
sprite: Structures/Walls/plasma.rsi
|
||||||
- type: Icon
|
- type: Icon
|
||||||
sprite: Structures/Walls/plasma.rsi
|
sprite: Structures/Walls/plasma.rsi
|
||||||
|
- type: Construction
|
||||||
|
graph: Girder
|
||||||
|
node: plasmaWall
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 300
|
damage: 300
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
Girder:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: ["Destruction"]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 150
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
|
- !type:ChangeConstructionNodeBehavior
|
||||||
|
node: girder
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
destroySound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
- type: IconSmooth
|
- type: IconSmooth
|
||||||
key: walls
|
key: walls
|
||||||
base: plasma
|
base: plasma
|
||||||
@@ -331,19 +353,30 @@
|
|||||||
sprite: Structures/Walls/plastic.rsi
|
sprite: Structures/Walls/plastic.rsi
|
||||||
- type: Icon
|
- type: Icon
|
||||||
sprite: Structures/Walls/plastic.rsi
|
sprite: Structures/Walls/plastic.rsi
|
||||||
|
- type: Construction
|
||||||
|
graph: Girder
|
||||||
|
node: plasticWall
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 300
|
damage: 300
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
Girder:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: ["Destruction"]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 150
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
|
- !type:ChangeConstructionNodeBehavior
|
||||||
|
node: girder
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
destroySound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
- type: IconSmooth
|
- type: IconSmooth
|
||||||
key: walls
|
key: walls
|
||||||
base: plastic
|
base: plastic
|
||||||
@@ -460,19 +493,30 @@
|
|||||||
sprite: Structures/Walls/silver.rsi
|
sprite: Structures/Walls/silver.rsi
|
||||||
- type: Icon
|
- type: Icon
|
||||||
sprite: Structures/Walls/silver.rsi
|
sprite: Structures/Walls/silver.rsi
|
||||||
|
- type: Construction
|
||||||
|
graph: Girder
|
||||||
|
node: silverWall
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 300
|
damage: 300
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
Girder:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: ["Destruction"]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 150
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
|
- !type:ChangeConstructionNodeBehavior
|
||||||
|
node: girder
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
destroySound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
- type: IconSmooth
|
- type: IconSmooth
|
||||||
key: walls
|
key: walls
|
||||||
base: silver
|
base: silver
|
||||||
@@ -655,19 +699,30 @@
|
|||||||
sprite: Structures/Walls/uranium.rsi
|
sprite: Structures/Walls/uranium.rsi
|
||||||
- type: Icon
|
- type: Icon
|
||||||
sprite: Structures/Walls/uranium.rsi
|
sprite: Structures/Walls/uranium.rsi
|
||||||
|
- type: Construction
|
||||||
|
graph: Girder
|
||||||
|
node: uraniumWall
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 300
|
damage: 300
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
Girder:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: ["Destruction"]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 150
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
|
- !type:ChangeConstructionNodeBehavior
|
||||||
|
node: girder
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
destroySound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
- type: IconSmooth
|
- type: IconSmooth
|
||||||
key: walls
|
key: walls
|
||||||
base: uranium
|
base: uranium
|
||||||
@@ -677,27 +732,34 @@
|
|||||||
id: WallWood
|
id: WallWood
|
||||||
name: wood wall
|
name: wood wall
|
||||||
components:
|
components:
|
||||||
- type: Tag
|
|
||||||
tags:
|
|
||||||
- Wall
|
|
||||||
- RCDDeconstructWhitelist
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Walls/wood.rsi
|
sprite: Structures/Walls/wood.rsi
|
||||||
- type: Icon
|
- type: Icon
|
||||||
sprite: Structures/Walls/wood.rsi
|
sprite: Structures/Walls/wood.rsi
|
||||||
|
- type: Construction
|
||||||
|
graph: Girder
|
||||||
|
node: woodWall
|
||||||
- type: Destructible
|
- type: Destructible
|
||||||
thresholds:
|
thresholds:
|
||||||
- trigger:
|
- trigger:
|
||||||
!type:DamageTrigger
|
!type:DamageTrigger
|
||||||
damage: 300
|
damage: 300 # #excess damage (nuke?). avoid computational cost of spawning entities.
|
||||||
behaviors:
|
behaviors:
|
||||||
- !type:SpawnEntitiesBehavior
|
|
||||||
spawn:
|
|
||||||
Girder:
|
|
||||||
min: 1
|
|
||||||
max: 1
|
|
||||||
- !type:DoActsBehavior
|
- !type:DoActsBehavior
|
||||||
acts: [ "Destruction" ]
|
acts: ["Destruction"]
|
||||||
|
- trigger:
|
||||||
|
!type:DamageTrigger
|
||||||
|
damage: 150
|
||||||
|
behaviors:
|
||||||
|
- !type:PlaySoundBehavior
|
||||||
|
sound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
|
- !type:ChangeConstructionNodeBehavior
|
||||||
|
node: girder
|
||||||
|
- !type:DoActsBehavior
|
||||||
|
acts: ["Destruction"]
|
||||||
|
destroySound:
|
||||||
|
path: /Audio/Effects/metalbreak.ogg
|
||||||
- type: IconSmooth
|
- type: IconSmooth
|
||||||
key: walls
|
key: walls
|
||||||
base: wood
|
base: wood
|
||||||
|
|||||||
@@ -56,6 +56,76 @@
|
|||||||
amount: 2
|
amount: 2
|
||||||
doAfter: 1
|
doAfter: 1
|
||||||
|
|
||||||
|
- to: woodWall
|
||||||
|
completed:
|
||||||
|
- !type:SnapToGrid
|
||||||
|
southRotation: true
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- material: WoodPlank
|
||||||
|
amount: 2
|
||||||
|
doAfter: 2
|
||||||
|
|
||||||
|
- to: uraniumWall
|
||||||
|
completed:
|
||||||
|
- !type:SnapToGrid
|
||||||
|
southRotation: true
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- material: Uranium
|
||||||
|
amount: 2
|
||||||
|
- tool: Welding
|
||||||
|
doAfter: 10
|
||||||
|
|
||||||
|
- to: silverWall
|
||||||
|
completed:
|
||||||
|
- !type:SnapToGrid
|
||||||
|
southRotation: true
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- material: Silver
|
||||||
|
amount: 2
|
||||||
|
- tool: Welding
|
||||||
|
doAfter: 20
|
||||||
|
|
||||||
|
- to: plasticWall
|
||||||
|
completed:
|
||||||
|
- !type:SnapToGrid
|
||||||
|
southRotation: true
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- material: Plastic
|
||||||
|
amount: 2
|
||||||
|
doAfter: 2
|
||||||
|
|
||||||
|
- to: plasmaWall
|
||||||
|
completed:
|
||||||
|
- !type:SnapToGrid
|
||||||
|
southRotation: true
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- material: Plasma
|
||||||
|
amount: 2
|
||||||
|
- tool: Welding
|
||||||
|
doAfter: 20
|
||||||
|
|
||||||
|
- to: goldWall
|
||||||
|
completed:
|
||||||
|
- !type:SnapToGrid
|
||||||
|
southRotation: true
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- material: Gold
|
||||||
|
amount: 2
|
||||||
|
- tool: Welding
|
||||||
|
doAfter: 20
|
||||||
|
|
||||||
- node: wall
|
- node: wall
|
||||||
entity: WallSolid
|
entity: WallSolid
|
||||||
edges:
|
edges:
|
||||||
@@ -68,6 +138,86 @@
|
|||||||
- tool: Welding
|
- tool: Welding
|
||||||
doAfter: 10
|
doAfter: 10
|
||||||
|
|
||||||
|
- node: woodWall
|
||||||
|
entity: WallWood
|
||||||
|
edges:
|
||||||
|
- to: girder
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: MaterialWoodPlank1
|
||||||
|
amount: 2
|
||||||
|
steps:
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 10
|
||||||
|
|
||||||
|
- node: uraniumWall
|
||||||
|
entity: WallUranium
|
||||||
|
edges:
|
||||||
|
- to: girder
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: SheetUranium1
|
||||||
|
amount: 2
|
||||||
|
steps:
|
||||||
|
- tool: Welding
|
||||||
|
doAfter: 10
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 10
|
||||||
|
|
||||||
|
- node: silverWall
|
||||||
|
entity: WallSilver
|
||||||
|
edges:
|
||||||
|
- to: girder
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: IngotSilver1
|
||||||
|
amount: 2
|
||||||
|
steps:
|
||||||
|
- tool: Welding
|
||||||
|
doAfter: 20
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 10
|
||||||
|
|
||||||
|
- node: plasticWall
|
||||||
|
entity: WallPlastic
|
||||||
|
edges:
|
||||||
|
- to: girder
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: SheetSteel1
|
||||||
|
amount: 2
|
||||||
|
steps:
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 10
|
||||||
|
|
||||||
|
- node: plasmaWall
|
||||||
|
entity: WallPlasma
|
||||||
|
edges:
|
||||||
|
- to: girder
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: SheetPlasma1
|
||||||
|
amount: 2
|
||||||
|
steps:
|
||||||
|
- tool: Welding
|
||||||
|
doAfter: 20
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 10
|
||||||
|
|
||||||
|
- node: goldWall
|
||||||
|
entity: WallGold
|
||||||
|
edges:
|
||||||
|
- to: girder
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: IngotGold1
|
||||||
|
amount: 2
|
||||||
|
steps:
|
||||||
|
- tool: Welding
|
||||||
|
doAfter: 20
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 10
|
||||||
|
|
||||||
- node: reinforcedGirder
|
- node: reinforcedGirder
|
||||||
actions:
|
actions:
|
||||||
- !type:SpriteChange
|
- !type:SpriteChange
|
||||||
|
|||||||
@@ -51,6 +51,114 @@
|
|||||||
canBuildInImpassable: false
|
canBuildInImpassable: false
|
||||||
conditions:
|
conditions:
|
||||||
- !type:TileNotBlocked
|
- !type:TileNotBlocked
|
||||||
|
# here
|
||||||
|
- type: construction
|
||||||
|
name: wood wall
|
||||||
|
id: WoodWall
|
||||||
|
graph: Girder
|
||||||
|
startNode: start
|
||||||
|
targetNode: woodWall
|
||||||
|
category: Structures
|
||||||
|
description: Keeps the air in and the greytide out.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Walls/wood.rsi
|
||||||
|
state: full
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canRotate: false
|
||||||
|
canBuildInImpassable: false
|
||||||
|
conditions:
|
||||||
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: uranium wall
|
||||||
|
id: UraniumWall
|
||||||
|
graph: Girder
|
||||||
|
startNode: start
|
||||||
|
targetNode: uraniumWall
|
||||||
|
category: Structures
|
||||||
|
description: Keeps the air in and the greytide out.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Walls/uranium.rsi
|
||||||
|
state: full
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canRotate: false
|
||||||
|
canBuildInImpassable: false
|
||||||
|
conditions:
|
||||||
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: silver wall
|
||||||
|
id: SilverWall
|
||||||
|
graph: Girder
|
||||||
|
startNode: start
|
||||||
|
targetNode: silverWall
|
||||||
|
category: Structures
|
||||||
|
description: Keeps the air in and the greytide out.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Walls/silver.rsi
|
||||||
|
state: full
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canRotate: false
|
||||||
|
canBuildInImpassable: false
|
||||||
|
conditions:
|
||||||
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: plastic wall
|
||||||
|
id: PlasticWall
|
||||||
|
graph: Girder
|
||||||
|
startNode: start
|
||||||
|
targetNode: plasticWall
|
||||||
|
category: Structures
|
||||||
|
description: Keeps the air in and the greytide out.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Walls/plastic.rsi
|
||||||
|
state: full
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canRotate: false
|
||||||
|
canBuildInImpassable: false
|
||||||
|
conditions:
|
||||||
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: plasma wall
|
||||||
|
id: PlasmaWall
|
||||||
|
graph: Girder
|
||||||
|
startNode: start
|
||||||
|
targetNode: plasmaWall
|
||||||
|
category: Structures
|
||||||
|
description: Keeps the air in and the greytide out.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Walls/plasma.rsi
|
||||||
|
state: full
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canRotate: false
|
||||||
|
canBuildInImpassable: false
|
||||||
|
conditions:
|
||||||
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
|
- type: construction
|
||||||
|
name: gold wall
|
||||||
|
id: GoldWall
|
||||||
|
graph: Girder
|
||||||
|
startNode: start
|
||||||
|
targetNode: goldWall
|
||||||
|
category: Structures
|
||||||
|
description: Keeps the air in and the greytide out.
|
||||||
|
icon:
|
||||||
|
sprite: Structures/Walls/gold.rsi
|
||||||
|
state: full
|
||||||
|
objectType: Structure
|
||||||
|
placementMode: SnapgridCenter
|
||||||
|
canRotate: false
|
||||||
|
canBuildInImpassable: false
|
||||||
|
conditions:
|
||||||
|
- !type:TileNotBlocked
|
||||||
|
|
||||||
- type: construction
|
- type: construction
|
||||||
name: grille
|
name: grille
|
||||||
|
|||||||
Reference in New Issue
Block a user