- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialGlass
  name: glass sheet crate
  description: 90 sheets of glass, packed with care.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: SheetGlass
        amount: 3

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialSteel
  name: steel sheet crate
  description: 90 sheets of steel.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: SheetSteel
        amount: 3

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialTextiles
  name: textiles crate
  description: 60 pieces of cloth and 30 pieces of durathread.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: MaterialCloth
          amount: 2
        - id: MaterialDurathread

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialPlastic
  name: plastic sheet crate
  description: 90 sheets of plastic.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: SheetPlastic
        amount: 3

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialWood
  name: wood crate
  description: Bunch of wood planks.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: MaterialWoodPlank

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialBrass
  name: brass crate
  description: 90 sheets of brass.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: SheetBrass
        amount: 3

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialPlasteel
  name: plasteel crate
  description: 30 sheets of plasteel.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: SheetPlasteel

- type: entity
  parent: CratePlasma
  id: CrateMaterialPlasma
  name: solid plasma crate
  description: 30 sheets of plasma.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: SheetPlasma

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialGold
  name: gold crate
  description: 30 bars of gold.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: IngotGold

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialSilver
  name: silver crate
  description: 30 bars of silver.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: IngotSilver

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialCardboard
  name: cardboard crate
  description: 90 pieces of cardboard.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: MaterialCardboard
        amount: 3

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialPaper
  name: paper crate
  description: 90 sheets of paper.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage:
        id: SheetPaper
        amount: 3

- type: entityTable
  id: RandomMaterialCrateTable
  table: !type:GroupSelector
    children:
    - !type:GroupSelector # regular materials, 10
      weight: 35
      children:
      - id: SheetGlass10
      - id: SheetSteel10
      - id: SheetPlastic10
    - !type:GroupSelector # regular materials, stack
      weight: 30
      children:
      - id: SheetGlass
      - id: SheetSteel
      - id: SheetPlastic
    - !type:GroupSelector # secondary materials, stack
      weight: 30
      children:
      - id: MaterialCloth
      - id: SheetPlasteel
      - id: MaterialWoodPlank
      - id: PartRodMetal
    - !type:GroupSelector # tertiary materials, singles
      weight: 5
      children:
      - id: SheetPlasma1
      - id: SheetUranium1
      - id: IngotGold1
      - id: IngotSilver1

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialRandom
  name: surplus materials
  description: Surplus materials from somewhere.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:NestedSelector
        tableId: RandomMaterialCrateTable
        rolls: !type:RangeNumberSelector
          range: 2, 4

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialSilo
  name: material silo crate
  description: A package including all the materials to create a material silo.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: MaterialSiloMachineCircuitboard
        - id: SheetSteel1
          amount: 5
        - id: MicroManipulatorStockPart
          amount: 4
        - id: CableApcStack1
          amount: 2

- type: entity
  parent: CrateGenericSteel
  id: CrateMaterialBasicResource
  name: basic sheet crate
  description: 30 sheets of steel, glass, and plastic.
  components:
  - type: EntityTableContainerFill
    containers:
      entity_storage: !type:AllSelector
        children:
        - id: SheetSteel
        - id: SheetGlass
        - id: SheetPlastic

#- type: entity
#  parent: CrateGenericSteel
#  id: CrateMaterialHFuelTank
#  name: fueltank crate
#  components:
#  - type: EntityTableContainerFill
#    containers:
#      entity_storage:
#        id: WeldingFuelTank

#- type: entity
#  parent: CrateGenericSteel
#  id: CrateMaterialHWaterTank
#  name: watertank crate
#  components:
#  - type: EntityTableContainerFill
#    containers:
#      entity_storage:
#        id: WaterTankFull
