- type: entity
  id: BoxPistolBase
  name: "ammunition box (.35 auto)"
  parent: BaseItem
  abstract: true
  components:
  - type: AmmoBox
    caliber: Pistol
    capacity: 30

  - 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

# Boxes
- type: entity
  id: BoxPistolBox
  name: "ammunition box (.35 auto)"
  parent: BoxPistolBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgePistol

  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Pistol/pistol_box.rsi

- type: entity
  id: BoxPistolBoxFlash
  name: "ammunition box (.35 auto flash)"
  parent: BoxPistolBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgePistolFlash

  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Pistol/pistol_box_flash.rsi

- type: entity
  id: BoxPistolBoxHV
  name: "ammunition box (.35 auto high-velocity)"
  parent: BoxPistolBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgePistolHV

  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Pistol/pistol_box_hv.rsi

- type: entity
  id: BoxPistolBoxPractice
  name: "ammunition box (.35 auto practice)"
  parent: BoxPistolBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgePistolPractice

  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Pistol/pistol_box_practice.rsi

- type: entity
  id: BoxPistolBoxRubber
  name: "ammunition box (.35 auto rubber)"
  parent: BoxPistolBase
  components:
  - type: AmmoBox
    capacity: 60
    fillPrototype: CartridgePistolRubber

  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/Pistol/pistol_box_rubber.rsi
