- type: constructionGraph
  parent: RMC
  id: RMCWindowWood
  start: start
  graph:
  - node: start # not currently buildable

  - node: windowFrameWood
    entity: RMCWindowFrameWood
    edges:
    - to: start
      completed:
      - !type:SpawnPrototype
        prototype: CMSheetMetal1
        amount: 2
      - !type:DeleteEntity
      conditions:
      - !type:EntityAnchored {}
      steps:
      - tool: Anchoring
        doAfter: 2
        duplicateConditions: All

    - to: windowWood
      completed:
      - !type:SnapToGrid
        southRotation: true
      conditions:
      - !type:EntityAnchored {}
      steps:
      - material: CMGlass
        amount: 2
        doAfter: 2

    - to: windowWoodReinforced
      completed:
      - !type:SnapToGrid
        southRotation: true
      conditions:
      - !type:EntityAnchored {}
      steps:
      - material: CMGlassReinforced
        amount: 2
        doAfter: 2

  - node: windowWood
    entity: RMCWindowWood
    edges:
    - to: windowFrameWood
      completed:
      - !type:SnapToGrid
        southRotation: true
      - !type:SpawnPrototype
        prototype: CMSheetGlass1
        amount: 2
      conditions:
      - !type:EntityAnchored {}
      steps:
      - tool: Screwing
      - tool: Prying
      - tool: Screwing

  - node: windowWoodReinforced
    entity: RMCWindowWoodReinforced
    edges:
    - to: windowFrameWood
      completed:
      - !type:SnapToGrid
        southRotation: true
      - !type:SpawnPrototype
        prototype: CMSheetGlassReinforced1
        amount: 2
      conditions:
      - !type:EntityAnchored {}
      steps:
      - tool: Screwing
      - tool: Prying
      - tool: Screwing
