# SPDX-FileCopyrightText: 2024 Aviu00 <93730715+Aviu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 BombasterDS <115770678+BombasterDS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Fishbait <Fishbait@git.ml>
# SPDX-FileCopyrightText: 2024 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2024 fishbait <gnesse@gmail.com>
# SPDX-FileCopyrightText: 2024 starch <starchpersonal@gmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 LuciferMkshelter <154002422+LuciferEOS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Solstice <solsticeofthewinter@gmail.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 PunishedJoe <PunishedJoeseph@proton.me>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

#chrono/future soldier voidsuit

- type: entity
  parent: ClothingHeadHardsuitWithLightBase
  id: ClothingHeadHelmetHardsuitChronolegioneer
  name: futuristic helmet
  description: The helmet of the fighters of the future, designed for special timeflow operations.
  components:
  - type: BreathMask
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Hardsuits/chronolegioneer.rsi
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Hardsuits/chronolegioneer.rsi
  - type: PointLight
    color: "#6BA9E6"
    rotation: 30
    energy: 10
    radius: 5
  - type: PressureProtection
    highPressureMultiplier: 0.08
    lowPressureMultiplier: 1000
  - type: SpeechSoundsReplacer
    speechSounds: Chrono
  - type: Armor
    traumaDeductions: # prevents traumas at all (kinda)
      Dismemberment: 1
      OrganDamage: 1
      BoneDamage: 1
      VeinsDamage: 1
      NerveDamage: 1
    modifiers:
      coefficients:
        Blunt: 0.01
        Slash: 0.01
        Piercing: 0.01
        Heat: 0.01
        Cold: 0.01
        Shock: 0.01
        Caustic: 0.01
        Radiation: 0.01
  - type: FlashImmunity
  - type: FlashSoundSuppression
    protectionRange: 0

#bso voidsuit

- type: entity
  parent: ClothingHeadHardsuitWithLightBase
  id: ClothingHeadHelmetHardsuitBlueshield
  name: blueshield hardsuit helmet
  description: The helmet of the captain's bodyguard's hardsuit.
  components:
  - type: BreathMask
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Hardsuits/bso.rsi
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Hardsuits/bso.rsi
  - type: PointLight
    color: "#4d7ae3"
    rotation: 30
    energy: 10
    radius: 5
  - type: PressureProtection
    highPressureMultiplier: 0.525
    lowPressureMultiplier: 1000
  - type: Armor
    traumaDeductions:
      Dismemberment: 0.3
      OrganDamage: 0.3
      BoneDamage: 0.3
      VeinsDamage: 0
      NerveDamage: 0
    modifiers:
      coefficients:
        Blunt: 0.65
        Slash: 0.65
        Piercing: 0.7
        Heat: 0.7
        Radiation: 0.6
        Caustic: 0.6
  - type: FlashImmunity
  - type: FlashSoundSuppression

# cybersun stealth

- type: entity
  parent: ClothingHeadHardsuitWithLightBase
  id: ClothingHeadHelmetHardsuitCybersunStealth
  suffix: stealth
  name: cybersun stealth hardsuit helmet
  description: A helmet with photo-reactive plating for stealth operations.
  components:
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Hardsuits/cybersunstealth.rsi
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Hardsuits/cybersunstealth.rsi
  - type: PointLight
    color: green
  - type: PressureProtection
    highPressureMultiplier: 0.08
    lowPressureMultiplier: 1000
  - type: Armor
    traumaDeductions:
      Dismemberment: 0.3
      OrganDamage: 0.3
      BoneDamage: 0.3
      VeinsDamage: 0
      NerveDamage: 0
    modifiers:
      coefficients:
        Blunt: 0.65
        Slash: 0.65
        Piercing: 0.65
        Heat: 0.65
        Radiation: 0.5
        Caustic: 0.7
  - type: ClothingGrantComponent
    component:
    - type: Stealth
      enabledOnDeath: false
      enabledOnCrit: false
      thermalsImmune: true # Goobstation
  - type: FlashImmunity
  - type: FlashSoundSuppression

# cybersun dreadnought

- type: entity
  parent: ClothingHeadHardsuitWithLightBase
  id: ClothingHeadHelmetHardsuitDreadnought
  name: Cybersun Dreadnought suit helmet
  description: A helmet, looking at this you wonder if there anyone alive.
  components:
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Hardsuits/dreadnought.rsi
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Hardsuits/dreadnought.rsi
  - type: PointLight
    color: red
  - type: PressureProtection
    highPressureMultiplier: 0.08
    lowPressureMultiplier: 1000
  - type: Armor
    traumaDeductions: # not full protection so its damage can actually harm you
      Dismemberment: 0.9
      OrganDamage: 0.9
      BoneDamage: 0.9
      VeinsDamage: 0.9
      NerveDamage: 0.9
    modifiers:
      coefficients:
        Blunt: 0.15
        Slash: 0.15 # holy shit bruv
        Piercing: 0.15
        Heat: 0.15
        Radiation: 0.25 # do people even know rad ammo exists? anyway making rad its weakness is kinda fair
        Caustic: 0.4
  - type: FlashImmunity
  - type: FlashSoundSuppression
  - type: SpeechSoundsReplacer
    speechSounds: Chrono

