# SPDX-FileCopyrightText: 2024 Ed <96445749+TheShuEd@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: RandomWoodenSupport
  name: wooden support spawner
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: red
      - sprite: Objects/Decoration/mines.rsi
        state: support
  - type: RandomSpawner
    prototypes:
      - WoodenSupport
      - WoodenSupportBeam
      - WoodenSupportBeam
      - WoodenSupportBeam
    chance: 0.9

- type: entity
  id: RandomWoodenWall
  name: wooden wall spawner
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: red
      - sprite: Objects/Decoration/mines.rsi
        state: support_wall
  - type: RandomSpawner
    prototypes:
      - WoodenSupportWall
      - WoodenSupportWallBroken
    chance: 0.9

- type: entity
  id: RandomStalagmiteOrCrystal
  name: stalagmite or crystal spawner
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: red
      - sprite: Objects/Decoration/Flora/flora_stalagmite.rsi
        state: stalagmite2
  - type: RandomSpawner
    offset: 0.3
    prototypes:
      - RandomBrownStalagmite
      - RandomGreyStalagmite
      - CrystalSpawner
    chance: 0.9

- type: entity
  id: RandomBrownStalagmite
  name: brown stalagmite spawner
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: red
      - sprite: Objects/Decoration/Flora/flora_stalagmite.rsi
        state: stalagmite2
  - type: RandomSpawner
    offset: 0.3
    prototypes:
      - FloraStalagmite
    chance: 0.9

- type: entity
  id: RandomGreyStalagmite
  name: grey stalagmite spawner
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
      - state: red
      - sprite: Objects/Decoration/Flora/flora_stalagmite.rsi
        state: grey_stalagmite3
  - type: RandomSpawner
    offset: 0.3
    prototypes:
      - FloraGreyStalagmite
    chance: 0.9