Проверь на правильность прототип

- type: entity
  id: UnlitCampfire
  parent: BaseStructure
  name: костёр
  suffix: не зажённый
  description: Что может быть лучше позднего вечера под открытым небом с гитарой и друзьями.
  components:
  - type: Sprite
    noRot: true
    sprite: Structures/Decoration/bonfire.rsi
    layers:
    - state: bonfire
  - type: Damageable
    damageContainer: Inorganic
    damageModifierSet: Wood
  - type: Destructible
    thresholds:
      - trigger:
          !type:DamageTrigger
          damage: 50
        behaviors:
          - !type:DoActsBehavior
            acts: ["Destruction"]
  - type: Construction
    graph: CampfireGraph
    node: unlit
  - type: Physics
    bodyType: Static
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.45,-0.45,0.45,0.45"
        density: 55
        mask:
        - Impassable
        layer:
        - HighImpassable

- type: entity
  id: LitCampfire
  parent: UnlitCampfire
  name: костёр
  suffix: зажённый
  description: Что может быть лучше позднего вечера под открытым небом с гитарой и друзьями.
  components:
  - type: Sprite
    noRot: true
    sprite: Structures/Decoration/bonfire.rsi
    layers:
    - state: burning
  - type: PointLight
    radius: 5
    energy: 3
    color: "#FFC90C"
  - type: AmbientSound
    volume: -5
    range: 5
    sound:
      path: /Audio/Ambience/Objects/fireplace.ogg
  - type: Construction
    graph: CampfireGraph
    node: lit
  - type: Damageable
    damageContainer: StructuralInorganic
    damageModifierSet: Wood
  - type: Destructible
    thresholds:
      - trigger:
          !type:DamageTrigger
          damage: 50
        behaviors:
          - !type:DoActsBehavior
            acts: ["Destruction"]

- type: constructionGraph
  id: CampfireGraph
  start: start
  graph:
    - node: start
      edges:
        - to: unlit
          steps:
            - material: WoodPlank
              amount: 5
              doAfter: 3

    - node: unlit
      entity: UnlitCampfire
      edges:
        - to: lit
          steps:
            - tool: Welding
              doAfter: 1
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: MaterialWoodPlank
              amount: 3
            - !type:DeleteEntity {}
          steps:
            - tool: Prying
              doAfter: 3

    - node: lit
      entity: LitCampfire
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: Coal1
              amount: 1
            - !type:DeleteEntity {}
          steps:
            - tool: Prying
              doAfter: 1

- type: construction
  name: костёр
  id: UnlitCampfireConstruction
  graph: CampfireGraph
  startNode: start
  targetNode: lit
  category: construction-category-furniture
  description: Что может быть лучше позднего вечера под открытым небом с гитарой и друзьями.
  icon:
    sprite: Structures/Decoration/bonfire.rsi
    state: burning
  objectType: Structure
  placementMode: SnapgridCenter
  canBuildInImpassable: false
  conditions:
    - !type:TileNotBlocked

- type: entity
  id: FireplaceUnlit
  parent: BaseStructure
  name: камин
  suffix: не зажённый
  description: Очаг, в котором горит огонь. Уютно!
  components:
  - type: Sprite
    sprite: Structures/Decoration/fireplace.rsi
    layers:
      - state: fireplace
      - state: fireplacefestive
        map: ["christmas"]
        visible: false
      - state: fireplace_fire4
        shader: unshaded
        visible: false
      - state: fireplace_glow
        shader: unshaded
        visible: false
  - type: Appearance
  - type: HolidayVisuals
    holidays:
      festive:
      - FestiveSeason
  - type: GenericVisualizer
    visuals:
      enum.HolidayVisuals.Holiday:
        christmas:
          festive: { visible: true }
  - type: AmbientSound
    volume: -6
    range: 5
    sound:
      path: /Audio/Ambience/Objects/fireplace.ogg
  - type: PointLight
    radius: 3
    energy: 3
    color: "#FF6F00"
  - type: Construction
    graph: FireplaceGraph
    node: unlit
  - type: Damageable
    damageContainer: Inorganic
    damageModifierSet: Metallic
  - type: Destructible
    thresholds:
      - trigger:
          !type:DamageTrigger
          damage: 200
        behaviors:
          - !type:DoActsBehavior
            acts: [ "Destruction" ]
  - type: AlwaysHot

- type: entity
  id: FireplaceLit
  parent: BaseStructure
  name: камин
  suffix: зажённый
  description: Очаг, в котором горит огонь. Уютно!
  components:
  - type: Sprite
    sprite: Structures/Decoration/fireplace.rsi
    layers:
      - state: fireplace
      - state: fireplacefestive
        map: ["christmas"]
        visible: false
      - state: fireplace_fire4
        shader: unshaded
        visible: true
      - state: fireplace_glow
        shader: unshaded
        visible: true
  - type: Appearance
  - type: HolidayVisuals
    holidays:
      festive:
      - FestiveSeason
  - type: GenericVisualizer
    visuals:
      enum.HolidayVisuals.Holiday:
        christmas:
          festive: { visible: true }
  - type: AmbientSound
    volume: -6
    range: 5
    sound:
      path: /Audio/Ambience/Objects/fireplace.ogg
  - type: PointLight
    radius: 3
    energy: 3
    color: "#FF6F00"
  - type: Construction
    graph: FireplaceGraph
    node: lit
  - type: Damageable
    damageContainer: Inorganic
    damageModifierSet: Metallic
  - type: Destructible
    thresholds:
      - trigger:
          !type:DamageTrigger
          damage: 200
        behaviors:
          - !type:DoActsBehavior
            acts: [ "Destruction" ]
  - type: AlwaysHot

- type: constructionGraph
  id: FireplaceGraph
  start: start
  graph:
    - node: start
      edges:
        - to: unlit
          steps:
            - material: Plasteel
              amount: 10
              doAfter: 3
            - material: Steel
              amount: 5
              doAfter: 2
            - material: WoodPlank
              amount: 3
              doAfter: 1

    - node: unlit
      entity: FireplaceUnlit
      edges:
        - to: lit
          steps:
            - tool: Welding
              doAfter: 1
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetPlasteel1
              amount: 10
            - !type:SpawnPrototype
              prototype: SheetSteel1
              amount: 5
            - !type:DeleteEntity {}
          steps:
            - tool: Prying
              doAfter: 5

    - node: lit
      entity: FireplaceLit
      edges:
        - to: start
          completed:
            - !type:SpawnPrototype
              prototype: SheetPlasteel1
              amount: 10
            - !type:SpawnPrototype
              prototype: SheetSteel1
              amount: 5
            - !type:DeleteEntity {}
          steps:
            - tool: Prying
              doAfter: 5

- type: construction
  name: камин
  id: FireplaceUnlitConstruction
  graph: FireplaceGraph
  startNode: start
  targetNode: lit
  category: construction-category-furniture
  description: Очаг, в котором горит огонь. Уютно!
  icon:
    sprite: Structures/Decoration/fireplace.rsi
    layers:
      - state: fireplace
      - state: fireplacefestive
        map: ["christmas"]
        visible: false
      - state: fireplace_fire4
        shader: unshaded
        visible: true
      - state: fireplace_glow
        shader: unshaded
        visible: true
  objectType: Structure
  placementMode: SnapgridCenter
  canBuildInImpassable: false
  conditions:
    - !type:TileNotBlocked