- type: entity
  id: BoxMagnumBase
  name: "ammunition box (.40 magnum)"
  parent: BaseItem
  abstract: true
  components:
  - type: AmmoBox
    caliber: Magnum
    capacity: 30
  - type: Icon
    state: icon
  - type: Sprite
    netsync: false
    layers:
    - state: base
      map: ["enum.RangedBarrelVisualLayers.Base"]
    - state: mag-1
      map: ["enum.RangedBarrelVisualLayers.Mag"]
  - type: Appearance
    visuals:
    - type: MagVisualizer
      magState: mag
      steps: 2
      zeroVisible: false

# Boxes
- type: entity
  id: BoxMagnum
  name: "ammunition box (.40 magnum)"
  parent: BoxMagnumBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgeMagnum
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box.rsi

- type: entity
  id: BoxMagnumFlash
  name: "ammunition box (.40 magnum flash)"
  parent: BoxMagnumBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgeMagnumFlash
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box_flash.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box_flash.rsi

- type: entity
  id: BoxMagnumHV
  name: "ammunition box (.40 magnum high-velocity)"
  parent: BoxMagnumBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgeMagnumHV
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box_hv.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box_hv.rsi

- type: entity
  id: BoxMagnumPractice
  name: "ammunition box (.40 magnum practice)"
  parent: BoxMagnumBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgeMagnumPractice
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box_practice.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box_practice.rsi

- type: entity
  id: BoxMagnumRubber
  name: "ammunition box (.40 magnum rubber)"
  parent: BoxMagnumBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgeMagnumRubber
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box_rubber.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Magnum/magnum_box_rubber.rsi
