- type: entity
  parent: CrateEngineering
  id: CrateEngineeringGear
  name: engineering gear crate
  description: Various engineering gear parts.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - 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
  parent: CrateEngineering
  id: CrateEngineeringToolbox
  name: toolbox crate
  description: Two mechanical and two electrical toolboxes.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: ToolboxMechanicalFilled
          amount: 2
        - id: ToolboxElectricalFilled
          amount: 2

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

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

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

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

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

- type: entity
  parent: CrateElectrical
  id: CrateEngineeringCableBulk
  name: bulk cable crate
  description: 2 coils each for every cable type.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: CableHVStack
          amount: 2
        - id: CableMVStack
          amount: 2
        - id: CableApcStack
          amount: 2

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

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

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

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

- type: entity
  parent: CrateEngineering
  id: CrateAirlockKit
  name: airlock kit
  description: A kit for building 6 airlocks, doesn't include tools.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: SheetSteel
        - id: CableApcStack
        - id: DoorElectronics
          amount: 6

- type: entity
  parent: CrateCommandSecure
  id: CrateEvaKit
  name: EVA kit
  description: A set consisting of two prestigious EVA suits and helmets.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: ClothingHeadHelmetEVA
          amount: 2
        - id: ClothingOuterHardsuitEVA
          amount: 2

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

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

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

- type: entity
  parent: CrateEngineering
  id: CrateEngineeringSpaceHeater
  name: space heater crate
  description: Contains a space heater for climate control.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        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
  parent: ToteBase
  id: CrateTechBoardRandom
  name: surplus boards
  description: Surplus boards from somewhere.
  components:
  - type: EntityTableContainerFill
    containers:
      storagebase: !type:NestedSelector
        tableId: RandomTechBoardTable
        rolls: !type:RangeNumberSelector
          range: 6, 8

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