- type: entity
  parent: CrateGenericSteel
  id: CrateSalvageEquipment
  name: "salvage equipment crate"
  suffix: Filled
  description: For the daring.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: ClothingOuterHardsuitSalvage
        - id: ClothingMaskBreath
        - id: OxygenTankFilled
        - id: FireExtinguisher
        - id: ClothingShoesBootsMag
        - id: HandHeldMassScanner
        - id: Pickaxe
        - id: Welder
        - id: Wrench
        - id: Screwdriver
        - id: Crowbar
        - id: Wirecutter
        - id: ClothingBeltUtility
        - id: OreBag
        - id: ClothingBeltSalvageWebbing

- type: entity
  parent: CrateGenericSteel
  id: CrateSalvageAssortedGoodies
  categories: [ HideSpawnMenu ] # You should use SalvageMaterialCrateSpawner instead
  suffix: Filled, Salvage Random
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
          # Normal (10%)
        - id: OxygenTankFilled
          prob: 0.1
        - id: SheetPlasma
          prob: 0.1
        - id: IngotGold
          prob: 0.1
        - id: IngotSilver
          prob: 0.1
        - id: SheetPlasma
          prob: 0.1
        - id: WelderIndustrialAdvanced
          prob: 0.1
        - id: ResearchDisk
          prob: 0.1
        - id: SheetUranium
          prob: 0.1
          #  - Service
        - id: CrayonBox
          prob: 0.1
          #  - Medical
        - id: MedkitFilled
          prob: 0.1
        - id: BoxSyringe
          prob: 0.1
        - id: BoxBeaker
          prob: 0.1
          #  - Heh
        - id: SalvageHumanCorpse
          prob: 0.1
          # Interesting (1%)
          #  - Ammo
        - id: MagazineBoxMagnum
          prob: 0.01
        - id: ResearchDisk10000
          prob: 0.01
          # Just no (0.1%)
          #  - Working guns
        - id: WeaponRevolverDeckard
          prob: 0.001
        - id: WeaponRevolverInspector
          prob: 0.001
        - id: ClothingShoesBootsMagBlinding
          prob: 0.001
          #  - Skub
        - id: Skub
          prob: 0.001
        - id: ClothingHeadHatCatEars
          prob: 0.01
        - id: ClothingHeadHatDogEars
          prob: 0.01
          # TRAITOR EQUIPMENT (0.01%)
        - id: Telecrystal10
          prob: 0.0001
        - id: WeaponRevolverPython
          prob: 0.0001
        - id: WeaponRevolverMateba
          prob: 0.0001

- type: entity
  parent: CrateGenericSteel
  id: CrateCrusherDagger
  name: crusher dagger crate
  description: Contains 4 crusher daggers for use by salvage.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: WeaponCrusherDagger
        amount: 4

# Salvage rewards
- type: entity
  parent: CrateGenericSteel
  id: CrateSeismicCharge
  name: seismic charge crate
  description: Contains 6 seismic charges for use by salvage.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: SeismicCharge
        amount: 6

- type: entity
  parent: CrateGenericSteel
  id: CrateDoubleEmergencyTank
  name: double emergency tank crate
  description: Contains 2 double emergency oxygen tanks and 2 double emergency nitrogen tanks
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: DoubleEmergencyOxygenTankFilled
          amount: 2
        - id: DoubleEmergencyNitrogenTankFilled
          amount: 2

- type: entity
  parent: CrateGenericSteel
  id: CrateCrusher
  name: crusher crate
  description: Contains 2 crushers for use by salvage.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: WeaponCrusher
        amount: 2

- type: entity
  parent: CrateGenericSteel
  id: CrateFulton
  name: fulton crate
  description: Contains a fulton beacon and 8 fultons.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: FultonBeacon
        - id: Fulton
          amount: 8

- type: entity
  parent: CrateGenericSteel
  id: CrateVoidJetpack
  name: void jetpack crate
  description: Contains a single void jetpack.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: JetpackVoidFilled

- type: entity
  parent: CrateGenericSteel
  id: CrateSalvageHardsuit
  name: mining hardsuit crate
  description: Contains a mining hardsuit, breath mask, and one tank of both oxygen and nitrogen.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: ClothingOuterHardsuitSalvage
        - id: ClothingMaskBreath
        - id: OxygenTankFilled
        - id: NitrogenTankFilled

- type: entity
  parent: CrateGenericSteel
  id: CrateCrusherGlaive
  name: crusher glaive crate
  description: Contains a crusher glaive for use by salvage.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: WeaponCrusherGlaive

- type: entity
  parent: CrateGenericSteel
  id: CrateSupremeSalvagerCloak
  name: supreme salvager cloak crate
  description: Contains a cloak only to be worn by supreme salvagers. Wearing it undeservedly will result in your doom.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: ClothingNeckCloakSalvagerSupreme
