# SPDX-FileCopyrightText: 2024 Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: MIT

- type: constructionGraph
  id: PipeBomb
  start: start
  graph:
  - node: start
    edges:
    - to: gunpowder
      steps:
      - tag: Pipe
        icon:
          sprite: Structures/Piping/Atmospherics/pipe.rsi
          state: pipeStraight
        name: construction-graph-tag-pipe
      - material: Steel
        amount: 1
        doAfter: 3
  - node: gunpowder
    entity: PipeBombGunpowder
    edges:
    - to: cable
      steps:
      - material: Gunpowder
        amount: 5
        doAfter: 3
  - node: cable
    entity: PipeBombCable
    edges:
    - to: pipebomb
      steps:
      - material: Cable
        amount: 5
        doAfter: 2
  - node: pipebomb
    entity: PipeBomb
    edges:
    - to: cable
      completed:
      - !type:SpawnPrototype
        prototype: CableApcStack1
        amount: 5
      steps:
      - tool: Cutting
        doAfter: 2