# Empty mags
- type: entity
  id: MagazineLRifleBase
  name: "magazine (.30 rifle)"
  parent: BaseItem
  abstract: true
  components:
  - type: RangedMagazine
    caliber: LRifle
    magazineType: Rifle
    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

# Magazines
- type: entity
  id: MagazineLRifleBox
  name: "magazine box (.30 rifle)"
  parent: MagazineLRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeLRifle
    magazineType: Box
    capacity: 50
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_box.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_box.rsi
  - type: Appearance
    visuals:
    - type: MagVisualizer
      magState: mag
      steps: 8
      zeroVisible: false

- type: entity
  id: MagazineLRifle
  name: "magazine (.30 rifle)"
  parent: MagazineLRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeLRifle
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag.rsi

- type: entity
  id: MagazineLRifleFlash
  name: "magazine (.30 rifle flash)"
  parent: MagazineLRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeLRifleFlash
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag_flash.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag_flash.rsi

- type: entity
  id: MagazineLRifleHV
  name: "magazine (.30 rifle high-velocity)"
  parent: MagazineLRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeLRifleHV
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag_hv.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag_hv.rsi

- type: entity
  id: MagazineLRiflePractice
  name: "magazine (.30 rifle practice)"
  parent: MagazineLRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeLRiflePractice
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag_practice.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag_practice.rsi

- type: entity
  id: MagazineLRifleRubber
  name: "magazine (.30 rifle rubber)"
  parent: MagazineLRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeLRifleRubber
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag_rubber.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/l_rifle_mag_rubber.rsi

- type: entity
  id: MagazineLRifleMaxim
  name: "pan magazine (.30 rifle)"
  parent: MagazineLRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeLRifle
    capacity: 96
    magazineType: Pan
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/maxim.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/maxim.rsi

- type: entity
  id: MagazineLRiflePkBox
  name: "PK munitions box (.30 rifle)"
  parent: MagazineLRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeLRifle
    magazineType: Box
    capacity: 80
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/pk_box.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/LRifle/pk_box.rsi
  - type: Appearance
    visuals:
    - type: MagVisualizer
      magState: mag
      steps: 7
      zeroVisible: false
