- type: entity
  parent: BaseEntitySpellAction
  id: ActionMindSwap
  name: Mind Swap
  description: Exchange bodies with another person!
  components:
  - type: Action
    useDelay: 180
    sound: !type:SoundPathSpecifier
      path: /Audio/Magic/staff_animation.ogg
    icon:
      sprite: Mobs/Species/Human/organs.rsi
      state: brain
  - type: EntityTargetAction
    whitelist:
      components:
      - MobState
      - PAI # intended to mindswap pAIs and AIs
      - StationAiCore
    event: !type:MindSwapSpellEvent
  - type: SpeakOnAction
    sentence: action-speech-spell-mind-swap
