{
  "name": "cs_pentagun",
  "type": "Gun",
  "maxAmmoCapacity": 5,
  "compatibleAmmo": ["ammocreative", "ammo12gauge"],
  "pelletCount": 30,
  "pelletSpread": 0.1,
  "damage": 1.25,
  "rpm": 500,
  "fireModes": ["SINGLE"],
  "fireSound": "m590",
  "drawCooldownDuration": 800,
  "inspectCooldownDuration": 4030,
  "gunRecoilInitialAmplitude": 0.8,
  "shakeRecoilAmplitude": 2.0,
  "shakeRecoilSpeed": 2.0,
  "viewRecoilAmplitude": 7.0,
  "prepareFireCooldownDuration": 100,  
  "compatibleAttachments": [
    "sg_suppressor",
	"cantedrail"
  ],
    "idleAnimations": [
        {
            "name": "animation.model.idle",
            "duration": 10
        }
    ],	
  "compatibleAttachmentGroups": [
    "ar_sightsandscopes",
    "underbarrel",
	"sg_muzzle"
   ],  
  "phasedReloads": [
    {
      "phase": "RELOADING",
      "duration": 3275,
      "animation": "animation.model.reload"
    }
  ],
  "features": [
 	{
		"type": "Description",
		"text": "Suggested by: lord_john68"
	},	 
    {
      "type": "MuzzleFlash",
      "effects": [
        {
          "phase": "firing",
          "name": "muzzle_flash_big_ex"
        }
      ],
      "condition": {
        "allOf": [
          { "doesNotHaveAttachment": "sg_suppressor" }
        ]
      }
    },
    {
        "type": "PartVisibility",
        "parts": [
            {
                "name": "scopemount",
                "visible": true,
                "condition": {
                    "allOf": [{"hasAttachmentGroup": "m16_sightsandscopes"}]
                }
            },
            {
                "name": "sight",
                "visible": false,
                "condition": {
                    "allOf": [{"hasAttachmentGroup": "m16_sightsandscopes"}]
                }
            },			
            {
                "name": "underrail",
                "visible": true,
                "condition": {
                    "allOf": [{"hasAttachmentGroup": "underbarrel"}]
                }
            }
        ]
    },	
    {
      "type": "Aiming",
      "zoom": 0.25,
      "condition": { "allOf": [{ "doesNotHaveAttachmentGroup": "ar_sightsandscopes" }] }
    },	
    {
      "type": "Sound",
      "fireSound": "spas12_silenced",
      "fireSoundVolume": 1.0,
      "condition": {
        "allOf": [
          { "hasAttachment": "sg_suppressor" }
        ]
      }
    }
  ]
}
