# Empty mags
- type: entity
  id: magazine_10mm_empty
  name: "10mm magazine - empty"
  parent: BaseItem
  abstract: true
  components:
  - type: BallisticMagazine
    caliber: A10mm
    magazine: A10mm
    capacity: 8
  - type: Sprite
    netsync: false

# Magazines
- type: entity
  id: magazine_10mm
  name: "10mm magazine"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm
    caliber: A10mm
    capacity: 8
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10.rsi
    state: 10-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10.rsi
    state: 10-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 10
      steps: 2

- type: entity
  id: magazine_10mmf
  name: "10mm magazine (flash)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_flash
    caliber: A10mm
    capacity: 8
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10f.rsi
    state: 10f-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10f.rsi
    state: 10f-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 10f
      steps: 2

- type: entity
  id: magazine_10mmhv
  name: "10mm magazine (high velocity)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_hv
    caliber: A10mm
    capacity: 8
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10hv.rsi
    state: 10hv-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10hv.rsi
    state: 10hv-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 10hv
      steps: 2

- type: entity
  id: magazine_10mml
  name: "10mm magazine (L)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_l
    caliber: A10mm
    capacity: 8
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10l.rsi
    state: 10l-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10l.rsi
    state: 10l-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 10l
      steps: 2

- type: entity
  id: magazine_10mmp
  name: "10mm magazine (practice)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_p
    caliber: A10mm
    capacity: 8
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10p.rsi
    state: 10p-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10p.rsi
    state: 10p-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 10p
      steps: 2

- type: entity
  id: magazine_10mmr
  name: "10mm magazine (rubber)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_r
    caliber: A10mm
    capacity: 8
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10r.rsi
    state: 10r-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/10r.rsi
    state: 10r-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 10r
      steps: 2

- type: entity
  id: magazine_10mm_smg
  name: "10mm SMG magazine"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm
    caliber: A10mm
    magazine: A10mmSMG
    capacity: 20
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mml.rsi
    state: 12mml-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mml.rsi
    state: 12mml-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 12mml
      steps: 2

- type: entity
  id: magazine_10mm_smgf
  name: "10mm SMG magazine (flash)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_flash
    caliber: A10mm
    magazine: A10mmSMG
    capacity: 20
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mmf.rsi
    state: 12mmf-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mmf.rsi
    state: 12mmf-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 12mmf
      steps: 2

- type: entity
  id: magazine_10mm_smghv
  name: "10mm SMG magazine (high velocity)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_hv
    caliber: A10mm
    magazine: A10mmSMG
    capacity: 20
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mmhv.rsi
    state: 12mmhv-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mmhv.rsi
    state: 12mmhv-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 12mmhv
      steps: 2

- type: entity
  id: magazine_10mm_smgl
  name: "10mm SMG magazine (L)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_l
    caliber: A10mm
    magazine: A10mmSMG
    capacity: 20
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mml.rsi
    state: 12mml-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mml.rsi
    state: 12mml-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 12mml
      steps: 2

- type: entity
  id: magazine_10mm_smgp
  name: "10mm SMG magazine (practice)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_p
    caliber: A10mm
    magazine: A10mmSMG
    capacity: 20
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mmp.rsi
    state: 12mmp-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mmp.rsi
    state: 12mmp-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 12mmp
      steps: 2

- type: entity
  id: magazine_10mm_smgr
  name: "10mm SMG magazine (rubber)"
  parent: magazine_10mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_10mm_r
    caliber: A10mm
    magazine: A10mmSMG
    capacity: 20
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mmr.rsi
    state: 12mmr-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/10mm/12mmr.rsi
    state: 12mmr-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 12mmr
      steps: 2

# Casings - magazines above here
- type: entity
  id: ammo_casing_10mm
  name: "10mm casing"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A10mm
    projectile: bullet_10mm
  - 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_10mm_flash
  name: "10mm casing (flash)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A10mm
    projectile: bullet_10mmf
  - 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_10mm_hv
  name: "10mm casing (high velocity)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A10mm
    projectile: bullet_10mmhv
  - 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_10mm_l
  name: "10mm casing (L)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A10mm
    projectile: bullet_10mml
  - 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_10mm_p
  name: "10mm casing (practice)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A10mm
    projectile: bullet_10mmp
  - 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_10mm_r
  name: "10mm casing (rubber)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A10mm
    projectile: bullet_10mmr
  - 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
