- type: entity
  id: CratePlastic
  parent: CrateGeneric
  name: plastic crate
  components:
  - type: Sprite
    sprite: Constructible/Structures/Crates/plastic.rsi
    layers:
    - state: plasticcrate
    - state: plasticcrate_door
      map: ["enum.StorageVisualLayers.Door"]
  - type: Appearance
    visuals:
    - type: StorageVisualizer
      state_open: plasticcrate_open
      state_closed: plasticcrate_door
  - type: Icon
    sprite: Constructible/Structures/Crates/plastic.rsi
    state: plasticcrate

- type: entity
  id: CrateFreezer
  parent: CrateGeneric
  name: freezer
  components:
  - type: Sprite
    sprite: Constructible/Structures/Crates/freezer.rsi
    layers:
    - state: freezer
    - state: freezer_door
      map: ["enum.StorageVisualLayers.Door"]
  - type: Appearance
    visuals:
    - type: StorageVisualizer
      state_open: freezer_open
      state_closed: freezer_door
  - type: Icon
    sprite: Constructible/Structures/Crates/freezer.rsi
    state: freezer

- type: entity
  id: CrateHydroponics
  parent: CrateGeneric
  name: hydroponics crate
  components:
  - type: Sprite
    sprite: Constructible/Structures/Crates/hydro.rsi
    layers:
    - state: hydrocrate
    - state: hydrocrate_door
      map: ["enum.StorageVisualLayers.Door"]
  - type: Appearance
    visuals:
    - type: StorageVisualizer
      state_open: hydrocrate_open
      state_closed: hydrocrate_door
  - type: Icon
    sprite: Constructible/Structures/Crates/hydro.rsi
    state: hydrocrate

- type: entity
  id: CrateMedical
  parent: CrateGeneric
  name: medical crate
  components:
  - type: Sprite
    sprite: Constructible/Structures/Crates/medical.rsi
    layers:
    - state: medicalcrate
    - state: medicalcrate_door
      map: ["enum.StorageVisualLayers.Door"]
  - type: Appearance
    visuals:
    - type: StorageVisualizer
      state_open: medicalcrate_open
      state_closed: medicalcrate_door
  - type: Icon
    sprite: Constructible/Structures/Crates/medical.rsi
    state: medicalcrate

- type: entity
  id: CrateRadiation
  name: radiation gear crate
  parent: CrateGeneric
  description: Is not actually lead lined. Do not store your plutonium in this.
  components:
  - type: Sprite
    sprite: Constructible/Structures/Crates/radiation.rsi
    layers:
    - state: radiationcrate
    - state: radiationcrate_door
      map: ["enum.StorageVisualLayers.Door"]
  - type: Appearance
    visuals:
    - type: StorageVisualizer
      state_open: radiationcrate_open
      state_closed: radiationcrate_door
  - type: Icon
    sprite: Constructible/Structures/Crates/radiation.rsi
    state: radiationcrate

- type: entity
  id: CrateInternals
  parent: CrateGeneric
  name: internals crate
  components:
  - type: Sprite
    sprite: Constructible/Structures/Crates/o2.rsi
    layers:
    - state: o2crate
    - state: o2crate_door
      map: ["enum.StorageVisualLayers.Door"]
  - type: Appearance
    visuals:
    - type: StorageVisualizer
      state_open: o2crate_open
      state_closed: o2crate_door
  - type: Icon
    sprite: Constructible/Structures/Crates/o2.rsi
    state: o2crate
