# 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

- type: entity
  parent: OreBase
  id: ArtifactFragmentOre
  name: artifact fragment ore
  suffix: Full
  components:
  - type: Stack
    stackType: ArtifactFragmentOre
  - type: Sprite
    sprite: _Lavaland/Objects/Materials/ore.rsi
    state: artifact
  - type: Material
  - type: PhysicalComposition
    materialComposition:
      RawArtifactFragment: 100
  - type: Extractable
    juiceSolution:
      reagents:
      - ReagentId: Artifexium
        Quantity: 10
  - type: GuideHelp
    guides:
    - Xenoarchaeology
  - type: Item
    heldPrefix: artifact
  - type: Tag
    tags:
    - Ore
    - OreGold

- type: entity
  parent: ArtifactFragmentOre
  id: ArtifactFragmentOre1
  suffix: Single
  components:
  - type: Stack
    count: 1

# This is kinda shitty, but the other choice is fucking with StackSystem to allow it to track entities so I can keep tabs on which ore specifically has been clained.
# Or cook some nasty shitcode to split the unclaimed value across all of the entities in the stack if there is any. But that feels fairly wonky.
# Enjoy having to shove any new ores here.
- type: entity
  parent: GoldOre
  id: GoldOreUnprocessed
  name: unprocessed gold ore
  suffix: Full
  components:
  - type: Stack
    stackType: GoldOreUnprocessed
  - type: UnclaimedOre
    miningPoints: 12

- type: entity
  parent: GoldOreUnprocessed
  id: GoldOre1Unprocessed
  name: unprocessed gold ore
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: DiamondOre
  id: DiamondOreUnprocessed
  name: unprocessed diamond ore
  suffix: Full
  components:
  - type: Stack
    stackType: DiamondOreUnprocessed
  - type: UnclaimedOre
    miningPoints: 1000 # rarest ore in the game, only 1 yield, used for endgame schematics

- type: entity
  parent: DiamondOreUnprocessed
  id: DiamondOre1Unprocessed
  name: unprocessed diamond ore
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: SteelOre
  id: SteelOreUnprocessed
  name: unprocessed iron ore
  suffix: Thirty
  components:
  - type: Stack
    stackType: SteelOreUnprocessed
  - type: UnclaimedOre
    miningPoints: 3 # very abundant, is used up more than coal (coal 0.1, iron 0.33)

- type: entity
  id: SteelOre1Unprocessed
  parent: SteelOreUnprocessed
  name: unprocessed iron ore
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  id: SteelOre60Unprocessed
  parent: SteelOreUnprocessed
  name: unprocessed iron ore
  suffix: Sixty
  components:
  - type: Stack
    count: 60

- type: entity
  id: SteelOre90Unprocessed
  parent: SteelOreUnprocessed
  name: unprocessed iron ore
  suffix: Full
  components:
  - type: Stack
    count: 90

- type: entity
  parent: PlasmaOre
  id: PlasmaOreUnprocessed
  name: unprocessed plasma ore
  suffix: Full
  components:
  - type: Stack
    stackType: PlasmaOreUnprocessed
  - type: UnclaimedOre
    miningPoints: 6

- type: entity
  parent: PlasmaOreUnprocessed
  id: PlasmaOre1Unprocessed
  name: unprocessed plasma ore
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: SilverOre
  id: SilverOreUnprocessed
  name: unprocessed silver ore
  suffix: Full
  components:
  - type: Stack
    stackType: SilverOreUnprocessed
  - type: UnclaimedOre
    miningPoints: 12

- type: entity
  parent: SilverOreUnprocessed
  id: SilverOre1Unprocessed
  name: unprocessed silver ore
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: SpaceQuartz
  id: SpaceQuartzUnprocessed
  name: unprocessed space quartz
  suffix: Thirty
  components:
  - type: Stack
    stackType: SpaceQuartzUnprocessed
  - type: UnclaimedOre
    miningPoints: 3.5 # slightly rarer than iron and coal

- type: entity
  parent: SpaceQuartzUnprocessed
  id: SpaceQuartz1Unprocessed
  name: unprocessed space quartz
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: SpaceQuartzUnprocessed
  id: SpaceQuartz60Unprocessed
  name: unprocessed space quartz
  suffix: Sixty
  components:
  - type: Stack
    count: 60

- type: entity
  parent: SpaceQuartzUnprocessed
  id: SpaceQuartz90Unprocessed
  name: unprocessed space quartz
  suffix: Full
  components:
  - type: Stack
    count: 90

- type: entity
  parent: UraniumOre
  id: UraniumOreUnprocessed
  name: unprocessed uranium ore
  suffix: Full
  components:
  - type: Stack
    stackType: UraniumOreUnprocessed
  - type: UnclaimedOre
    miningPoints: 24 # used for fuel, lategame schematics, artifacts ect

- type: entity
  parent: UraniumOreUnprocessed
  id: UraniumOre1Unprocessed
  name: unprocessed uranium ore
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: BananiumOre
  id: BananiumOreUnprocessed
  name: unprocessed bananium ore
  suffix: Full
  components:
  - type: Stack
    stackType: BananiumOreUnprocessed
  - type: UnclaimedOre
    miningPoints: 69 # nice

- type: entity
  parent: BananiumOreUnprocessed
  id: BananiumOre1Unprocessed
  name: unprocessed bananium ore
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: Coal
  id: CoalUnprocessed
  name: unprocessed coal
  suffix: Thirty
  components:
  - type: Stack
    stackType: CoalUnprocessed
  - type: UnclaimedOre
    miningPoints: 1 # very abundant, used up much less in steel (0.1 coal, 0.33 iron)

- type: entity
  parent: CoalUnprocessed
  id: Coal1Unprocessed
  name: unprocessed coal
  suffix: Single
  components:
  - type: Stack
    count: 1

- type: entity
  parent: CoalUnprocessed
  id: Coal5Unprocessed
  name: unprocessed coal
  suffix: Five
  components:
  - type: Stack
    count: 5

- type: entity
  parent: CoalUnprocessed
  id: Coal10Unprocessed
  name: unprocessed coal
  suffix: Ten
  components:
  - type: Stack
    count: 10

- type: entity
  parent: CoalUnprocessed
  id: Coal15Unprocessed
  name: unprocessed coal
  suffix: Fifteen
  components:
  - type: Stack
    count: 15

- type: entity
  parent: CoalUnprocessed
  id: Coal60Unprocessed
  name: unprocessed coal
  suffix: Sixty
  components:
  - type: Stack
    count: 60

- type: entity
  parent: CoalUnprocessed
  id: Coal90Unprocessed
  name: unprocessed coal
  suffix: Full
  components:
  - type: Stack
    count: 90

- type: entity
  parent: ArtifactFragmentOre
  id: ArtifactFragmentOreUnprocessed
  name: unprocessed artifact fragment ore
  suffix: Full
  components:
  - type: Stack
    stackType: ArtifactFragmentOreUnprocessed
  - type: UnclaimedOre
    miningPoints: 200

- type: entity
  parent: ArtifactFragmentOreUnprocessed
  id: ArtifactFragmentOre1Unprocessed
  name: unprocessed artifact fragment ore
  suffix: Single
  components:
  - type: Stack
    count: 1
