# SPDX-FileCopyrightText: 2024 Fishbait <Fishbait@git.ml>
# SPDX-FileCopyrightText: 2024 Ilya246 <57039557+Ilya246@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 fishbait <gnesse@gmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: MindcontrolImplanter
  suffix: Mind Control
  parent: BaseImplantOnlyImplanterSyndi
  components:
  - type: Implanter
    implant: MindcontrolImplant

- type: entity
  parent: BaseSubdermalImplant
  id: MindcontrolImplant
  name: mind control implant
  description: commit menticide
  categories: [ HideSpawnMenu ]
  components:
    - type: SubdermalImplant
      canImplantSelf: false
      whitelist:
        components:
        - MobState  # can implant ian.
      blacklist:
        components:
        - MindShield
        - Changeling
        - BorgChassisComponent #dermal means skin. borgs dont have skin
    - type: MindcontrolImplant

- type: factionIcon #  There are no statusicon for group for what is needed here. a new group is needed whit ShowToUid. Faction will do for now.
  id: MindcontrolledFaction # All mindcontrolled can tell who else is mindcontrolled.
  isShaded: true
  priority: 11
  locationPreference: Left
  showTo:
    components:
      - ShowAntagIcons
      - Mindcontrolled
  icon:
    sprite: /Textures/_Goobstation/Interface/Misc/job_icons.rsi
    state: Mindcontrolled
