- type: entity
  id: ArchonEventScheduler
  parent: BaseGameRule
  components:
  - type: BasicStationEventScheduler
    minimumTimeUntilFirstEvent: 600 #10 минут
    minMaxEventTiming:
      min: 1200 # 20 мин
      max: 1500 # 25 мин
    scheduledGameRules: !type:NestedSelector
      tableId: ArchonEventsTable

- type: entity
  parent: BaseGameRule
  id: BaseArchonGameRule
  components:
  - type: StationEvent
    startAnnouncement: station-event-archon-incoming
    startAudio:
      path: /Audio/Announcements/attention.ogg
    maxOccurrences: 1

- type: entity
  parent: BaseArchonGameRule
  id: KeterArchonGameRule
  components:
  - type: StationEvent
    startAnnouncement: station-event-archon-incoming-keter
    startAudio:
      path: /Audio/Vanilla/Announcements/scp-intercom.ogg
    weight: 1

- type: entity
  parent: BaseArchonGameRule
  id: EuclidArchonGameRule
  components:
  - type: StationEvent
    startAnnouncement: station-event-archon-incoming-euclid
    startAudio:
      path: /Audio/Vanilla/Announcements/scp-intercom.ogg
    weight: 2

- type: entity
  parent: BaseArchonGameRule
  id: SafeArchonGameRule
  components:
  - type: StationEvent
    startAnnouncement: station-event-archon-incoming-safe
    weight: 4

- type: entityTable
  id: ArchonEventsTable
  table: !type:AllSelector
    children:
    #кетер
    - id: OldManSpawn
    - id: BlindPredatorSpawn
    #евклид
    - id: PlagueDoctorSpawn
    - id: ShyGuySpawn
    - id: SculptureSpawn
    #безопасный
    - id: PanaceaSpawn
    - id: MasterKeySpawn
    - id: HatInvisibleSpawn
    - id: InfinityFlaskSpawn
    - id: LivingWeaponSpawn
    - id: DontTakeMoreThanTwoSpawn
#кетер
- type: entity
  parent: KeterArchonGameRule
  id: BlindPredatorSpawn
  components:
  - type: RandomSpawnRule
    prototype: MobWithManyVoicesArchon939

- type: entity
  parent: KeterArchonGameRule
  id: OldManSpawn
  components:
  - type: RandomSpawnRule
    prototype: MobArchonOldMan106
  - type: StationEvent

#евклид
- type: entity
  parent: EuclidArchonGameRule
  id: PlagueDoctorSpawn
  components:
  - type: AntagObjectives
    objectives:
    - PlagueDoctorPestilenceObjective
    - PlagueDoctorLivingObjective
  - type: AntagRandomSpawn
  - type: AntagSpawner
    prototype: MobArchonPlagueDoctor049
  - type: AntagSelection
    agentName: plague-doctor-round-end-agent-name
    definitions:
    - spawnerPrototype: SpawnPointGhostPlagueDoctor
      min: 1
      max: 1
      pickPlayer: false
      briefing:
        text: plague-doctor-role-greeting
        color: violet
        sound: /Audio/Vanilla/Effects/Archon/049/049raging.ogg
      mindRoles:
      - MindRolePlagueDoctor


- type: entity
  parent: EuclidArchonGameRule
  id: SculptureSpawn
  components:
  - type: RandomSpawnRule
    prototype: MobSculptureArchon173

- type: entity
  parent: EuclidArchonGameRule
  id: ShyGuySpawn
  components:
  - type: RandomSpawnRule
    prototype: ShyGuyArchon096
#безопасный
- type: entity
  parent: SafeArchonGameRule
  id: PanaceaSpawn
  components:
  - type: RandomSpawnRule
    prototype: Archon500Panacea

- type: entity
  parent: SafeArchonGameRule
  id: MasterKeySpawn
  components:
  - type: RandomSpawnRule
    prototype: Archon005MasterKey

- type: entity
  parent: SafeArchonGameRule
  id: HatInvisibleSpawn
  components:
  - type: RandomSpawnRule
    prototype: Archon268ClothingHeadHatInvisible

- type: entity
  parent: SafeArchonGameRule
  id: InfinityFlaskSpawn
  components:
  - type: RandomSpawnRule
    prototype: Archon109InfinityFlask

- type: entity
  parent: SafeArchonGameRule
  id: LivingWeaponSpawn
  components:
  - type: RandomSpawnRule
    prototype: Archon127LivingWeapon

- type: entity
  parent: SafeArchonGameRule
  id: DontTakeMoreThanTwoSpawn
  components:
  - type: RandomSpawnRule
    prototype: Archon330DontTakeMoreThanTwo
