Implement cable terminal construction graph (#4960)
Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
- type: constructionGraph
|
||||
id: cable_terminal
|
||||
start: start
|
||||
graph:
|
||||
- node: start
|
||||
edges:
|
||||
- to: cable_terminal
|
||||
steps:
|
||||
- material: Cable
|
||||
amount: 10
|
||||
doAfter: 2
|
||||
|
||||
- node: cable_terminal
|
||||
entity: CableTerminal
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CableApcStack1
|
||||
amount: 10
|
||||
- !type:DeleteEntity
|
||||
steps:
|
||||
- tool: Cutting
|
||||
doAfter: 3
|
||||
@@ -12,7 +12,7 @@
|
||||
objectType: Structure
|
||||
placementMode: AlignWallProper
|
||||
canBuildInImpassable: true
|
||||
|
||||
|
||||
- type: construction
|
||||
name: Solar Assembly
|
||||
id: SolarPanel
|
||||
@@ -28,4 +28,19 @@
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked {}
|
||||
- !type:TileNotBlocked {}
|
||||
|
||||
- type: construction
|
||||
name: Cable Terminal
|
||||
id: cableTerminal
|
||||
graph: cable_terminal
|
||||
startNode: start
|
||||
targetNode: cable_terminal
|
||||
category: Utility
|
||||
description: "Input of devices such as the SMES. The red cables needs to face the device."
|
||||
icon:
|
||||
sprite: Structures/Power/cable_terminal.rsi
|
||||
state: term
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
|
||||
Reference in New Issue
Block a user