{
    "name": "cs_sks",
    "type": "Gun",
    "maxAmmoCapacity": 10,
    "compatibleAmmo": ["ammocreative", "ammo762"],
    "damage": 8,
    "rpm": 500,
    "fireModes": ["SINGLE"],
    "fireSound": "cs_sks",
    "animationType": "rifle",
	"compatibleAttachments": [
		"cs_sks_mag"
	],
    "compatibleAttachmentGroups": [
        "ar_muzzle",
		"ar_sightsandscopes",
		"cs_sks_skins"
    ],
    "gunRecoilInitialAmplitude" : 1.4,
    "shakeRecoilAmplitude" : 0.6,
    "shakeRecoilSpeed" : 3,
    "viewRecoilAmplitude" : 2.0,
    "drawAnimations": [
        {
            "name": "animation.model.draw",
            "duration": 835,
            "condition": "ammoCount > 0"
        },
        {
            "name": "animation.model.drawempty",
            "duration": 835,
            "condition": "ammoCount == 0"
        }
    ],
    "idleAnimations": [
        {
            "name": "animation.model.idle",
            "duration": 1,
            "condition": "ammoCount > 0"
        },
        {
            "name": "animation.model.idleempty",
            "duration": 1,
            "condition": "ammoCount == 0"
        }
    ],
    "inspectAnimations": [
        {
            "name": "animation.model.inspect",
            "duration": 3835,
            "condition": "ammoCount > 0"
        },
        {
            "name": "animation.model.inspectempty",
            "duration": 3835,
            "condition": "ammoCount == 0"
        }
    ],
    "phasedReloads": [
   {
      "phase": "RELOADING",
      "duration": 3435,
      "animation": "animation.model.reloadempty",
	  "condition": {
	  "allOf": [
      "reloadIterationIndex == 0",	
		{
		  "onEmptyReload": true
		},	  
		{
		 "doesNotHaveAttachment": "cs_sks_mag"
		}
		]
	  }	  
    },
    {
      "phase": "RELOADING",
      "duration": 3005,
      "animation": "animation.model.reloadbigempty",
	  "condition": {
	  "allOf": [
      "reloadIterationIndex == 0",	
		{
		  "onEmptyReload": true
		},	  
		{
		 "hasAttachment": "cs_sks_mag"
		}
		]
	  }	  
    },	
    {
      "phase": "RELOADING",
      "duration": 4625,
      "animation": "animation.model.reload",
      "condition": {
	  "allOf": [
      "reloadIterationIndex > 0",	
	  {
		  "onEmptyReload": false
	  },	  
	  {
		 "doesNotHaveAttachment": "cs_sks_mag"
	  }
	  ]
	  }		  
    },
	{
      "phase": "RELOADING",
      "duration": 2805,
      "animation": "animation.model.reloadbig",
      "condition": {
	  "allOf": [
      "reloadIterationIndex > 0",	
	  {
		  "onEmptyReload": false
	  },	  
	  {
		 "hasAttachment": "cs_sks_mag"
	  }
	  ]
	  }		  
    }
    ],
    "effects": [
      { "phase": "hit_scan_acquired", "name": "tracer" }
    ],
    "features": [
		{
			"type": "Description",
			"text": "Suggested by: Legendary Jonathan Joestar"
		},		
        {
            "type": "Aiming",
            "zoom": 0.25,
            "condition": {
                "allOf": [{"doesNotHaveAttachmentGroup": "m16_sightsandscopes"}]
            }
        },		
        {
            "type": "Sound",
            "fireSound": "ak12_silenced",
            "fireSoundVolume": 1,
            "condition": {
                "hasAttachmentGroup": "ar_suppressors"
            }
        },
        {
            "type": "MuzzleFlash",
            "effects": [
                {
                    "phase": "firing",
                    "name": "muzzle_flash_big_ex"
                }
            ],
            "condition": {
                "allOf": [
                    {
                        "isUsingDefaultMuzzle": true
                    },
                    {
                        "doesNotHaveAttachment": "rf_suppressor"
                    }
                ]
            }
        },
        {
            "type": "PartVisibility",
            "parts": [
                {
                    "name": "tubecover",
                    "visible": false,
                    "condition": {
                        "allOf": [{"hasAttachmentGroup": "m16_sightsandscopes"}]
                    }
                },
                {
                    "name": "tacticalcover",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachmentGroup": "m16_sightsandscopes"}]
                    }
                },
                {
                    "name": "ammochamber",
                    "visible": false,
                    "condition": {
                        "allOf": [{"hasAttachment": "cs_sks_mag"}]
                    }
                },
                {
                    "name": "magazine",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachment": "cs_sks_mag"}]
                    }
                }				
		]
		}	
	]
  }
  