- type: entity
  name: shadekin Haze
  id: ShadekinShadow
  parent: BaseShadow
  placement:
    mode: SnapgridCenter
    snap:
      - Wall
  components:
    - type: Appearance
    - type: Transform
      anchored: true
    - type: EmitSoundOnSpawn
      sound:
        path: /Audio/_Starlight/Effects/Shadekin/nullphase.ogg
    - type: TimedDespawn
      lifetime: 30
    - type: Physics
      canCollide: false
    - type: Occluder
    - type: Sprite
      drawdepth: Effects
      sprite: Effects/spookysmoke.rsi
      layers:
        - state: spookysmoke
          color: "#793a80dd"
          map: [base]
    - type: Tag
      tags:
        - HideContextMenu
        - TheDark
    - type: OptionsVisualizer
      visuals:
        base:
          - options: Default
            data: { state: spookysmoke }
          - options: ReducedMotion
            data: { state: spookysmoke_static }

- type: entity
  id: ShadekinPhaseInEffect
  name: shadekin Phase in
  components:
    - type: EmitSoundOnSpawn
      sound:
        path: /Audio/_Starlight/Effects/Shadekin/shadekinphase.ogg
    - type: TimedDespawn
      lifetime: 0.5
    - type: Sprite
      layers:
        - sprite: _Starlight/Effects/shadekin.rsi
          state: tp_in
          shader: unshaded
      netsync: false
      drawdepth: Effects
      noRot: true

- type: entity
  id: ShadekinPhaseInEffect2
  parent: ShadekinPhaseInEffect
  name: shadekin Phase in 2
  components:
    - type: Sprite
      layers:
        - sprite: _Starlight/Effects/shadekin.rsi
          state: tp_in2
          shader: unshaded
      netsync: false
      drawdepth: Effects
      noRot: true

- type: entity
  id: ShadekinPhaseOutEffect
  parent: ShadekinPhaseInEffect
  name: shadekin Phase out
  components:
    - type: Sprite
      layers:
        - sprite: _Starlight/Effects/shadekin.rsi
          state: tp_out
          shader: unshaded
      netsync: false
      drawdepth: Effects
      noRot: true

- type: entity
  id: ShadekinShadegen
  categories: [HideSpawnMenu]
  components:
  - type: Shadegen
    destroyLights: true
  - type: Physics
    canCollide: false
  - type: EmitSoundOnSpawn
    sound:
      path: /Audio/_Starlight/Effects/Shadekin/nullphase.ogg
  - type: TimedDespawn
    lifetime: 20