# Security
- type: entity
  parent: ClothingHeadHardsuitWithLightBase
  id: ClothingHeadHelmetVoidsuitSecurity
  name: security hardsuit helmet
  description: A well-built faceplate attached to the security hardsuit.
  components:
  - type: BreathMask
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Voidsuits/security.rsi
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Voidsuits/security.rsi
  - type: PointLight
    color: "#a4fef4"
    rotation: 30
    energy: 6
    radius: 4
  - type: PressureProtection
    highPressureMultiplier: 0.525
  - type: Armor
    traumaDeductions:
      Dismemberment: 0.3
      OrganDamage: 0.3
      BoneDamage: 0.3
      VeinsDamage: 0
      NerveDamage: 0
    modifiers:
      coefficients:
        Blunt: 0.75
        Slash: 0.75
        Piercing: 0.75
        Heat: 0.8
        Radiation: 0.6
        Caustic: 0.5
  - type: FlashImmunity
  - type: FlashSoundSuppression

# Head of Security
- type: entity
  parent: ClothingHeadHardsuitWithLightBase
  id: ClothingHeadHelmetHardsuitHeadOfSecurityExperimental
  name: head of security's advanced hardsuit helmet
  description: Security hardsuit helmet with the latest top secret NT-HUD software. This one seems more durable than stand issue helmets.
  components:
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Hardsuits/hos-expi.rsi
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Hardsuits/hos-expi.rsi
  - type: PointLight
    color: "#ffeead"
  - type: PressureProtection
    highPressureMultiplier: 0.45
  - type: Armor
    traumaDeductions:
      Dismemberment: 0.3
      OrganDamage: 0.3
      BoneDamage: 0.3
      VeinsDamage: 0
      NerveDamage: 0
    modifiers:
      coefficients:
        Blunt: 0.7
        Slash: 0.7
        Piercing: 0.7
        Heat: 0.8
        Radiation: 0.5
        Caustic: 0.5
  - type: FlashImmunity
  - type: FlashSoundSuppression

# Nanorep catalog Hardsuit

- type: entity
  parent: ClothingHeadHardsuitWithLightBase
  id: ClothingHeadHelmetHardsuitExperimentalNanorep
  name: "NTX5-Mirrorduss helmet"
  description: A dark green helmet with glowing cyan nodes, a mirrored visor, and a mounted side light.
  components:
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Helmets/ntr_experimental_helmet.rsi
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Helmets/ntr_experimental_helmet.rsi
    clothingVisuals:
      head:
      - state: equipped-head
      head-resomi:
      - state: equipped-head-resomi
  - type: PointLight
    color: white
    radius: 7
    energy: 5
  - type: ToggleableVisuals
    clothingVisuals:
      head:
      - state: equipped-head-light
        shader: unshaded
  - type: PressureProtection
    highPressureMultiplier: 0.05
    lowPressureMultiplier: 1000
  - type: ExplosionResistance
    damageCoefficient: 0.8
  - type: Armor
    traumaDeductions:
      Dismemberment: 0.2
      OrganDamage: 0.2
      BoneDamage: 0.2
      VeinsDamage: 0
      NerveDamage: 0
    modifiers:
      coefficients:
        Blunt: 0.8
        Slash: 0.8
        Piercing: 0.75
        Heat: 0.8
        Radiation: 0.7
        Caustic: 0.7
  - type: FireProtection
    reduction: 0.4

# singuloth head

- type: entity
  parent: [ClothingHeadHelmetHardsuitBlueshield, BaseMagicalContraband]
  id: ClothingHeadSinguloth
  name: singuloth knight's helm
  description: An adamantium helmet from the chapter of the Singuloth Knights. It shines with a holy aura
  components:
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Hardsuits/singulothhelm.rsi
    state: icon
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Hardsuits/singulothhelm.rsi
  - type: PointLight
    color: "#CD7F32"
    rotation: 30
    energy: 10
    radius: 5
  - type: Armor
    traumaDeductions:
      Dismemberment: 0.2
      OrganDamage: 0.2
      BoneDamage: 0.2
      VeinsDamage: 0
      NerveDamage: 0
    modifiers:
      coefficients:
        Blunt: 0.85
        Slash: 0.85
        Piercing: 0.75
        Heat: 0.7
        Radiation: 0.9
        Caustic: 0.9
  - type: FireProtection
    reduction: 0.4

- type: entity
  parent: ClothingHeadHelmetHardsuitCybersunStealth
  id: ClothingHeadHelmetHardsuitVoxRaiderStealth
  name: vox raider stealth helmet
  description: A smoothly contoured, matte-black alien helmet.
  components:
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Hardsuits/vox-raiders-stealth-head.rsi
    state: icon
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Hardsuits/vox-raiders-stealth-head.rsi
  - type: PointLight
    color: "#180031"
    rotation: 30
    energy: 10
    radius: 5
  - type: HideLayerClothing
    slots:
    - Hair
    - HeadTop
    - HeadSide
    - FacialHair
  
# Detective's Hardsuit

- type: entity
  parent: ClothingHeadHelmetVoidsuitSecurity
  id: ClothingHeadHelmetHardsuitDetective
  name: detective hardsuit helmet
  description: A helmet with a built-in fedora for the detective's hardsuit.
  components:
  - type: Sprite
    sprite: _Goobstation/Clothing/Head/Hardsuits/detective.rsi
  - type: Clothing
    sprite: _Goobstation/Clothing/Head/Hardsuits/detective.rsi
  - type: PointLight
    color: "#00FFFF"
    rotation: 30
    energy: 6
    radius: 4
