# SPDX-FileCopyrightText: 2024 Flareguy <78941145+Flareguy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# Intentionally does not include channels like syndicate comms or binary, since these getting in to the hands of random people can cause a round to derail.
- type: entity
  name: random encryption key spawner
  id: LootSpawnerEncryptionKey
  parent: MarkerBase
  components:
    - type: Sprite
      layers:
        - state: red
        - sprite: Objects/Devices/encryption_keys.rsi
          state: crypt_rusted
        - sprite: Objects/Devices/encryption_keys.rsi
          state: nano_label
    - type: RandomSpawner
      rarePrototypes:
        - EncryptionKeyCommand
        - EncryptionKeySecurity
      rareChance: 0.1
      prototypes:
        - EncryptionKeyCommon
        - EncryptionKeyEngineering
        - EncryptionKeyScience
        - EncryptionKeyService
        - EncryptionKeyMedical
        - EncryptionKeyCargo
      chance: 0.9
      offset: 0.0