- type: entity
  name: base conditional spawner
  id: BaseConditionalSpawner
  abstract: true
  components:
    - type: Sprite
      netsync: false
      visible: false
      sprite: Objects/markers.rsi
      state: cross_blue
    - type: Icon
      sprite: Objects/markers.rsi
      state: cross_blue
    - type: Marker
    - type: Clickable
    - type: InteractionOutline
    - type: Collidable
    - type: ConditionalSpawner
  placement:
    mode: AlignTileAny

- type: entity
  name: Suspicion Rifle Spawner
  id: SuspicionRifleSpawner
  parent: BaseConditionalSpawner
  components:
    - type: Sprite
      netsync: false
      visible: false
      sprite: Objects/markers.rsi
      state: spawner_rifle
    - type: Icon
      sprite: Objects/markers.rsi
      state: spawner_rifle
    - type: ConditionalSpawner
      prototypes:
        - RifleAk
        - RifleBlackAk
        - RifleCarbine
        - RifleDallas
        - RifleIhHeavy
        - RifleSolEot
        - RifleSolPara
        - RifleSts
      chance: 0.75
      gameRules:
        - RuleSuspicion

- type: entity
  name: Suspicion Pistol Spawner
  id: SuspicionPistolSpawner
  parent: BaseConditionalSpawner
  components:
    - type: Sprite
      netsync: false
      visible: false
      sprite: Objects/markers.rsi
      state: spawner_pistol
    - type: Icon
      sprite: Objects/markers.rsi
      state: spawner_pistol
    - type: ConditionalSpawner
      prototypes:
        - PistolClarissa
        - PistolDeagle
        - PistolDeckard
        - PistolGiskard
        - PistolGyro
        - PistolLamia
        - PistolMakarov
        - PistolMk58
        - PistolOlivawCivil
      chance: 0.75
      gameRules:
        - RuleSuspicion

- type: entity
  name: Suspicion Melee Spawner
  id: SuspicionMeleeSpawner
  parent: BaseConditionalSpawner
  components:
    - type: Sprite
      netsync: false
      visible: false
      sprite: Objects/markers.rsi
      state: spawner_melee
    - type: Icon
      sprite: Objects/markers.rsi
      state: spawner_melee
    - type: ConditionalSpawner
      prototypes:
        - ButchCleaver
        - Pickaxe
        - Spear
        - ToolboxEmergency
        - CrowbarRed
      chance: 0.75
      gameRules:
        - RuleSuspicion
