- type: entity
  parent: [ RMCBaseWeaponShotgun, RMCBaseAttachableHolder ]
  id: RMCWeaponShotgunM37A1
  name: M37A1 pump shotgun
  description: An Armat Battlefield Systems modern take on an all-time classic, combining close range firepower with long-term reliability. Requires a pump.
  components:
  - type: Sprite
    sprite: _RMC14/Objects/Weapons/Guns/Shotguns/m37a1/desert.rsi
    layers:
    - state: icon
      map: [ "enum.GunVisualLayers.Base" ]
  - type: Clothing
    sprite: _RMC14/Objects/Weapons/Guns/Shotguns/m37a1/desert.rsi
  - type: Gun
    shotsPerBurst: 1
  - type: ShootUseDelay
  - type: RMCSelectiveFire
    baseFireModes:
    - SemiAuto
    recoilWielded: 2
    recoilUnwielded: 4
    scatterWielded: 10
    scatterUnwielded: 10
    baseFireRate: 0.625
    burstScatterMult: 5
  - type: BallisticAmmoProvider
    capacity: 10 # todo change to 9 when bullet chambering is added
    whitelist:
      tags:
      - RMCShellShotgunBuckshot
      - RMCShellShotgunSlugs
      - RMCShellShotgunFlechette
      - RMCShellShotgunIncendiaryBuckshot
      - RMCShellShotgunIncendiary
      - RMCShellShotgunBeanbag
  - type: RMCWeaponAccuracy
    accuracyMultiplier: 1.15
    accuracyMultiplierUnwielded: 0.5
  - type: PumpAction
  - type: AttachableHolder
    slots:
      rmc-aslot-barrel:
        whitelist:
          tags:
          - RMCAttachmentExtendedBarrel
          - RMCAttachmentBarrelCharger
          - RMCAttachmentRecoilCompensator
          - RMCAttachmentShotgunChoke
          - RMCM5Bayonet
      rmc-aslot-rail:
        whitelist:
          tags:
          - RMCAttachmentRailFlashlight
          - RMCAttachmentMagneticHarness
          - RMCAttachmentS5RedDotSight
          - RMCAttachmentS6ReflexSight
      rmc-aslot-underbarrel:
        whitelist:
          tags:
          - RMCAttachmentAngledGrip
          - RMCAttachmentFlashlightGrip
          - RMCAttachmentGyroscopicStabilizer
          - RMCAttachmentVerticalGrip
          - RMCAttachmentExtinguisher
  - type: AttachableHolderVisuals
    offsets:
      rmc-aslot-barrel: 0.81, 0.06
      rmc-aslot-rail: -0.025, 0.125
      rmc-aslot-underbarrel: 0.25, -0.31
  - type: ItemCamouflage
    camouflageVariations:
      Jungle: _RMC14/Objects/Weapons/Guns/Shotguns/m37a1/jungle.rsi
      Desert: _RMC14/Objects/Weapons/Guns/Shotguns/m37a1/desert.rsi
      Snow: _RMC14/Objects/Weapons/Guns/Shotguns/m37a1/snow.rsi
      Classic: _RMC14/Objects/Weapons/Guns/Shotguns/m37a1/classic.rsi
      Urban: _RMC14/Objects/Weapons/Guns/Shotguns/m37a1/urban.rsi
  - type: Tag
    tags:
    - RMCWeaponShotgunM37A1
    - RMCWeaponShotgun

- type: entity
  parent: RMCWeaponShotgunM37A1
  id: RMCWeaponShotgunM37A1Filled
  suffix: Filled
  components:
  - type: BallisticAmmoProvider
    proto: CMShellShotgunBuckshot

- type: Tag
  id: RMCWeaponShotgunM37A1
