Cî(í(- type: entity
  parent: [SimpleMobBase,StripableInventoryBase]
  id: Reisama_KillerSnail
  suffix: Admeme
  abstract: true
  components:
  - type: Body
    prototype: snail
  - type: Emoting
  - type: Hands # HANDS!
  - type: Sprite
    drawdepth: SmallMobs
    sprite: Mobs/Animals/snail.rsi
    layers:
    - map: ["enum.DamageStateVisualLayers.Base"]
      state: snail
  - type: Item
    size: Tiny
  - type: NpcFactionMember
    factions:
      - Mouse
  - type: Fixtures
    fixtures:
      fix1:
        shape:
          !type:PhysShapeCircle
          radius: 0.2
        density: 100
        mask:
        - SmallMobMask
        layer:
        - SmallMobLayer
  - type: MobState
  - type: Deathgasp
  - type: CanEscapeInventory
  - type: Inventory
    speciesId: snail
    templateId: Reisama_KillerSnailInventory
    showInHands: true
    disableExplosionRecursion: true
    canBeStripped: false
  - type: Stripping
  - type: ComplexInteraction

- type: startingGear
  id: Reisama_KillerSnail
  equipment:
    pocket1: Reisama_KillerSnailPinpointer

- type: entity
  id: Reisama_KillerSnailPinpointer
  name: Killer Snail Pinpointer
  description: This target is marked for death.... Eventually...
  parent: PinpointerUniversal
  components:
  - type: Clothing
    quickEquip: true
    slots:
    - POCKET

- type: entity
  id: Reisama_ActionKillerSnailSmite
  name: Smite
  description: Instantly gibs a target.
  components:
  - type: EntityTargetAction
    useDelay: 60
    itemIconStyle: BigAction
    whitelist:
      components:
      - Body
    canTargetSelf: false
    interactOnMiss: false
    sound: !type:SoundPathSpecifier
      path: /Audio/Magic/disintegrate.ogg
    icon:
      sprite: Objects/Magic/magicactions.rsi
      state: gib
    event: 
      !type:SmiteSpellEvent {speech: action-speech-spell-smite}
  - type: InstantAction
    useDelay: 0.5
    checkCanInteract: false
    checkConsciousness: false
    itemIconStyle: BigAction
    icon:
      sprite: Objects/Magic/magicactions.rsi
      state: gib
    event: !type:ActivateImplantEvent
      
- type: inventoryTemplate
  id: Reisama_KillerSnailInventory
  slots:
    - name: pocket1
      slotTexture: pocket
      fullTextureName: template_small
      slotFlags: POCKET
      slotGroup: SecondHotbar
      stripTime: 3
      uiWindowPos: 1,1
      strippingWindowPos: 1,1
      displayName: Shell

- type: body
  id: snail
  name: "snail"
  root: torso
  slots:
    torso:
      part: TorsoAnimal
      connections:
      - legs
      organs:
        lungs: OrganAnimalLungs
        liver: OrganAnimalLiver
        heart: OrganAnimalHeart
        kidneys: OrganAnimalKidneys
    legs:
      part: LegsAnimal
      connections:
      - feet
    feet:
      part: FeetAnimal

- type: entity
  parent: Reisama_KillerSnail
  id: Reisama_MobKillerSnail
  suffix: Admeme
  name: Killer Snail
  description: It seems to have a beeping coming from inside it's shell, telling it where to go...
  components:
  - type: SSDIndicator
  - type: MindContainer
    showExamineInfo: true
  - type: MobStateActions
    actions:
      Alive:
      - Reisama_ActionKillerSnailSmite
      Critical:
      - ActionCritSuccumb
      - ActionCritFakeDeath
      - ActionCritLastWords
  - type: Godmode
  - type: MovementAlwaysTouching
  - type: Loadout
    prototypes: [Reisama_KillerSnail]
  - type: MovementSpeedModifier
    weightlessModifier: 3
    baseWalkSpeed: 0.5
    baseSprintSpeed: 0.75
  - type: AutoImplant
    implants:
    - DeathAcidifierImplant
  - type: GhostRole
    name: A Killer Snail. [ADMEME]
    description: A killer snail with a single objective - Kill your target..... But you are a snail, and move very slowly.
    rules: You are a [color=red][bold]Solo Antagonist[/bold][/color]. Your intentions are clear, and harmful to the station and one specific member of its crew.
                                          You don't remember any of your previous life, and you don't remember anything you learned as a ghost.
                                          You are allowed to remember knowledge about the game in general, such as how to cook, how to use objects, etc.
                                          You are absolutely [color=red]NOT[/color] allowed to remember, say, the name, appearance, etc. of your previous character.
                                          You [color=yellow]MAY[/color] interact with the crew, other antagonists, et cetera to complete your task. However, they are not required to assist you.
                                          You [color=red]MUST[/color] acidify [color=blue]IMMEDIATELY[/color] upon killing your target.
    raffle:
      settings: default
  - type: GhostTakeoverAvailable
  - type: Tag
    tags:
    - CannotSuicide
    - FootstepSound
  - type: FootstepModifier
    footstepSoundCollection:
      collection: FootstepThud
  - type: Inventory
    speciesId: snail
    templateId: Reisama_KillerSnailInventory
    showInHands: true
    disableExplosionRecursion: true
    canBeStripped: false

