# Empty mags
- type: entity
  id: magazine_762mm_empty
  name: "7.62mm magazine - empty"
  parent: BaseItem
  abstract: true
  components:
  - type: BallisticMagazine
    caliber: A762mm
    magazine: A762mm
    capacity: 20
  - type: Sprite
    netsync: false

# Magazines
- type: entity
  id: magazine_a762
  name: "A762 magazine"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/a762_magazine.rsi
    state: a762_magazine-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/a762_magazine.rsi
    state: a762_magazine-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: a762_magazine
      steps: 2

- type: entity
  id: magazine_aksr
  name: "AK magazine (short rubber)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_rubber
    caliber: A762mm
    capacity: 20
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AK_short_r.rsi
    state: AK_short_r-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AK_short_r.rsi
    state: AK_short_r-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: AK_short_r
      steps: 2

- type: entity
  id: magazine_ak
  name: "AK magazine"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag.rsi
    state: AKMag-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag.rsi
    state: AKMag-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: AKMag
      steps: 2

- type: entity
  id: magazine_akf
  name: "AK magazine (flash)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_flash
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_f.rsi
    state: AKMag_f-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_f.rsi
    state: AKMag_f-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: AKMag_f
      steps: 2

- type: entity
  id: magazine_akhv
  name: "AK magazine (high-velocity)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_highvelocity
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_hv.rsi
    state: AKMag_hv-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_hv.rsi
    state: AKMag_hv-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: AKMag_hv
      steps: 2

- type: entity
  id: magazine_akl
  name: "AK magazine (L)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_l
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_l.rsi
    state: AKMag_l-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_l.rsi
    state: AKMag_l-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: AKMag_l
      steps: 2

- type: entity
  id: magazine_akp
  name: "AK magazine (practice)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_practice
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_p.rsi
    state: AKMag_p-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_p.rsi
    state: AKMag_p-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: AKMag_p
      steps: 2

- type: entity
  id: magazine_akr
  name: "AK magazine (rubber)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_rubber
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_r.rsi
    state: AKMag_r-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/AKMag_r.rsi
    state: AKMag_r-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: AKMag_r
      steps: 2

- type: entity
  id: magazine_c762
  name: "c762 magazine"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762.rsi
    state: c762-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762.rsi
    state: c762-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: c762
      steps: 2

- type: entity
  id: magazine_c762f
  name: "c762 magazine (flash)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_flash
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762f.rsi
    state: c762f-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762f.rsi
    state: c762f-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: c762f
      steps: 2

- type: entity
  id: magazine_c762hv
  name: "c762 magazine (high-velocity)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_highvelocity
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762hv.rsi
    state: c762hv-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762hv.rsi
    state: c762hv-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: c762hv
      steps: 2

- type: entity
  id: magazine_c762l
  name: "c762 magazine (L)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_l
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762l.rsi
    state: c762l-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762l.rsi
    state: c762l-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: c762l
      steps: 2

- type: entity
  id: magazine_c762p
  name: "c762 magazine (practice)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_practice
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762p.rsi
    state: c762p-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762p.rsi
    state: c762p-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: c762p
      steps: 2

- type: entity
  id: magazine_c762r
  name: "c762 magazine (rubber)"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm_rubber
    caliber: A762mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762r.rsi
    state: c762r-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/c762r.rsi
    state: c762r-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: c762r
      steps: 2

- type: entity
  id: magazine_maxim
  name: "maxim magazine"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm
    caliber: A762mm
    magazine: Maxim
    capacity: 96
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/maxim.rsi
    state: maxim-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/maxim.rsi
    state: maxim-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: maxim
      steps: 2

- type: entity
  id: magazine_pk
  name: "pk box"
  parent: magazine_762mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_762mm
    caliber: A762mm
    capacity: 80
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/pk_box.rsi
    state: pk_box-4
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/7.62mm/pk_box.rsi
    state: pk_box-4
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: pk_box
      steps: 5

# Casings - magazines above here
- type: entity
  id: ammo_casing_762mm
  name: "7.62mm casing"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A762mm
    projectile: bullet_762mm
  - type: Sprite
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing
    drawdepth: FloorObjects
  - type: Icon
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing

- type: entity
  id: ammo_casing_762mm_flash
  name: "7.62mm casing (flash)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A762mm
    projectile: bullet_762mmf
  - type: Sprite
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing
    drawdepth: FloorObjects
  - type: Icon
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing

- type: entity
  id: ammo_casing_762mm_highvelocity
  name: "7.62mm casing (high velocity)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A762mm
    projectile: bullet_762mmhv
  - type: Sprite
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing
    drawdepth: FloorObjects
  - type: Icon
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing

- type: entity
  id: ammo_casing_762mm_l
  name: "7.62mm casing (L)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A762mm
    projectile: bullet_762mml
  - type: Sprite
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing
    drawdepth: FloorObjects
  - type: Icon
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing

- type: entity
  id: ammo_casing_762mm_practice
  name: "7.62mm casing (practice)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A762mm
    projectile: bullet_762mmp
  - type: Sprite
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing
    drawdepth: FloorObjects
  - type: Icon
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing

- type: entity
  id: ammo_casing_762mm_rubber
  name: "7.62mm casing (rubber)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A762mm
    projectile: bullet_762mmr
  - type: Sprite
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing
    drawdepth: FloorObjects
  - type: Icon
    sprite: Objects/Guns/Ammunition/ammo_casing.rsi
    state: s-casing
