# SPDX-FileCopyrightText: 2020 Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
# SPDX-FileCopyrightText: 2020 Vera Aguilera Puerto <zddm@outlook.es>
# SPDX-FileCopyrightText: 2021 20kdc <asdd2808@gmail.com>
# SPDX-FileCopyrightText: 2021 Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
# SPDX-FileCopyrightText: 2021 Swept <sweptwastaken@protonmail.com>
# SPDX-FileCopyrightText: 2022 Easypoller <117361103+Easypoller@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 Rinkashikachi <15rinkashikachi15@gmail.com>
# SPDX-FileCopyrightText: 2022 Scribbles0 <91828755+Scribbles0@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 corentt <36075110+corentt@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 magmodius <88403244+magmodius@users.noreply.github.com>
# SPDX-FileCopyrightText: 2022 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Puro <103608145+PuroSlavKing@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 lzk228 <124214523+lzk228@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2024 Ed <96445749+TheShuEd@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 Eoin Mcloughlin <helloworld@eoinrul.es>
# SPDX-FileCopyrightText: 2024 Kara <lunarautomaton6@gmail.com>
# SPDX-FileCopyrightText: 2024 Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 PoTeletubby <ajcraigaz@gmail.com>
# SPDX-FileCopyrightText: 2024 chromiumboy <50505512+chromiumboy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 eoineoineoin <github@eoinrul.es>
# SPDX-FileCopyrightText: 2024 lzk <124214523+lzk228@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Dinner <180707738+DinnerCalzone@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 Southbridge <7013162+southbridge-fur@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Steve <marlumpy@gmail.com>
# SPDX-FileCopyrightText: 2025 marc-pelletier <113944176+marc-pelletier@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: CrateEngineeringGear
  parent: CrateEngineering
  name: engineering gear crate
  description: Various engineering gear parts.
  components:
  - type: StorageFill
    contents:
      - id: ClothingBeltUtility
        amount: 2
      - id: ClothingEyesGlassesMeson
        amount: 2
      - id: ClothingHeadHatHardhatYellow
        amount: 2
      - id: ClothingHeadHatWelding
        amount: 2
      - id: ClothingOuterVestHazard
        amount: 3
      - id: ClothingHandsGlovesColorYellow
        amount: 2

- type: entity
  id: CrateEngineeringToolbox
  parent: CrateEngineering
  name: toolbox crate
  description: Two mechanical and two electrical toolboxes.
  components:
  - type: StorageFill
    contents:
      - id: ToolboxMechanicalFilled
        amount: 2
      - id: ToolboxElectricalFilled
        amount: 2

#- type: entity
#  id: CrateEngineeringPowercell
#  parent: CrateElectrical
#  name: AME crate
#  description: Three microcreactor powercells.
#  components:
#  - type: StorageFill
#    contents:
#      - id: PowerCellMicroreactor
#        amount: 3

- type: entity
  id: CrateEngineeringCableLV
  parent: CrateElectrical
  name: LV cable crate
  description: 3 coils of LV cables.
  components:
  - type: StorageFill
    contents:
      - id: CableApcStack
        amount: 3

- type: entity
  id: CrateEngineeringCableMV
  parent: CrateElectrical
  name: MV cable crate
  description: 3 coils of MV cables.
  components:
  - type: StorageFill
    contents:
      - id: CableMVStack
        amount: 3

- type: entity
  id: CrateEngineeringCableHV
  parent: CrateElectrical
  name: HV cable crate
  description: 3 coils of HV cables.
  components:
  - type: StorageFill
    contents:
      - id: CableHVStack
        amount: 3

- type: entity
  id: CrateEngineeringFoamGrenade
  parent: CrateEngineeringSecure
  name: sealant grenade crate
  description: 5 metal foam sealant grenades.
  components:
  - type: StorageFill
    contents:
    - id: MetalFoamGrenade
      amount: 5

- type: entity
  id: CrateEngineeringCableBulk
  parent: CrateElectrical
  name: bulk cable crate
  description: 2 coils each for every cable type.
  components:
  - type: StorageFill
    contents:
      - id: CableHVStack
        amount: 2
      - id: CableMVStack
        amount: 2
      - id: CableApcStack
        amount: 2

