- type: entity
  id: ActionCosmicSiphon
  name: Siphon Entropy
  description: Silently siphon entropy from your target, dealing some damage in the process.
  components:
  - type: Action
    useDelay: 50
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: siphon
  - type: TargetAction
  - type: EntityTargetAction
    whitelist:
      components:
      - HumanoidAppearance
    blacklist:
      components:
      - CosmicCult
      - BibleUser
    event: !type:EventCosmicSiphon {}

- type: entity
  id: ActionCosmicBlank
  name: Shunt Subjectivity
  description: Shunt your target's mind out of their body and unto the cosmic dark, temporarily rendering their body mindless.
  components:
  - type: Action
    useDelay: 120
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: blank
    checkCanInteract: false
  - type: TargetAction
  - type: EntityTargetAction
    canTargetSelf: true
    whitelist:
      components:
      - HumanoidAppearance
    blacklist:
      components:
      - CosmicCult
      - BibleUser
    event: !type:EventCosmicBlank {}

- type: entity
  id: ActionCosmicPlaceMonument
  name: Beckon The Monument
  description: Call forth The Monument into realspace. Keep it hidden and safe from non-cultists!
  components:
  - type: ConfirmableAction
    popup: cosmicability-monument-spawn-confirm
    primeTime: 10 #increased to give you more time to figure out where you want to put it
  - type: Action
    useDelay: 999
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: monument
  - type: InstantAction
    event: !type:EventCosmicPlaceMonument {}
  - type: MonumentPlacementPreview
    tier: 1

- type: entity
  id: ActionCosmicMoveMonument
  name: Relocate The Monument
  description: Your work is imperative, and the end is inevitable. Ensure that it is completed under your watch.
  components:
  - type: ConfirmableAction
    popup: cosmicability-monument-move-confirm
    primeTime: 10 #increased to give you more time to figure out where you want to put it
  - type: Action
    useDelay: 999
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: monument-relocate
  - type: InstantAction
    event: !type:EventCosmicMoveMonument
  - type: MonumentPlacementPreview
    tier: 2

- type: entity
  id: ActionCosmicReturn
  name: Return
  description: Dissipate your astral projection and return to your body.
  components:
  - type: Action
    checkCanInteract: false
    itemIconStyle: NoItem
    useDelay: 0
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: return
  - type: InstantAction
    event: !type:EventCosmicReturn {}

- type: entity
  id: ActionCosmicLapse
  name: Abberant Lapse
  description: Lapse your target's corporeal form, temporarily rendering it immutable, impassible, and frozen in place.
  components:
  - type: Action
    useDelay: 45
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: lapse
  - type: TargetAction
  - type: EntityTargetAction
    canTargetSelf: true
    whitelist:
      components:
      - HumanoidAppearance
    blacklist:
      components:
      - BibleUser
    event: !type:EventCosmicLapse {}

- type: entity
  id: ActionCosmicGlare
  name: Null Glare
  description: Emit a horrific pulse of cosmic light, slowing and disorienting everyone around you. Its effects are amplified against silicon-based entities.
  components:
  - type: ConfirmableAction
    popup: cosmicability-glare-confirm
    confirmDelay: 0.1
    primeTime: 5 #increased to give you more time to figure out where you want to put it
  - type: Action
    useDelay: 60
    checkCanInteract: false
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: glare
  - type: InstantAction
    event: !type:EventCosmicGlare {}

- type: entity
  id: ActionCosmicIngress
  name: Force Ingress
  description: Use a concentrated blast of power to force a secure doorway open.
  components:
  - type: Action
    useDelay: 25
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: ingress
  - type: TargetAction
  - type: EntityTargetAction
    whitelist:
      components:
        - Door
    event: !type:EventCosmicIngress {}

- type: entity
  id: ActionCosmicImposition
  name: Vacuous Imposition
  description: You negate any incoming damage for a short time.
  components:
  - type: Action
    useDelay: 160
    checkCanInteract: false
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: entropic
  - type: InstantAction
    event: !type:EventCosmicImposition {}

- type: entity
  id: ActionCosmicNova
  name: Astral Nova
  description: Hurl a large and disruptive blast of astral energy.
  components:
  - type: Action
    useDelay: 45
    raiseOnUser: true
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: nova
  - type: TargetAction
    range: 60
  - type: WorldTargetAction
    event: !type:EventCosmicNova {}

- type: entity
  id: ActionCosmicFragmentation
  name: Null Fragmentation
  description: Transfer your malign empowerment into a digital system, such as an AI Upload Console or Cyborg, corrupting it in the process. Doing so will expend your empowerment.
  components:
  - type: LimitedCharges
    maxCharges: 1
  - type: Action
    useDelay: 25
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: corruption
  - type: TargetAction
  - type: EntityTargetAction
    whitelist:
      components:
      - BorgChassis
      - SiliconLawUpdater
    event: !type:EventCosmicFragmentation {}

## COLOSSUS ACTIONS

- type: entity
  id: ActionCosmicColossusSunder
  name: Entropic Sunder
  description: Warp to the target location and unleash a cascading detonation of malign energy.
  components:
  - type: Action
    useDelay: 18
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: sunder
  - type: TargetAction
    range: 7
  - type: WorldTargetAction
    event: !type:EventCosmicColossusSunder

- type: entity
  id: ActionCosmicColossusIngress
  name: Colossal Ingress
  description: Use your colossal strength to force open a doorway.
  components:
  - type: Action
    useDelay: 8
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: ingress
  - type: TargetAction
    range: 2
  - type: EntityTargetAction
    event: !type:EventCosmicColossusIngress
    whitelist:
      components:
        - Door

- type: entity
  id: ActionCosmicColossusHibernate
  name: Slumber Shell
  description: Slumber your body for a period of time to regenerate integrity. Must be done on stable ground.
  components:
  - type: LimitedCharges
    maxCharges: 2
  - type: Action
    useDelay: 120
    checkCanInteract: false
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: slumber
  - type: InstantAction
    event: !type:EventCosmicColossusHibernate {}

- type: entity
  id: ActionCosmicColossusEffigy
  name: Beckon an Effigy
  description: Draw out an Effigy of Entropy into realspace.
  components:
  - type: Action
    useDelay: 999
    itemIconStyle: NoItem
    icon:
      sprite: _Starlight/CosmicCult/Icons/cosmiccult_abilities.rsi
      state: nova
  - type: InstantAction
    event: !type:EventCosmicColossusEffigy {}
