- type: entity
  id: BoxLRifleBase
  name: "ammunition box (.30 rifle)"
  parent: BaseItem
  abstract: true
  components:
  - type: AmmoBox
    caliber: LRifle
    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

# Boxes
- type: entity
  id: BoxLRifleBigBox
  name: "ammunition box (.30 rifle)"
  parent: BoxLRifleBase
  components:
  - type: AmmoBox
    capacity: 200
    fillPrototype: CartridgeLRifle
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/LRifle/l_rifle_big_box.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/LRifle/l_rifle_big_box.rsi

- type: entity
  id: BoxLRifleBoxHV
  name: "ammunition box (.30 rifle high-velocity)"
  parent: BoxLRifleBase
  components:
  - type: AmmoBox
    capacity: 50
    fillPrototype: CartridgeLRifleHV
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/LRifle/l_rifle_box_hv.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/LRifle/l_rifle_box_hv.rsi

- type: entity
  id: BoxLRifleBoxPractice
  name: "ammunition box (.30 rifle practice)"
  parent: BoxLRifleBase
  components:
  - type: AmmoBox
    capacity: 50
    fillPrototype: CartridgeLRiflePractice
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/LRifle/l_rifle_box_practice.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/LRifle/l_rifle_box_practice.rsi

- type: entity
  id: BoxLRifleBoxRubber
  name: "ammunition box (.30 rifle rubber)"
  parent: BoxLRifleBase
  components:
  - type: AmmoBox
    capacity: 50
    fillPrototype: CartridgeLRifleRubber
  - type: Icon
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/LRifle/l_rifle_box_rubber.rsi
  - type: Sprite
    sprite: Objects/Weapons/Guns/Ammunition/Boxes/LRifle/l_rifle_box_rubber.rsi
