# Empty boxes
- type: entity
  id: box_9mm_empty
  name: "9mm box - empty"
  parent: BaseItem
  abstract: true
  components:
  - type: AmmoBox
    caliber: A9mm
    capacity: 30
  - type: Sprite 
    netsync: false

# Ammo boxes
- type: entity
  id: box_9mm
  name: "9mm box"
  parent: box_9mm_empty
  components:
  - type: AmmoBox
    fill: ammo_casing_9mm
    caliber: A9mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm.rsi
    state: box9mm-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm.rsi
    state: box9mm-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: box9mm
      steps: 2

- type: entity
  id: box_9mmf
  name: "9mm box (Flash)"
  parent: box_9mm_empty
  components:
  - type: AmmoBox
    fill: ammo_casing_9mm_flash
    caliber: A9mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm-flash.rsi
    state: box9mm-flash-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm-flash.rsi
    state: box9mm-flash-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: box9mm-flash
      steps: 2

- type: entity
  id: box_9mmhv
  name: "9mm box (High-velocity)"
  parent: box_9mm_empty
  components:
  - type: AmmoBox
    fill: ammo_casing_9mm_hv
    caliber: A9mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm-hv.rsi
    state: box9mm-hv-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm-hv.rsi
    state: box9mm-hv-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: box9mm-hv
      steps: 2

- type: entity
  id: box_9mmp
  name: "9mm box (Practice)"
  parent: box_9mm_empty
  components:
  - type: AmmoBox
    fill: ammo_casing_9mm_p
    caliber: A9mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm-practice.rsi
    state: box9mm-practice-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm-practice.rsi
    state: box9mm-practice-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: box9mm-practice
      steps: 2

- type: entity
  id: box_9mmr
  name: "9mm box (Rubber)"
  parent: box_9mm_empty
  components:
  - type: AmmoBox
    fill: ammo_casing_9mm_r
    caliber: A9mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm-rubber.rsi
    state: box9mm-rubber-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Boxes/9mm/box9mm-rubber.rsi
    state: box9mm-rubber-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: box9mm-rubber
      steps: 2
