# Empty mags
- type: entity
  id: magazine_45mm_empty
  name: ".45mm magazine - empty"
  parent: BaseItem
  components:
  - type: BallisticMagazine
    caliber: A45mm
    magazine: A45mm
    capacity: 7
  - type: Sprite
    netsync: false

- type: entity
  id: magazine_45mm_smg_empty
  name: ".45mm SMG magazine - empty"
  parent: BaseItem
  components:
  - type: BallisticMagazine
    caliber: A45mm
    magazine: A45mm
    capacity: 30
  - type: Sprite
    netsync: false

# Magazines
- type: entity
  id: magazine_45mm
  name: ".45mm Magazine"
  parent: magazine_45mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm
    caliber: A45mm
    capacity: 7
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45.rsi
    state: 45-8
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45.rsi
    state: 45-8
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 45
      steps: 9

- type: entity
  id: magazine_45mmf
  name: ".45mm Magazine (Flash)"
  parent: magazine_45mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_flash
    caliber: A45mm
    capacity: 7
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45f.rsi
    state: 45f-8
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45f.rsi
    state: 45f-8
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 45f
      steps: 9

- type: entity
  id: magazine_45mmhv
  name: ".45mm Magazine (High Velocity)"
  parent: magazine_45mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_hv
    caliber: A45mm
    capacity: 7
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45hv.rsi
    state: 45hv-8
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45hv.rsi
    state: 45hv-8
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 45hv
      steps: 9

- type: entity
  id: magazine_45mml
  name: ".45mm Magazine (L)"
  parent: magazine_45mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_l
    caliber: A45mm
    capacity: 7
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45l.rsi
    state: 45l-8
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45l.rsi
    state: 45l-8
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 45l
      steps: 9

- type: entity
  id: magazine_45mmp
  name: ".45mm Magazine (Practice)"
  parent: magazine_45mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_p
    caliber: A45mm
    capacity: 7
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45p.rsi
    state: 45p-8
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45p.rsi
    state: 45p-8
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 45p
      steps: 9

- type: entity
  id: magazine_45mmr
  name: ".45mm Magazine (Rubber)"
  parent: magazine_45mm_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_r
    caliber: A45mm
    capacity: 7
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45r.rsi
    state: 45r-8
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/45r.rsi
    state: 45r-8
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: 45r
      steps: 9

- type: entity
  id: magazine_45mm_smg
  name: ".45mm SMG Magazine"
  parent: magazine_45mm_smg_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm
    caliber: A45mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45.rsi
    state: smg45-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45.rsi
    state: smg45-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: smg45
      steps: 2

- type: entity
  id: magazine_45mmf_smg
  name: ".45mm SMG Magazine (Flash)"
  parent: magazine_45mm_smg_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_f
    caliber: A45mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45f.rsi
    state: smg45f-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45f.rsi
    state: smg45f-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: smg45f
      steps: 2

- type: entity
  id: magazine_45mmhv_smg
  name: ".45mm SMG Magazine (High Velocity)"
  parent: magazine_45mm_smg_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_hv
    caliber: A45mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45hv.rsi
    state: smg45hv-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45hv.rsi
    state: smg45hv-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: smg45hv
      steps: 2

- type: entity
  id: magazine_45mml_smg
  name: ".45mm SMG Magazine (L)"
  parent: magazine_45mm_smg_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_l
    caliber: A45mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45l.rsi
    state: smg45l-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45l.rsi
    state: smg45l-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: smg45l
      steps: 2

- type: entity
  id: magazine_45mmp_smg
  name: ".45mm SMG Magazine (Practice)"
  parent: magazine_45mm_smg_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_p
    caliber: A45mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45p.rsi
    state: smg45p-0
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45p.rsi
    state: smg45p-0
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: smg45p
      steps: 1

- type: entity
  id: magazine_45mmr_smg
  name: ".45mm SMG Magazine (Rubber)"
  parent: magazine_45mm_smg_empty
  components:
  - type: BallisticMagazine
    fill: ammo_casing_45mm_r
    caliber: A45mm
    capacity: 30
  - type: Icon
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45r.rsi
    state: smg45r-1
  - type: Sprite
    sprite: Objects/Guns/Ammunition/Magazine/.45mm/smg45r.rsi
    state: smg45r-1
  - type: Appearance
    visuals:
    - type: BallisticMagazineVisualizer2D
      base_state: smg45r
      steps: 2

# Casings - magazines above here
- type: entity
  id: ammo_casing_45mm
  name: ".45mm casing"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A45mm
    projectile: bullet_45mm
  - 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_45mm_flash
  name: ".45mm casing (Flash)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A45mm
    projectile: bullet_45mmf
  - 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_45mm_hv
  name: ".45mm casing (High Velocity)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A45mm
    projectile: bullet_45mmhv
  - 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_45mm_l
  name: ".45mm casing (L)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A45mm
    projectile: bullet_45mml
  - 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_45mm_p
  name: ".45mm casing (Practice)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A45mm
    projectile: bullet_45mmp
  - 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_45mm_r
  name: ".45mm casing (Rubber)"
  parent: BaseItem
  components:
  - type: BallisticBullet
    caliber: A45mm
    projectile: bullet_45mmr
  - 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
