diff --git a/Resources/Prototypes/Entities/Structures/Power/cable_terminal.yml b/Resources/Prototypes/Entities/Structures/Power/cable_terminal.yml index 028921e01c..ccaec3f878 100644 --- a/Resources/Prototypes/Entities/Structures/Power/cable_terminal.yml +++ b/Resources/Prototypes/Entities/Structures/Power/cable_terminal.yml @@ -32,6 +32,9 @@ - !type:DoActsBehavior acts: ["Destruction"] - type: SubFloorHide + - type: Construction + graph: cable_terminal + node: cable_terminal - type: NodeContainer nodes: # Just define nodes for both MV and HV. One will end up unused in 99% of cases diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/wire_terminal.yml b/Resources/Prototypes/Recipes/Construction/Graphs/wire_terminal.yml new file mode 100644 index 0000000000..dc077f60ed --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/wire_terminal.yml @@ -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 diff --git a/Resources/Prototypes/Recipes/Construction/power.yml b/Resources/Prototypes/Recipes/Construction/power.yml index c048be0aa4..96a44d058f 100644 --- a/Resources/Prototypes/Recipes/Construction/power.yml +++ b/Resources/Prototypes/Recipes/Construction/power.yml @@ -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 {} \ No newline at end of file + - !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