Crafting for spike rack, signal switches and buttons. (#7420)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
- type: constructionGraph
|
||||
id: MeatSpike
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: MeatSpike
|
||||
completed:
|
||||
- !type:SnapToGrid
|
||||
southRotation: true
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 15
|
||||
doAfter: 10
|
||||
- node: MeatSpike
|
||||
entity: KitchenSpike
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 15
|
||||
conditions:
|
||||
- !type:EntityAnchored
|
||||
anchored: false
|
||||
steps:
|
||||
- tool: Welding
|
||||
doAfter: 10
|
||||
@@ -0,0 +1,99 @@
|
||||
# Levers
|
||||
- type: constructionGraph
|
||||
id: LeverGraph
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
actions:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 2
|
||||
- !type:DeleteEntity {}
|
||||
edges:
|
||||
- to: LeverNode
|
||||
completed:
|
||||
- !type:SnapToGrid {}
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- node: LeverNode
|
||||
entity: TwoWayLever
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Anchoring
|
||||
doAfter: 1
|
||||
|
||||
# Switches
|
||||
- type: constructionGraph
|
||||
id: LightSwitchGraph
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: LightSwitchNode
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 1
|
||||
doAfter: 2.0
|
||||
- node: LightSwitchNode
|
||||
entity: ApcNetSwitch
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 2.0
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 1
|
||||
- !type:DeleteEntity {}
|
||||
|
||||
- type: constructionGraph
|
||||
id: SignalSwitchGraph
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: SignalSwitchNode
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 1
|
||||
doAfter: 2.0
|
||||
- node: SignalSwitchNode
|
||||
entity: SignalSwitch
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 2.0
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 1
|
||||
- !type:DeleteEntity {}
|
||||
|
||||
- type: constructionGraph
|
||||
id: SignalButtonGraph
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: SignalButtonNode
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 1
|
||||
doAfter: 2.0
|
||||
- node: SignalButtonNode
|
||||
entity: SignalButton
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 2.0
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 1
|
||||
- !type:DeleteEntity {}
|
||||
@@ -28,30 +28,4 @@
|
||||
- to: item
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 3
|
||||
|
||||
- type: constructionGraph
|
||||
id: LeverGraph
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
actions:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 2
|
||||
- !type:DeleteEntity {}
|
||||
edges:
|
||||
- to: lever
|
||||
completed:
|
||||
- !type:SnapToGrid {}
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- node: lever
|
||||
entity: TwoWayLever
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Anchoring
|
||||
doAfter: 1
|
||||
doAfter: 3
|
||||
@@ -63,29 +63,4 @@
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 5
|
||||
- !type:DeleteEntity {}
|
||||
|
||||
|
||||
- type: constructionGraph
|
||||
id: LightSwitch
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: lightSwitch
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 1
|
||||
doAfter: 2.0
|
||||
- node: lightSwitch
|
||||
entity: ApcNetSwitch
|
||||
edges:
|
||||
- to: start
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 2.0
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 1
|
||||
- !type:DeleteEntity {}
|
||||
- !type:DeleteEntity {}
|
||||
@@ -359,3 +359,20 @@
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
id: MeatSpike
|
||||
name: meat spike
|
||||
description: A spike found in kitchens butchering animals.
|
||||
graph: MeatSpike
|
||||
startNode: start
|
||||
targetNode: MeatSpike
|
||||
category: Furniture
|
||||
icon:
|
||||
sprite: Structures/meat_spike.rsi
|
||||
state: spike
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
@@ -23,3 +23,74 @@
|
||||
icon:
|
||||
sprite: Structures/Machines/parts.rsi
|
||||
state: "box_0"
|
||||
|
||||
# Switching
|
||||
- type: construction
|
||||
name: two-way lever
|
||||
id: TwoWayLeverRecipe
|
||||
graph: LeverGraph
|
||||
startNode: start
|
||||
targetNode: LeverNode
|
||||
category: Machines
|
||||
description: A lever to control machines. It has 3 modes.
|
||||
objectType: Structure
|
||||
canBuildInImpassable: false
|
||||
icon:
|
||||
sprite: Structures/conveyor.rsi
|
||||
state: switch-off
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
name: light switch
|
||||
id: LightSwitchRecipe
|
||||
graph: LightSwitchGraph
|
||||
startNode: start
|
||||
targetNode: LightSwitchNode
|
||||
category: Machines
|
||||
description: A switch for toggling lights that are connected to the same apc.
|
||||
icon:
|
||||
sprite: Structures/Wallmounts/switch.rsi
|
||||
state: on
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canRotate: true
|
||||
canBuildInImpassable: true
|
||||
conditions:
|
||||
- !type:WallmountCondition
|
||||
|
||||
- type: construction
|
||||
name: signal switch
|
||||
id: SignalSwitchRecipe
|
||||
graph: SignalSwitchGraph
|
||||
startNode: start
|
||||
targetNode: SignalSwitchNode
|
||||
category: Machines
|
||||
description: It's a switch for toggling power to things.
|
||||
icon:
|
||||
sprite: Structures/Wallmounts/switch.rsi
|
||||
state: on
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canRotate: true
|
||||
canBuildInImpassable: true
|
||||
conditions:
|
||||
- !type:WallmountCondition
|
||||
|
||||
- type: construction
|
||||
name: signal button
|
||||
id: SignalButtonRecipe
|
||||
graph: SignalButtonGraph
|
||||
startNode: start
|
||||
targetNode: SignalButtonNode
|
||||
category: Machines
|
||||
description: It's a button for activating something.
|
||||
icon:
|
||||
sprite: Structures/Wallmounts/switch.rsi
|
||||
state: on
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canRotate: true
|
||||
canBuildInImpassable: true
|
||||
conditions:
|
||||
- !type:WallmountCondition
|
||||
@@ -469,25 +469,6 @@
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
name: light switch
|
||||
id: LightSwitchRecipe
|
||||
graph: LightSwitch
|
||||
startNode: start
|
||||
targetNode: lightSwitch
|
||||
category: Structures
|
||||
description: A switch for toggling lights that are connected to the same apc.
|
||||
icon:
|
||||
sprite: Structures/Wallmounts/switch.rsi
|
||||
state: on
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canRotate: true
|
||||
canBuildInImpassable: true
|
||||
conditions:
|
||||
- !type:WallmountCondition
|
||||
|
||||
|
||||
#conveyor
|
||||
- type: construction
|
||||
name: conveyor belt
|
||||
@@ -506,22 +487,6 @@
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
name: two-way lever
|
||||
id: TwoWayLever
|
||||
graph: LeverGraph
|
||||
startNode: start
|
||||
targetNode: lever
|
||||
category: Structures
|
||||
description: A lever to control machines. It has 3 modes.
|
||||
objectType: Structure
|
||||
canBuildInImpassable: false
|
||||
icon:
|
||||
sprite: Structures/conveyor.rsi
|
||||
state: switch-off
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
name: metal door
|
||||
id: MetalDoor
|
||||
|
||||
Reference in New Issue
Block a user