# SPDX-FileCopyrightText: 2020 AJCM-git <60196617+AJCM-git@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 DrSmugleaf <DrSmugleaf@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 GlassEclipse <tsymall5@gmail.com>
# SPDX-FileCopyrightText: 2020 Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
# SPDX-FileCopyrightText: 2020 ancientpower <ancientpowerer@gmail.com>
# SPDX-FileCopyrightText: 2020 ancientpower <evafleck@gmail.com>
# SPDX-FileCopyrightText: 2021 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Seth Lafuente <cetaciocascarudo@gmail.com>
# SPDX-FileCopyrightText: 2021 SethLafuente <84478872+SethLafuente@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
# SPDX-FileCopyrightText: 2021 Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 EmoGarbage404 <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 GoodWheatley <109803540+GoodWheatley@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Moony <moonheart08@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Peptide90 <78795277+Peptide90@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Rane <60792108+Elijahrane@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 keronshb <54602815+keronshb@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 mirrorcult <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2023 Chief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Flareguy <78941145+Flareguy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Kara <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2023 LankLTE <135308300+LankLTE@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Nim <128169402+Nimfar11@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 PixelTK <85175107+PixelTheKermit@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Slava0135 <40753025+Slava0135@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Tom Leys <tom@crump-leys.com>
# SPDX-FileCopyrightText: 2023 Whisper <121047731+QuietlyWhisper@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 lzk <124214523+lzk228@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 ninruB <38016303+asperger-sind@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 potato1234_x <79580518+potato1234x@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Admiral-Obvious-001 <89495925+Admiral-Obvious-001@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2024 Alzore <140123969+Blackern5000@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Avalon <148660190+BYONDFuckery@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 CatMagic <135462166+CatMagic1@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ed <96445749+TheShuEd@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Emisse <99158783+Emisse@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Errant <35878406+Errant-4@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Ilya246 <57039557+Ilya246@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Kira Bridgeton <161087999+Verbalase@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 brainfood1183 <113240905+brainfood1183@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2024 slarticodefast <161409025+slarticodefast@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Armok <155400926+ARMOKS@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aviu00 <93730715+Aviu00@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aviu00 <aviu00@protonmail.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 OnsenCapy <101037138+OnsenCapy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 RatherUncreative <RatherUncreativeName@proton.me>
# SPDX-FileCopyrightText: 2025 SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Ted Lukin <66275205+pheenty@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2025 pheenty <fedorlukin2006@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: damageModifierSet
  id: Metallic
  coefficients:
    Blunt: 0.7
    Slash: 0.5
    Piercing: 0.7
    Shock: 1.2
    Structural: 0.5
  flatReductions:
    Blunt: 5
    Heat: 5

- type: damageModifierSet
  id: StructuralMetallicStrong
  coefficients:
    Blunt: 0.5
    Slash: 0.5
    Piercing: 0.5
    Shock: 1.2
    Structural: 0.25
  flatReductions:
    Blunt: 10
    Slash: 10
    Piercing: 10
    Heat: 10
    Structural: 10

- type: damageModifierSet
  id: StructuralMetallic
  coefficients:
    Shock: 1.2
    Heat: 1.2
    Structural: 0.5
  flatReductions:
    Blunt: 10
    Slash: 10
    Piercing: 10
    Heat: 10
    Structural: 10

- type: damageModifierSet
  id: Rock
  coefficients:
    Structural: 4
    Blunt: 0.5
    Slash: 0.25
    Piercing: 0.75
    Heat: 0.9
  flatReductions:
    Blunt: 5

- type: damageModifierSet
  id: PerforatedMetallic
  coefficients:
    Blunt: 2
    Piercing: 0.2
    Shock: 0.6
  flatReductions:
    Piercing: 10

# for fragile electronics like consoles or shuttle engines.
- type: damageModifierSet
  id: Electronic
  coefficients:
    Blunt: 0.7
    Slash: 0.5
    Piercing: 0.7
    Shock: 2
    Heat: 3
    Structural: 0.5

# Like metallic, but without flat reduction so it can be damaged with fists.
- type: damageModifierSet
  id: FlimsyMetallic
  coefficients:
    Blunt: 0.7
    Slash: 0.5
    Piercing: 0.7
    Shock: 1.2

# Like metallic but very strong to resist most all basic tools and weapons.
- type: damageModifierSet
  id: StrongMetallic
  coefficients:
    Blunt: 0.7
    Slash: 0.5
    Piercing: 0.7
    Shock: 1.2
  flatReductions:
    Blunt: 10
    Slash: 10
    Piercing: 10
    Shock: 10
    Heat: 10

- type: damageModifierSet
  id: Inflatable
  coefficients:
    Blunt: 0.5
    Piercing: 2.0
    Heat: 0.5
    Shock: 0
    Structural: 0.25
  flatReductions:
    Blunt: 5

- type: damageModifierSet
  id: Glass
  coefficients:
    Blunt: 1.2
    Slash: 0.5
    Piercing: 1.0
    Heat: 0.8
    Shock: 0 #glass is an insulator!
  flatReductions:
    Slash: 5
    Piercing: 5
    Heat: 5
    Structural: 5

- type: damageModifierSet
  id: RGlass
  coefficients:
    Blunt: 0.5
    Slash: 0.3
    Piercing: 0.6
    Heat: 0.5
    Shock: 0
    Structural: 0.5
  flatReductions:
    Blunt: 5
    Slash: 5
    Piercing: 5
    Heat: 5
    Structural: 10

- type: damageModifierSet
  id: Wood
  coefficients:
    Blunt: 0.5
    Slash: 2.0
    Piercing: 1.0
    Heat: 2.0
    Structural: 0.5
  flatReductions:
    Blunt: 5

