# SPDX-FileCopyrightText: 2021 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Swept <sweptwastaken@protonmail.com>
# SPDX-FileCopyrightText: 2021 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: MIT

- type: entity
  name: Random Sheet Spawner
  id: BedsheetSpawner
  parent: MarkerBase
  components:
    - type: Sprite
      layers:
        - state: red
        - sprite: Objects/Misc/bedsheets.rsi
          state: random_bedsheet
    - type: RandomSpawner
      rarePrototypes:
        - BedsheetIan
        - BedsheetCosmos
      rareChance: 0.03
      prototypes:
        - BedsheetBlue
        - BedsheetYellow
        - BedsheetOrange
        - BedsheetGreen
        - BedsheetNT
        - BedsheetRed
        - BedsheetUSA
        - BedsheetBrown
        - BedsheetBlack
        - BedsheetPurple
        - BedsheetGrey
        - BedsheetWhite
        - BedsheetRainbow
      chance: 0.97
      offset: 0
