- type: entity
  name: BaseLMG
  parent: BaseItem
  id: LMGBase
  description: A rooty tooty point and shooty.
  abstract: true
  components:
  - type: Sprite
    netsync: false
  - type: Icon
    state: icon
  - type: Item
    size: 24
    state: icon
  - type: MagazineBarrel
    currentSelector: Automatic
    allSelectors:
    - Automatic
    caliber: LRifle
    magazineTypes:
    - Box
    fireRate: 8
    minAngle: 10
    maxAngle: 45
    angleIncrease: 10
    angleDecay: 60
    magNeedsOpenBolt: true
    soundGunshot: /Audio/Weapons/Guns/Gunshots/lmg.ogg
    soundEmpty: /Audio/Weapons/Guns/Empty/lmg_empty.ogg
    soundRack: /Audio/Weapons/Guns/Cock/lmg_cock.ogg
    soundBoltOpen: /Audio/Weapons/Guns/Bolt/rifle_bolt_open.ogg
    soundBoltClosed: /Audio/Weapons/Guns/Bolt/rifle_bolt_closed.ogg
    soundAutoEject: /Audio/Weapons/Guns/EmptyAlarm/lmg_empty_alarm.ogg
    soundMagInsert: /Audio/Weapons/Guns/MagIn/lmg_magin.ogg
    soundMagEject: /Audio/Weapons/Guns/MagOut/lmg_magout.ogg

- type: entity
  name: L6 SAW
  id: LMGL6
  parent: LMGBase
  description: A rather traditionally made L6 SAW with a pleasantly lacquered wooden pistol grip. This one is unmarked.
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/LMGs/l6.rsi
    layers:
    - state: base
      map: ["enum.RangedBarrelVisualLayers.Base"]
    - state: bolt-closed
      map: ["enum.RangedBarrelVisualLayers.Bolt"]
    - state: mag-3
      map: ["enum.RangedBarrelVisualLayers.Mag"]
  - type: Icon
    sprite: Objects/Weapons/Guns/LMGs/l6.rsi
  - type: Item
    size: 24
    sprite: Objects/Weapons/Guns/LMGs/l6.rsi
  - type: RangedWeapon
  - type: MagazineBarrel
    magFillPrototype: MagazineLRifleBox
    fireRate: 5
    minAngle: 0
    maxAngle: 45
    angleIncrease: 15
    angleDecay: 60
  - type: Appearance
    visuals:
    - type: BarrelBoltVisualizer
    - type: MagVisualizer
      magState: mag
      steps: 4
      zeroVisible: true

- type: entity
  name: pulemyot kalashnikova
  id: LMGPK
  parent: LMGBase
  description: Kalashnikov's Machinegun, a well preserved and maintained antique weapon of war.
  components:
  - type: Sprite
    sprite: Objects/Weapons/Guns/LMGs/pk.rsi
    layers:
    - state: base
      map: ["enum.RangedBarrelVisualLayers.Base"]
    - state: bolt-closed
      map: ["enum.RangedBarrelVisualLayers.Bolt"]
    - state: mag-5
      map: ["enum.RangedBarrelVisualLayers.Mag"]
  - type: Icon
    sprite: Objects/Weapons/Guns/LMGs/pk.rsi
  - type: Item
    size: 24
    sprite: Objects/Weapons/Guns/LMGs/pk.rsi
  - type: RangedWeapon
  - type: MagazineBarrel
    magFillPrototype: MagazineLRiflePkBox
    fireRate: 5
    minAngle: 0
    maxAngle: 45
    angleIncrease: 15
    angleDecay: 60
  - type: Appearance
    visuals:
    - type: BarrelBoltVisualizer
    - type: MagVisualizer
      magState: mag
      steps: 6
      zeroVisible: true
