{
  "name": "cs_sawed_off",
  "type": "Gun",
  "maxAmmoCapacity": 7,
  "maxAmmoPerReloadIteration": 1,
  "compatibleAmmo": ["ammocreative", "ammo12gauge"],
  "pelletCount": 30,
  "pelletSpread": 0.2,
  "damage": 2.5,
  "rpm": 110,
  "fireModes": ["SINGLE"],
  "fireSound": "m870",
  "drawCooldownDuration": 800,
  "inspectCooldownDuration": 4030,
  "gunRecoilInitialAmplitude": 1.3,
  "shakeRecoilAmplitude": 2.0,
  "shakeRecoilSpeed": 2.0,
  "viewRecoilAmplitude": 10.0,

  "compatibleAttachments": [
  ],
  "compatibleAttachmentGroups": [
  ],

  "phasedReloads": [
    {
      "phase": "PREPARING",
      "condition": "reloadIterationIndex == -1",
      "duration": 320,
      "animation": "animation.model.prepareempty"
    },
    {
      "phase": "PREPARING",
      "condition": "reloadIterationIndex >= 0",
      "duration": 320,
      "animation": "animation.model.prepare"
    },
    {
      "phase": "RELOADING",
      "condition": "reloadIterationIndex == 0",
      "duration": 1230,
      "animation": "animation.model.loadchamber"
    },
    {
      "phase": "RELOADING",
      "condition": "reloadIterationIndex > 0",
      "duration": 600,
      "animation": "animation.model.load"
    },
    {
      "phase": "COMPLETETING",
      "condition": "reloadIterationIndex >= 0",
      "duration": 570,
      "animation": "animation.model.finish"
    }
  ],

  "features": [
    {
      "type": "MuzzleFlash",
      "effects": [
        {
          "phase": "firing",
          "name": "muzzle_flash_big_ex"
        }
      ],
      "condition": {
        "allOf": [
          { "doesNotHaveAttachmentGroup": "sg_suppressor" }
        ]
      }
    },
    {
      "type": "Aiming",
      "zoom": 0.25,
      "condition": {
        "allOf": [
          { "doesNotHaveAttachmentGroup": "m16_sightsandscopes" }
        ]
      }
    },	
    {
      "type": "PartVisibility",
      "parts": [
        {
          "name": "ironsights",
          "visible": false,
          "condition": {
            "allOf": [
              { "hasAttachmentGroup": "m16_sightsandscopes" }
            ]
          }
        }
      ]
    },
    {
      "type": "Sound",
      "fireSound": "spas12_silenced",
      "fireSoundVolume": 1.0,
      "condition": {
        "allOf": [
          { "hasAttachment": "sg_suppressor" }
        ]
      }
    }
  ]
}
