- type: polymorph
  id: CosmicLapseMobHuman
  configuration:
    entity: CosmicPolymorphEntHuman
    forced: true
    inventory: None
    transferName: false
    transferDamage: true
    duration: 12
    polymorphSound: /Audio/_DV/CosmicCult/ability_lapse.ogg

- type: polymorph
  id: CosmicLapseMobArachnid
  configuration:
    entity: CosmicPolymorphEntArachnid
    forced: true
    inventory: None
    transferName: false
    transferDamage: true
    duration: 12
    polymorphSound: /Audio/_DV/CosmicCult/ability_lapse.ogg

- type: polymorph
  id: CosmicLapseMobDiona
  configuration:
    entity: CosmicPolymorphEntDiona
    forced: true
    inventory: None
    transferName: false
    transferDamage: true
    duration: 12
    polymorphSound: /Audio/_DV/CosmicCult/ability_lapse.ogg

- type: polymorph
  id: CosmicLapseMobMoth
  configuration:
    entity: CosmicPolymorphEntMoth
    forced: true
    inventory: None
    transferName: false
    transferDamage: true
    duration: 12
    polymorphSound: /Audio/_DV/CosmicCult/ability_lapse.ogg


- type: polymorph
  id: CosmicLapseMobVox
  configuration:
    entity: CosmicPolymorphEntVox
    forced: true
    inventory: None
    transferName: false
    transferDamage: true
    duration: 12
    polymorphSound: /Audio/_DV/CosmicCult/ability_lapse.ogg

- type: polymorph
  id: CosmicLapseMobSnail
  configuration:
    entity: CosmicPolymorphEntSnail
    forced: true
    inventory: None
    transferName: false
    transferDamage: true
    duration: 12
    polymorphSound: /Audio/_DV/CosmicCult/ability_lapse.ogg

- type: polymorph
  id: CosmicLapseMobDecapoid
  configuration:
    entity: CosmicPolymorphEntDecapoid
    forced: true
    inventory: None
    transferName: false
    transferDamage: true
    duration: 12
    polymorphSound: /Audio/_DV/CosmicCult/ability_lapse.ogg

- type: entity
  categories: [ HideSpawnMenu ]
  parent: BaseStructure
  abstract: true
  id: CosmicPolymorphEnt
  name: "Unknown" # The question marks crash regex gg
  description: Trapped in a lapse between here and there.
  components:
  - type: Sprite
    sprite: _DV/CosmicCult/Effects/ability_lapsepolymorph.rsi
    layers:
      - state: humanoid
        shader: unshaded
    drawdepth: SmallMobs
    noRot: true
  - type: PointLight
    radius: 1.25
    energy: 12
    color: "#42a4ae"
    castShadows: false
  - type: CosmicLapse
  - type: CosmicCultExamine
    cultistText: cosmic-examine-text-abilitylapse
  - type: LightBehaviour
    behaviours:
     - !type:FadeBehaviour
       interpolate: Linear
       minDuration: 1.75
       maxDuration: 1.75
       startValue: 0.5
       endValue: 12
       property: Energy
       enabled: true
       isLooped: true
       reverseWhenFinished: true
  - type: SpriteFade
  - type: Speech
    enabled: False
  - type: Transform
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeAabb
          bounds: "-0.2,-0.1,0.2,0.375"
        mask:
        - LargeMobMask
        layer:
        - WallLayer

- type: entity
  categories: [ HideSpawnMenu ]
  parent: CosmicPolymorphEnt
  id: CosmicPolymorphEntHuman

- type: entity
  categories: [ HideSpawnMenu ]
  parent: CosmicPolymorphEnt
  id: CosmicPolymorphEntArachnid
  components:
  - type: Sprite
    sprite: _DV/CosmicCult/Effects/ability_lapsepolymorph.rsi
    layers:
      - state: spider
        shader: unshaded

- type: entity
  categories: [ HideSpawnMenu ]
  parent: CosmicPolymorphEnt
  id: CosmicPolymorphEntDiona
  components:
  - type: Sprite
    sprite: _DV/CosmicCult/Effects/ability_lapsepolymorph.rsi
    layers:
      - state: diona
        shader: unshaded

- type: entity
  categories: [ HideSpawnMenu ]
  parent: CosmicPolymorphEnt
  id: CosmicPolymorphEntMoth
  components:
  - type: Sprite
    sprite: _DV/CosmicCult/Effects/ability_lapsepolymorph.rsi
    layers:
      - state: moth
        shader: unshaded

- type: entity
  categories: [ HideSpawnMenu ]
  parent: CosmicPolymorphEnt
  id: CosmicPolymorphEntVox
  components:
  - type: Sprite
    sprite: _DV/CosmicCult/Effects/ability_lapsepolymorph.rsi
    layers:
      - state: vox
        shader: unshaded

- type: entity
  categories: [ HideSpawnMenu ]
  parent: CosmicPolymorphEnt
  id: CosmicPolymorphEntSnail
  components:
  - type: Sprite
    sprite: _DV/CosmicCult/Effects/ability_lapsepolymorph.rsi
    layers:
      - state: snail
        shader: unshaded

- type: entity
  categories: [ HideSpawnMenu ]
  parent: CosmicPolymorphEnt
  id: CosmicPolymorphEntDecapoid
  components:
  - type: Sprite
    sprite: _DV/CosmicCult/Effects/ability_lapsepolymorph.rsi
    layers:
      - state: crab
        shader: unshaded
