# SPDX-FileCopyrightText: 2023 Emisse <99158783+Emisse@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: MIT

- type: entity
  id: RandomBoard
  name: random board spawner
  parent: MarkerBase
  components:
  - type: Sprite
    layers:
    - state: red
    - sprite: Objects/Misc/module.rsi
      state: boris
  - type: RandomSpawner
    prototypes:
    - AirAlarmElectronics
    - FireAlarmElectronics
    - DoorElectronics
    - FirelockElectronics
    - IntercomElectronics
    - APCElectronics
    - SignalTimerElectronics
    - APECircuitboard
    - SMESMachineCircuitboard
    - SubstationMachineCircuitboard
    - TelecomServerCircuitboard
    chance: 0.95
    rarePrototypes:
    - CommsComputerCircuitboard
    - ShuttleConsoleCircuitboard
    - ComputerMassMediaCircuitboard
    - AutolatheMachineCircuitboard
    - ProtolatheMachineCircuitboard
    - SalvageMagnetMachineCircuitboard
    rareChance: 0.05