- type: entity
  id: CrateEngineeringElectricalSupplies
  parent: CrateElectrical
  name: electrical supplies crate
  description: NT is not responsible for any workplace infighting relating to the insulated gloves included within these crates.
  components:
  - type: StorageFill
    contents:
      - id: ToolboxElectricalFilled
        amount: 2
      - id: ClothingHandsGlovesColorYellow
        amount: 2

- type: entity
  id: CrateEngineeringStationBeaconBundle
  parent: CratePlastic
  name: station beacon bundle
  description: A crate containing 5 station beacon assemblies for modifying the station map.
  components:
  - type: StorageFill
    contents:
    - id: StationBeaconPart
      amount: 5

- type: entity
  id: CrateEngineeringJetpack
  parent: CrateGenericSteel
  name: jetpack crate
  description: Two jetpacks for those who don't know how to use fire extinguishers.
  components:
  - type: StorageFill
    contents:
      - id: JetpackBlue
        amount: 2

- type: entity
  id: CrateEngineeringMiniJetpack
  parent: CrateGenericSteel
  name: mini jetpack crate
  description: Two mini jetpacks for those who want an extra challenge.
  components:
  - type: StorageFill
    contents:
      - id: JetpackMini
        amount: 2

- type: entity
  id: CrateAirlockKit
  parent: CrateEngineering
  name: airlock kit
  description: A kit for building 6 airlocks, doesn't include tools.
  components:
  - type: StorageFill
    contents:
      - id: SheetSteel
      - id: CableApcStack
      - id: DoorElectronics
        amount: 6

- type: entity
  id: CrateEvaKit
  parent: CrateCommandSecure
  name: EVA kit
  description: A set consisting of two prestigious EVA suits and helmets.
  components:
  - type: StorageFill
    contents:
      - id: ClothingHeadHelmetEVA
        amount: 2
      - id: ClothingOuterHardsuitEVA
        amount: 2

- type: entity
  id: CrateRCDAmmo
  parent: CrateEngineering
  name: compressed matter crate
  description: Contains three compressed matter cartridges.
  components:
  - type: StorageFill
    contents:
    - id: RCDAmmo
      amount: 3

- type: entity
  id: CrateRCD
  parent: CrateEngineeringSecure
  name: RCD crate
  description: A crate containing a single rapid construction device.
  components:
  - type: StorageFill
    contents:
    - id: RCD

- type: entity
  id: CrateParticleDecelerators
  parent: CrateEngineeringSecure
  name: particle decelerators crate
  description: A crate containing 3 Particle Decelerators.
  components:
  - type: StorageFill
    contents:
    - id: WeaponParticleDecelerator
      amount: 3

- type: entity
  id: CrateEngineeringSpaceHeater
  parent: CrateEngineering
  name: space heater crate
  description: Contains a space heater for climate control.
  components:
  - type: StorageFill
    contents:
      - id: SpaceHeaterFlatpack

- type: entityTable
  id: RandomTechBoardTable
  table: !type:GroupSelector
    children:
    - id: AirAlarmElectronics
    - id: FireAlarmElectronics
    - id: DoorElectronics
    - id: FirelockElectronics
    - id: APCElectronics
    - id: SignalTimerElectronics
    - id: SMESMachineCircuitboard
    - id: SubstationMachineCircuitboard
    - id: BorgChargerCircuitboard
    - id: CellRechargerCircuitboard
    - id: SpaceVillainArcadeComputerCircuitboard
    - id: BlockGameArcadeComputerCircuitboard

- type: entity
  id: CrateTechBoardRandom
  parent: CrateEngineering
  name: surplus boards
  description: Surplus boards from somewhere.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:NestedSelector
        tableId: RandomTechBoardTable
        rolls: !type:RangeNumberSelector
          range: 6, 8

# RPD
- type: entity
  id: CrateRPD
  parent: CrateEngineeringSecure
  name: RPD crate
  description: A crate containing a single rapid piping device.
  components:
  - type: StorageFill
    contents:
    - id: RPD

# Assmos - Extinguisher Nozzle
- type: entity
  id: CrateEngineeringFirefighterBackpackTank
  parent: CrateEngineering
  name: firefighter crate
  description: Contains a firefighter backpack water tank.
  components:
  - type: StorageFill
    contents:
      - id: ClothingBackpackFirefighterTank

- type: entity
  id: CrateAirGrenade
  parent: CrateEngineering
  name: air grenade crate
  description: A crate containing 3 air grenades.
  components:
  - type: StorageFill
    contents:
    - id: AirGrenade
      amount: 3
