# Empty mags
- type: entity
  id: MagazineMagnumBase
  name: "magazine (.40 magnum)"
  parent: BaseItem
  abstract: true
  components:
  - type: RangedMagazine
    caliber: Magnum
    magazineType: Pistol
    capacity: 10
  - 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: 5
      zeroVisible: false

- type: entity
  id: MagazineMagnumSmgBase
  name: "SMG Magazine (.40 magnum)"
  parent: BaseItem
  abstract: true
  components:
  - type: RangedMagazine
    caliber: Magnum
    magazineType: Smg
    capacity: 25
  - 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

# Magazines
- type: entity
  id: MagazineMagnum
  name: "magazine (.40 magnum)"
  parent: MagazineMagnumBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeMagnum
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag.rsi

- type: entity
  id: MagazineMagnumFlash
  name: "magazine (.40 magnum flash)"
  parent: MagazineMagnumBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeMagnumFlash
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag_flash.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag_flash.rsi

- type: entity
  id: MagazineMagnumHV
  name: "magazine (.40 magnum high-velocity)"
  parent: MagazineMagnumBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeMagnumHV
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag_hv.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag_hv.rsi

- type: entity
  id: MagazineMagnumPractice
  name: "magazine (.40 magnum practice)"
  parent: MagazineMagnumBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeMagnumPractice
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag_practice.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag_practice.rsi

- type: entity
  id: MagazineMagnumRubber
  name: "magazine (.40 magnum rubber)"
  parent: MagazineMagnumBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeMagnumRubber
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag_rubber.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_mag_rubber.rsi

- type: entity
  id: MagazineMagnumSmg
  name: "SMG Magazine (.40 magnum)"
  parent: MagazineMagnumSmgBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeMagnum
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_smg_mag.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_smg_mag.rsi

- type: entity
  id: MagazineMagnumSmgHV
  name: "SMG Magazine (.40 magnum High-Velocity)"
  parent: MagazineMagnumSmgBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeMagnumHV
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_smg_mag_hv.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_smg_mag_hv.rsi

- type: entity
  id: MagazineMagnumSmgPractice
  name: "SMG Magazine (.40 magnum practice)"
  parent: MagazineMagnumSmgBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeMagnumPractice
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_smg_mag_practice.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_smg_mag_practice.rsi

- type: entity
  id: MagazineMagnumSmgRubber
  name: "SMG Magazine (.40 magnum rubber)"
  parent: MagazineMagnumSmgBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeMagnumRubber
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_smg_mag_rubber.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/Magnum/magnum_smg_mag_rubber.rsi
