# SPDX-FileCopyrightText: 2023 Alekshhh <44923899+Alekshhh@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Jeff <velcroboy333@hotmail.com>
# SPDX-FileCopyrightText: 2023 Velcroboy <107660393+IamVelcroboy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Vordenburg <114301317+Vordenburg@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 cOrigin <96662984+c0rigin@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 forthbridge <79264743+forthbridge@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2024 Aiden <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2024 Ed <96445749+TheShuEd@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Emisse <99158783+Emisse@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Weide <64257676+Lyacs@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Zadeon <loldude9000@gmail.com>
# SPDX-FileCopyrightText: 2024 brainfood1183 <113240905+brainfood1183@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 lanse12 <cloudability.ez@gmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Aineias1 <dmitri.s.kiselev@gmail.com>
# SPDX-FileCopyrightText: 2025 FaDeOkno <143940725+FaDeOkno@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 McBosserson <148172569+McBosserson@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Milon <plmilonpl@gmail.com>
# SPDX-FileCopyrightText: 2025 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2025 Rouden <149893554+Roudenn@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 TheBorzoiMustConsume <197824988+TheBorzoiMustConsume@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Unlumination <144041835+Unlumy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <linebarrelerenthusiast@gmail.com>
# SPDX-FileCopyrightText: 2025 thebiggestbruh <marcus2008stoke@gmail.com>
# SPDX-FileCopyrightText: 2025 username <113782077+whateverusername0@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 whateverusername0 <whateveremail>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# TODO: Kill ore veins
# Split it into 2 components, 1 for "spawn XYZ on destruction" and 1 for "randomly select one of these for spawn on destruction"

# High yields
- type: ore
  id: OreSteel
  oreEntity: SteelOre1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 5

- type: ore
  id: OreSpaceQuartz
  oreEntity: SpaceQuartz1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 5

- type: ore
  id: OreCoal
  oreEntity: Coal1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 5

# Medium yields
- type: ore
  id: OreGold
  oreEntity: GoldOre1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 3

- type: ore
  id: OreSilver
  oreEntity: SilverOre1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 3

- type: ore
  id: OreSalt
  oreEntity: Salt1
  minOreYield: 1
  maxOreYield: 3

# Low yields
- type: ore
  id: OrePlasma
  oreEntity: PlasmaOre1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 2

- type: ore
  id: OreUranium
  oreEntity: UraniumOre1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 2

- type: ore
  id: OreBananium
  oreEntity: BananiumOre1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 3

- type: ore
  id: OreDiamond
  oreEntity: DiamondOre1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 1

- type: ore
  id: OreQuartzCrab
  oreEntity: MobSpawnCrabQuartz

- type: ore
  id: OreIronCrab
  oreEntity: MobSpawnCrabIron

- type: ore
  id: OreCoalCrab
  oreEntity: MobSpawnCrabCoal

- type: ore
  id: OreSilverCrab
  oreEntity: MobSpawnCrabSilver

- type: ore
  id: OreGoldCrab
  oreEntity: MobSpawnCrabGold

- type: ore
  id: OreBananiumCrab
  oreEntity: MobSpawnCrabBananium

- type: ore
  id: OreUraniumCrab
  oreEntity: MobSpawnCrabUranium

- type: ore
  id: OreArtifactFragment
  oreEntity: ArtifactFragmentOre1Unprocessed # Lavaland Change
  minOreYield: 1
  maxOreYield: 3

- type: weightedRandomOre
  id: RandomOreDistributionStandard
  weights:
  # Lavaland Change Start - Unprocessed Ores
    OreSteel: 10
    OreCoal: 10
    OreSpaceQuartz: 8
    OrePlasma: 4
    OreSilver: 2 # previously rarer than gold, even though they are both typically used in similar amounts for crafting
    OreGold: 2
    OreUranium: 1
    OreBSCrystal: 0.5 # to account for higher points (250)
    OreBananium: 0.25 # to account for it being a useless meme ore
    OreDiamond: 0.1 # to account for its much higher points (1000), as well as its use in endgame schematics
  # Lavaland Change End
    OreArtifactFragment: 0.5

- type: weightedRandomOre
  id: OreCrab
  weights:
    OreQuartzCrab: 5
    OreIronCrab: 5
    OreUraniumCrab: 2
    OreSilverCrab: 3
    OreBananiumCrab: 1
    OreCoalCrab: 5
    OreGoldCrab: 2
