# SPDX-FileCopyrightText: 2023 AjexRose <112997230+AjexRose@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Flareguy <78941145+Flareguy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Jackal298 <129199891+Jackal298@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Vordenburg <114301317+Vordenburg@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2023 metalgearsloth <comedian_vs_clown@hotmail.com>
# SPDX-FileCopyrightText: 2024 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: MIT

- type: weightedRandomEntity
  id: SalvageRewardCommon
  weights:
    # basic materials
    CrateMaterialGlass: 1.0
    CrateMaterialPlasteel: 1.0
    CrateMaterialPlastic: 1.0
    CrateMaterialSteel: 1.0
    # things the station might want
    CrateEngineeringAMEJar: 0.25
    CrateFoodPizzaLarge: 0.25
    CrateFoodSoftdrinks: 0.25
    CrateFunInstrumentsVariety: 0.25
    CrateSalvageEquipment: 0.25
    RandomArtifactSpawner: 0.25
    # weighted down since it sells for a lot
    NuclearBombKeg: 0.1
    # money
    SpaceCash500: 0.5
    SpaceCash1000: 0.25

- type: weightedRandomEntity
  id: SalvageRewardRare
  weights:
    # rare materials
    IngotGold: 1.0
    IngotSilver: 1.0
    SheetPlasma: 1.0
    SheetUranium: 1.0
    CratePartsT3: 1.0
    CratePartsT3T4: 0.5
    TechnologyDiskRare: 0.5
    # cloning boards
    CloningPodMachineCircuitboard: 0.5
    MedicalScannerMachineCircuitboard: 0.5
    CloningConsoleComputerCircuitboard: 0.5
    BiomassReclaimerMachineCircuitboard: 0.5
    # basic weapons
    Machete: 0.25
    Katana: 0.25
    KukriKnife: 0.25
    WeaponLaserGun: 0.25
    MakeshiftShield: 0.25
    # rare armor
    ClothingHeadHelmetSwat: 0.25
    ClothingOuterArmorBasicSlim: 0.25
    # rare weapons
    WeaponMakeshiftLaser: 0.1
    # money
    SpaceCash500: 1.0
    SpaceCash1000: 0.75
    SpaceCash2500: 0.5

- type: weightedRandomEntity
  id: SalvageRewardEpic
  weights:
    # rare machinery
    AmmoTechFabCircuitboard: 1.0
    ResearchAndDevelopmentServerMachineCircuitboard: 1.0
    CratePartsT4: 1.0
    PowerCellAntiqueProto: 0.25
    # basic weapons
    CrateArmorySMG: 1.0
    CrateArmoryLaser: 1.0
    CrateArmoryShotgun: 1.0
    CrateArmoryPistols: 1.0
    # rare armor
    ClothingOuterArmorRiot: 1.0
    # rare chemicals
    ChemistryBottleCognizine: 1.0
    ChemistryBottleOmnizine: 1.0
    # money
    SpaceCash2500: 1.0
    SpaceCash5000: 0.75
    SpaceCash10000: 0.5