# SPDX-FileCopyrightText: 2025 Armok <155400926+ARMOKS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Solstice <solsticeofthewinter@gmail.com>
# SPDX-FileCopyrightText: 2025 Ted Lukin <66275205+pheenty@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 TheBorzoiMustConsume <197824988+TheBorzoiMustConsume@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 pheenty <fedorlukin2006@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later


############ [ HARDSUIT ] ############

# COSMIC CULT HARDSUIT BODY
- type: entity
  parent: [ ClothingOuterHardsuitBase ]
  id: ClothingOuterHardsuitCosmicCult
  name: entropic armor
  description: An unsettling hardsuit, numbing to the touch. It pulses with a glow that makes you feel like you've forgotten something..
  components:
  - type: CosmicEquipment
  - type: Sprite
    sprite: _DV/CosmicCult/Clothing/cosmiccult_armor.rsi
  - type: Item
    size: Huge
  - type: Clothing
    sprite: _DV/CosmicCult/Clothing/cosmiccult_armor.rsi
  - type: PressureProtection
    highPressureMultiplier: 0.05
    lowPressureMultiplier: 1000
  - type: ExplosionResistance
    damageCoefficient: 0.4
  - type: Armor
    modifiers:
      coefficients:
        Blunt: 0.5
        Slash: 0.5
        Piercing: 0.5
        Heat: 0.5
        Radiation: 0.5
        Caustic: 0.5
        Holy: 1.25
  - type: ClothingSpeedModifier
    walkModifier: 0.9
    sprintModifier: 0.9
  - type: HeldSpeedModifier
  - type: ToggleableClothing # Goobstation - Modsuits change
    clothingPrototypes:
      head: ClothingHeadHelmetCosmicCult
  - type: Tag
    tags:
    - Hardsuit
    - WhitelistChameleon
#Shoulder mounted flashlight
  - type: ToggleableVisuals
    spriteLayer: light
    clothingVisuals:
      outerClothing:
      - state: equipped-OUTERCLOTHING-light
        shader: unshaded
  - type: Appearance
  - type: HandheldLight
    addPrefix: false
    blinkingBehaviourId: blinking
    radiatingBehaviourId: radiating
  - type: PointLight
    enabled: false
    color: "#42a4ae"
    radius: 5
    energy: 3.4
    mask: /Textures/_DV/CosmicCult/LightMasks/cosmic.png
    autoRot: true
    netsync: false
  - type: LightBehaviour
    behaviours:
      - !type:FadeBehaviour
        id: radiating
        interpolate: Linear
        maxDuration: 2.0
        startValue: 3.0
        endValue: 2.0
        isLooped: true
        reverseWhenFinished: true
      - !type:PulseBehaviour
        id: blinking
        interpolate: Nearest
        maxDuration: 1.0
        startValue: 0.1
        endValue: 2.0
        isLooped: true
  - type: Battery
    maxCharge: 100
    startingCharge: 100
  - type: BatterySelfRecharger
    autoRecharge: true
    autoRechargeRate: 5
  - type: UnholyItem # Goobstation Shitchap


# COSMIC CULT HARDSUIT HELMET
- type: entity
  parent: [ ClothingHeadHardsuitBase ]
  id: ClothingHeadHelmetCosmicCult
  name: entropic headgear
  description: This headpiece seems to extrude from the hardsuit it's attached to as if the material is one single, contiguous whole.
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    sprite: _DV/CosmicCult/Clothing/cosmiccult_armor.rsi
    layers:
    - state: icon-helmet
  - type: Clothing
    sprite: _DV/CosmicCult/Clothing/cosmiccult_armor.rsi
  - type: PressureProtection
    highPressureMultiplier: 0.3
    lowPressureMultiplier: 1000
  - type: Armor
    modifiers:
      coefficients:
        Blunt: 0.5
        Slash: 0.5
        Piercing: 0.5
        Heat: 0.5
        Radiation: 0.5
        Caustic: 0.5
  - type: UnholyItem # Goobstation Shitchap
  - type: FlashImmunity # Goobstation
  - type: FlashSoundSuppression # Goobstation
