# SPDX-FileCopyrightText: 2024 keronshb <54602815+keronshb@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 lzk <124214523+lzk228@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 slarticodefast <161409025+slarticodefast@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  name: jaunt
  parent: [Incorporeal, BaseMob]
  id: BaseMobJaunt
  description: Faint traces of a humanoid figure linger here
  suffix: Ethereal
  components:
  - type: ContentEye
    maxZoom: 1.44,1.44
  - type: Eye
    drawFov: false
  - type: Input
    context: "ghost"
  - type: InputMover
  - type: MovementSpeedModifier
    baseSprintSpeed: 12
    baseWalkSpeed: 8
  - type: Visibility
    layer: 2
  - type: Spectral
  - type: IsDeadIC # Goobstation
    dead: false

# Should be slow, for balance
- type: entity
  name: jaunt
  parent: BaseMobJaunt
  id: EtherealJaunt
  suffix: Wizard
  components:
  # Goob edit
  #- type: Sprite
  #  sprite: Mobs/Ghosts/ghost_human.rsi
  #  color: "#60f7eb"
  #  layers:
  #  - state: animated
  #    shader: unshaded
  #  noRot: true
  #  overrideContainerOcclusion: true
  #  drawdepth: Ghosts
  - type: MovementSpeedModifier
    baseSprintSpeed: 3 # Goob edit
    baseWalkSpeed: 3 # Goob edit
  - type: WizardJaunt # Goobstation

- type: entity
  parent: [Incorporeal, BaseMob]
  id: DesynchronizedPocket
  name: desynchronized pocket
  description: A pocket in spacetime, keeping the user a fraction of a second in the future.
  components:
  - type: Spectral
  - type: MovementSpeedModifier
    baseSprintSpeed: 0
    baseWalkSpeed: 0