- type: damageModifierSet
  id: Web # Very flammable, can be easily hacked and slashed, but shooting or hitting it is another story.
  coefficients:
    Blunt: 0.7
    Slash: 1.4
    Piercing: 0.7
    Heat: 2.0

- type: damageModifierSet
  id: Slime
  coefficients:
    Blunt: 0.6
    Slash: 1.15 # Goob edit
    Piercing: 1.15 # Goob edit
    Cold: 1.5
    Poison: 0.8
  ignoreArmorPierceFlags: All # Goobstation

- type: damageModifierSet
  id: Infernal
  coefficients:
    Blunt: 0.8
    Slash: 0.8
    Piercing: 0.8
    Cold: 0.8
    Heat: 0.2
    Holy: 1.5
  flatReductions:
    Heat: 3
  ignoreArmorPierceFlags: All # Goobstation

- type: damageModifierSet
  id: Scale # Skin tougher, bones weaker, strong stomachs, cold-blooded (kindof)
  coefficients:
    Cold: 1.3
  ignoreArmorPierceFlags: All # Goobstation

- type: damageModifierSet
  id: Diona
  coefficients:
    Blunt: 0.7
    Slash: 0.8
    Heat: 1.5
    Shock: 1.2
  ignoreArmorPierceFlags: All # Goobstation

- type: damageModifierSet
  id: Moth # Slightly worse at everything but cold
  coefficients:
    Cold: 0.7
    Heat: 1.3
  # Goobstation
    Blunt: 1.065
    Slash: 1.065
    Piercing: 1.065
  ignoreArmorPierceFlags: All

- type: damageModifierSet
  id: Vox
  coefficients: # To be decided
    Poison: 1
  ignoreArmorPierceFlags: All # Goobstation

- type: damageModifierSet
  id: Zombie #Goob change, make zombies great again
  coefficients:
    Blunt: 2
    Piercing: 2
    Slash: 2
    Cold: 0.3
    Heat: 2
    Poison: 0.0
    Radiation: 0.0
  ignoreArmorPierceFlags: All # Goobstation

# immune to everything except physical and heat damage
# Goob edit
- type: damageModifierSet
  id: Skeleton
  coefficients:
    Cold: 0.0
    Poison: 0.0
    Radiation: 0.0
    Asphyxiation: 0.0
    Bloodloss: 0.0
    Cellular: 0.0
  ignoreArmorPierceFlags: All # Goobstation

# hurt a lot by blunt, immune to a good amount of other stuff because they're a cookie
- type: damageModifierSet
  id: Gingerbread
  coefficients:
    Blunt: 1.5
    # Cold: 0.0 # Goobstation - Prevents gingerbread from being immune to Cosmic Cultist damage
    Radiation: 0.5
    Asphyxiation: 0.0
    Bloodloss: 0.0
    # Cellular: 0.0 # Goobstation - changelings
  ignoreArmorPierceFlags: All # Goobstation

# Represents which damage types should be modified
# in relation to how they cause bleed rate.
# Make sure to add any new damage type here.
- type: damageModifierSet
  id: BloodlossHuman
  coefficients:
    Asphyxiation: 0.0
    Bloodloss: 0.0 # no double dipping
    Blunt: 0.08
    Caustic: 0.0
    Cellular: 0.0
    Cold: 0.0
    Heat: -0.5 # heat damage cauterizes wounds, but will still hurt obviously.
    Holy: 0
    Piercing: 0.2
    Poison: 0.0
    Radiation: 0.0
    Shock: 0.0
    Slash: 0.25
    Structural: 0.0

- type: damageModifierSet
  id: SlimePet # Very survivable slimes
  coefficients:
    Blunt: 0.5
    Slash: 0.8
    Piercing: 0.8
    Cold: 1.0
    Poison: 0.2
    Cellular: 0.0
    Radiation: 0.2
    Caustic: 0.0
  ignoreArmorPierceFlags: All # Goobstation

- type: damageModifierSet
  id: HellSpawn
  coefficients:
    Heat: 0.0
    Radiation: 0.0
    Shock: 0.8
    Bloodloss: 0.4
    Holy: 1
  ignoreArmorPierceFlags: All # Goobstation

- type: damageModifierSet
  id: Cockroach
  coefficients:
    Blunt: 1.0
    Slash: 1.0
    Piercing: 1.0
    Cold: 1.0
    Poison: 1.0
    Cellular: 1.0
    Radiation: 0.0 # hehe funny cockroach immune to rads
    Caustic: 1.0
  ignoreArmorPierceFlags: All # Goobstation

# Massive heat damage, presumably to kill with lasers
- type: damageModifierSet
  id: LivingLight
  coefficients:
    Blunt: 0.8
    Slash: 0.8
    Piercing: 0.7
    Shock: 0.0
    Cold: 0.0
    Poison: 0.0
    Radiation: 0.0
    Cellular: 0.0
    Heat: 2.5
    Caustic: 0.0
  ignoreArmorPierceFlags: All # Goobstation

# protects against radiation
- type: damageModifierSet
  id: PotassiumIodide
  coefficients:
    Radiation: 0.1

- type: damageModifierSet
  id: ManifestedSpirit
  coefficients:
    Holy: 2

- type: damageModifierSet
  id: AdvancedSpirit
  coefficients:
    Blunt: 0.0
    Slash: 0.0
    Piercing: 0.0
    Shock: 0.0
    Cold: 0.0
    Poison: 0.0
    Radiation: 0.0
    Cellular: 0.0
    Heat: 0.0
    Caustic: 0.0
    Holy: 2.0
