- type: entity
  id: BaseStationEventZeroDelay
  parent: BaseGameRule
  abstract: true
  components:
  - type: GameRule
    delay:
      min: 1 # 1, чтобы ниче вдруг не сломалось
      max: 1

- type: entity
  id: Blackout
  parent: BaseStationEventShortDelay
  components:
  - type: StationEvent
    weight: 7
    duration: 60
    maxDuration: 120
  - type: BlackoutRule

- type: entity
  id: SpawnScp096Photo
  parent: BaseStationEventShortDelay
  components:
  - type: StationEvent
    weight: 4
  - type: SpawnInEntityStorageRule
    probability: 0.07
    stationRules: StationHaveScp096
    entities:
    - id: Scp096PhotoDeveloped
  - type: SpawnInPlayerInventoryRule
    probability: 0.1
    stationRules: StationHaveScp096
    sound:
      path: /Audio/_Scp/Effects/spawn.ogg
      params:
        volume: 3
    entities:
    - id: Scp096PhotoDeveloped

- type: entity
  id: AirlockManEater
  parent: BaseStationEventZeroDelay
  components:
  - type: StationEvent
    weight: 2
  - type: AirlockManEaterRule

- type: entity
  parent: BaseGameRule
  id: Scp2054X
  components:
  - type: StationEvent
    weight: 5
    duration: null
    earliestStart: 20
    reoccurrenceDelay: 20
    minimumPlayers: 15
  - type: ParadoxCloneRule
    objectiveBlacklist:
      tags:
      - ParadoxCloneObjectiveBlacklist
  - type: AntagObjectives
    objectives:
    - Scp2054SurviveObjective
    - Scp2054XKillObjective
  - type: AntagRandomSpawn
  - type: AntagSelection
    agentName: ghost-role-information-scp-2054-x-name
    definitions:
    - spawnerPrototype: SpawnPointGhostScp2054X
      min: 1
      max: 1
      pickPlayer: false
      startingGear: ParadoxCloneGear
      briefing:
        text: scp-2054-x-role-greeting
        color: lightblue
      mindRoles:
      - MindRoleScp2054X
  - type: DynamicRuleCost
    cost: 50

- type: entityTable
  id: ScpVanillaEventsTable
  table: !type:AllSelector
    children:
    - id: BureaucraticError
    - id: ClericalError
    - id: CockroachMigration
    - id: GasLeak
    - id: GreytideVirus
    - id: IonStorm
    - id: MassHallucinations
    - id: MimicVendorRule
    - id: MouseMigration
    - id: RandomSentience
    - id: SolarFlare
    - id: VentClog

- type: entityTable
  id: ScpEventsTable
  table: !type:AllSelector
    children:
    - id: Blackout
    - id: SpawnScp096Photo
    - id: AirlockManEater
