# Empty mags
- type: entity
  id: MagazineClRifleBase
  name: "magazine (.25 caseless)"
  parent: BaseItem
  abstract: true
  components:
  - type: RangedMagazine
    caliber: ClRifle
    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: MagazineClRifle10x24
  name: "box magazine (.25 caseless)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifle
    capacity: 99
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/10x24.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/10x24.rsi

- type: entity
  id: MagazineClRiflePistol
  name: "pistol magazine (.25 caseless)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifle
    magazineType: Pistol
    capacity: 10
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_pistol_mag.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_pistol_mag.rsi
  - type: Appearance
    visuals:
    - type: MagVisualizer
      magState: mag
      steps: 6
      zeroVisible: false

# No flash

- type: entity
  id: MagazineClRiflePistolHV
  name: "pistol magazine (.25 caseless high-velocity)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifleHV
    magazineType: Pistol
    capacity: 10
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_pistol_mag_hv.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_pistol_mag_hv.rsi
  - type: Appearance
    visuals:
    - type: MagVisualizer
      magState: mag
      steps: 6
      zeroVisible: false

- type: entity
  id: MagazineClRiflePistolPractice
  name: "pistol magazine (.25 caseless practice)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRiflePractice
    magazineType: Pistol
    capacity: 10
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_pistol_mag_practice.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_pistol_mag_practice.rsi
  - type: Appearance
    visuals:
    - type: MagVisualizer
      magState: mag
      steps: 6
      zeroVisible: false

- type: entity
  id: MagazineClRiflePistolRubber
  name: "pistol magazine (.25 caseless rubber)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifleRubber
    magazineType: Pistol
    capacity: 10
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_pistol_mag_rubber.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_pistol_mag_rubber.rsi
  - type: Appearance
    visuals:
    - type: MagVisualizer
      magState: mag
      steps: 6
      zeroVisible: false

- type: entity
  id: MagazineClRifle
  name: "magazine (.25 caseless)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifle
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag.rsi

- type: entity
  id: MagazineClRifleHV
  name: "magazine (.25 caseless high-velocity)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifleHV
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_hv.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_hv.rsi

- type: entity
  id: MagazineClRiflePractice
  name: "magazine (.25 caseless practice)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRiflePractice
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_practice.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_practice.rsi

- type: entity
  id: MagazineClRifleRubber
  name: "magazine (.25 caseless rubber)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifleRubber
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_rubber.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_rubber.rsi

- type: entity
  id: MagazineClRifleShort
  name: "short magazine (.25 caseless)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifle
    capacity: 20
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short.rsi

- type: entity
  id: MagazineClRifleShortFlash
  name: "short magazine (.25 caseless flash)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifleFlash
    capacity: 20
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short_flash.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short_flash.rsi

- type: entity
  id: MagazineClRifleShortHV
  name: "short magazine (.25 caseless high-velocity)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifleHV
    capacity: 20
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short_hv.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short_hv.rsi

- type: entity
  id: MagazineClRifleShortPractice
  name: "short magazine (.25 caseless practice)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRiflePractice
    capacity: 20
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short_practice.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short_practice.rsi

- type: entity
  id: MagazineClRifleShortRubber
  name: "short magazine (.25 caseless rubber)"
  parent: MagazineClRifleBase
  components:
  - type: RangedMagazine
    fillPrototype: CartridgeClRifleRubber
    capacity: 20
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short_rubber.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Magazine/ClRifle/cl_rifle_mag_short_rubber.rsi
