- type: entity
  id: AdminInstantEffectBase
  abstract: true
  name: instant effect
  components:
  - type: Sprite
    sprite: /Textures/Objects/Fun/goldbikehorn.rsi
    visible: false
    state: icon
  - type: TriggerOnSpawn
  - type: TimedDespawn
    lifetime: 5

- type: entity
  id: AdminInstantEffectEMP
  suffix: EMP
  parent: AdminInstantEffectBase
  components:
  - type: EmpOnTrigger
    range: 4
    energyConsumption: 50000

- type: entity
  id: AdminInstantEffectBluespace
  suffix: BluespaceFlash
  parent: AdminInstantEffectBase
  components:
  - type: SpawnOnTrigger
    proto: EffectFlashBluespace

- type: entity
  id: AdminInstantEffectFlash
  suffix: Flash
  parent: AdminInstantEffectBase
  components:
  # Sunrise-Start
  - type: TimerTrigger
    delay: 0
    keyOut: timer
  # Sunrise-End
  - type: FlashOnTrigger
    # Sunrise-Start
    keysIn:
    - timer
    # Sunrise-End
    range: 7
  - type: SpawnOnTrigger
    # Sunrise-Start
    keysIn:
    - timer
    # Sunrise-End
    proto: GrenadeFlashEffect

- type: entity
  id: AdminInstantEffectSmoke3
  suffix: Smoke (03 sec)
  parent: AdminInstantEffectBase
  components:
  - type: SmokeOnTrigger
    duration: 3
    spreadAmount: 1
  - type: EmitSoundOnTrigger
    sound: /Audio/Effects/smoke.ogg
  - type: TimerTriggerVisuals
    primingSound:
      path: /Audio/Effects/Smoke-grenade.ogg

- type: entity
  id: AdminInstantEffectSmoke10
  suffix: Smoke (10 sec)
  parent: AdminInstantEffectBase
  components:
  - type: SmokeOnTrigger
    duration: 10
    spreadAmount: 30
  - type: EmitSoundOnTrigger
    sound: /Audio/Effects/smoke.ogg
  - type: TimerTriggerVisuals
    primingSound:
      path: /Audio/Effects/Smoke-grenade.ogg

- type: entity
  id: AdminInstantEffectSmoke30
  suffix: Smoke (30 sec)
  parent: AdminInstantEffectBase
  components:
  - type: SmokeOnTrigger
    duration: 30
    spreadAmount: 50
  - type: EmitSoundOnTrigger
    sound: /Audio/Effects/smoke.ogg
  - type: TimerTriggerVisuals
    primingSound:
      path: /Audio/Effects/Smoke-grenade.ogg

- type: entity
  id: AdminInstantEffectTearGas
  suffix: Tear Gas
  parent: AdminInstantEffectBase
  components:
  - type: SmokeOnTrigger
    duration: 10
    spreadAmount: 30
    solution:
      reagents:
      - ReagentId: TearGas
        Quantity: 50

- type: entity
  id: AdminInstantEffectGravityWell
  suffix: Gravity Well
  parent: AdminInstantEffectBase
  components:
  - type: EmitSoundOnTrigger
    sound:
      path: /Audio/Effects/Grenades/Supermatter/supermatter_start.ogg
      params:
        volume: 5
  - type: AmbientSound
    enabled: true
    volume: -5
    range: 14
    sound:
      path: /Audio/Effects/Grenades/Supermatter/supermatter_loop.ogg
  - type: GravityWell
    maxRange: 8
    baseRadialAcceleration: 10
    baseTangentialAcceleration: 0
    gravPulsePeriod: 0.01
  - type: SingularityDistortion
    intensity: 10
    falloffPower: 1.5

