- type: constructionGraph
  id: Seat
  start: start
  graph:
    - node: start
      actions:
        - !type:DestroyEntity {}
      edges:
        - to: chair
          steps:
            - material: Steel
              amount: 1
              doAfter: 1
        - to: stool
          steps:
            - material: Steel
              amount: 1
              doAfter: 1
        - to: stoolBar
          steps:
            - material: Steel
              amount: 1
              doAfter: 1
        - to: chairBrass
          steps:
            - material: Brass
              amount: 1
              doAfter: 1
        - to: chairOffice
          steps:
            - material: Steel
              amount: 2
              doAfter: 1
        - to: chairOfficeDark
          steps:
            - material: Steel
              amount: 2
              doAfter: 1
        - to: chairComfy
          steps:
            - material: Steel
              amount: 2
              doAfter: 1
        - to: chairPilotSeat
          steps:
            - material: Steel
              amount: 2
              doAfter: 1
        - to: chairWood
          steps:
            - material: WoodPlank
              amount: 3
              doAfter: 1
        - to: chairMeat
          steps:
            - material: MeatSheets
              amount: 2
              doAfter: 1
        - to: chairFolding
          steps:
            - material: Plastic
              amount: 1
              doAfter: 1
            - material: MetalRod
              amount: 2
        - to: chairSteelBench
          steps:
            - material: Steel
              amount: 2
              doAfter: 1
        - to: stoolCard
          steps:
            - material: Cardboard
              amount: 3
              doAfter: 1
        - to: chairWoodBench
          steps:
            - material: WoodPlank
              amount: 4
              doAfter: 2
        - to: redComfBench
          steps:
            - material: Steel
              amount: 2
              doAfter: 1
            - material: Cloth
              amount: 1
        - to: blueComfBench
          steps:
            - material: Steel
              amount: 2
              doAfter: 1
            - material: Cloth
              amount: 1

    - node: chair
      entity: Chair
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
          steps:
            - tool: Screwing
              doAfter: 1

    - node: stool
      entity: Stool
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
          steps:
            - tool: Screwing
              doAfter: 1

    - node: stoolBar
      entity: StoolBar
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
          steps:
            - tool: Screwing
              doAfter: 1

    - node: chairBrass
      entity: ChairBrass
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetBrass1
          steps:
            - tool: Screwing
              doAfter: 1

    - node: chairOffice
      entity: ChairOfficeLight
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
              amount: 2
          steps:
            - tool: Screwing
              doAfter: 1

    - node: chairOfficeDark
      entity: ChairOfficeDark
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
              amount: 2
          steps:
            - tool: Screwing
              doAfter: 1

    - node: chairComfy
      entity: ComfyChair
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
              amount: 2
          steps:
            - tool: Screwing
              doAfter: 1

    - node: chairPilotSeat
      entity: ChairPilotSeat
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
              amount: 2
          steps:
            - tool: Screwing
              doAfter: 2

    - node: chairWood
      entity: ChairWood
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: MaterialWoodPlank1
              amount: 3
          steps:
            - tool: Screwing
              doAfter: 1

    - node: chairMeat
      entity: ChairMeat
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: MaterialSheetMeat1
              amount: 2
          steps:
            - tool: Screwing
              doAfter: 1

    - node: chairFolding
      entity: ChairFolding
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetPlastic1
              amount: 1
            - !type:SpawnPrototype
              prototype: PartRodMetal1
              amount: 2
          steps:
            - tool: Screwing
              doAfter: 1

    - node: chairSteelBench
      entity: SteelBench
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
              amount: 2
          steps:
            - tool: Screwing
              doAfter: 1

    - node: stoolCard
      entity: CardStool
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: MaterialCardboard1
              amount: 3
            - !type:PlaySound
              sound: /Audio/Items/Toys/ToyFall2.ogg
          steps:
            - tool: Slicing
              doAfter: 1

    - node: chairWoodBench
      entity: WoodenBench
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: MaterialWoodPlank1
              amount: 4
          steps:
            - tool: Screwing
              doAfter: 2

    - node: redComfBench
      entity: BenchRedComfy
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
              amount: 2
            - !type:SpawnPrototype
              prototype: MaterialCloth1
              amount: 1
          steps:
            - tool: Cutting
              doAfter: 1
            - tool: Screwing
              doAfter: 1

    - node: blueComfBench
      entity: BenchBlueComfy
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetSteel1
              amount: 2
            - !type:SpawnPrototype
              prototype: MaterialCloth1
              amount: 1
          steps:
            - tool: Cutting
              doAfter: 1
            - tool: Screwing
              doAfter: 1
