# SPDX-FileCopyrightText: 2024 Fishbait <Fishbait@git.ml>
# SPDX-FileCopyrightText: 2024 fishbait <gnesse@gmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Armok <155400926+ARMOKS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 BombasterDS <deniskaporoshok@gmail.com>
# SPDX-FileCopyrightText: 2025 BombasterDS2 <shvalovdenis.workmail@gmail.com>
# SPDX-FileCopyrightText: 2025 Errant <35878406+Errant-4@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Ilya246 <57039557+Ilya246@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 SX-7 <sn1.test.preria.2002@gmail.com>
# SPDX-FileCopyrightText: 2025 Theodore Lukin <66275205+pheenty@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: npcFaction
  id: Blob
  hostile:
    - NanoTrasen
    - Syndicate
    - Xeno
    - PetsNT
    - Zombie
    - Dragon
    - Revolutionary
    - Changeling
    - Heretic
    - Wizard

- type: explosion
  id: Blob
  damagePerIntensity:
    groups:
      Brute: 10
  tileBreakChance: [0]
  tileBreakIntensity: [0]
  lightColor: Red
  texturePath: /Textures/Effects/fire.rsi
  fireStates: 3

- type: Tag
  id: BlobMob

- type: entity
  parent: MobMouse
  id: MobMouseBlob
  suffix: Blob
  components:
  - type: BlobCarrier

- type: entity
  id: SpawnPointGhostBlobRat
  name: Mouse Blob Spawn Point
  suffix: Blob Ghost Role
  parent: BaseAntagSpawner
  components:
    - type: GhostRoleMobSpawner
      prototype: MobMouseBlob
    - type: GhostRole
      makeSentient: true
      name: blob-carrier-role-name
      description: blob-carrier-role-desc
      rules: blob-carrier-role-rules
      mindRoles:
      - MindRoleGhostRoleSoloAntagonist
      raffle:
        settings: default
      requirements:
      - !type:OverallPlaytimeRequirement
        time: 54000 #15 hours
    - type: Sprite
      sprite: Markers/jobs.rsi
      layers:
        - state: green
        - sprite: Mobs/Animals/bat.rsi
          state: bat

# Blob
- type: entity
  parent: BaseMindRoleAntag
  id: MindRoleBlob
  name: Blob Role
#  description: mind-role-blob-description
  components:
  - type: MindRole
    antagPrototype: Blob
    exclusiveAntag: true
    roleType: SoloAntagonist
    subtype: role-subtype-blob
  - type: BlobRole

- type: factionIcon
  id: BlobFaction
  priority: 10
  showTo:
    components:
    - BlobCarrier
    - BlobObserver
    - ZombieBlob
    - Blobbernaut
  icon:
    sprite: /Textures/_Goobstation/Blob/Interface/Misc/antag_icon.rsi
    state: blob

- type: currency
  id: BlobPoint
  displayName: store-currency-display-blob-points
  canWithdraw: false
