{
    "name": "cs_aek971",
    "type": "Gun",
    "maxAmmoCapacity": 30,
    "compatibleAmmo": ["ammo545","ammocreative"],
    "damage": 6,
    "rpm": 900,
    "adsSpeed": 400,
    "fireModes": ["SINGLE", "BURST", "AUTOMATIC"],
    "fireSound": "ak12",
    "animationType": "rifle",
    "compatibleAttachments": [
        "cantedrail",
        "gp25"
    ],
    "compatibleAttachmentGroups": [
        "ar_sightsandscopes",
        "ar_suppressors",
        "cs_aek971_skins"
    ],
    "advancedRecoil": {
        "enabled": true,
        "vertical": {
            "amplitude": 0.8,
            "recovery": 0.15,
            "smoothness": 0.08
        },
        "horizontal": {
            "amplitude": 0.4,
            "recovery": 0.2, 
            "smoothness": 0.1,
            "randomness": 0.2
        },
        "pattern": "pull_down"
    },
    "phasedReloads": [
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": true },
                    { "unselectedFireMode": "grenade_launcher" }
                ]
            },
            "duration": 2433,
            "animation": "animation.model.reloadempty"
        },
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": false },
                    { "unselectedFireMode": "grenade_launcher" }
                ]
            },
            "duration": 2066,
            "animation": "animation.model.reload"
        },
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": true },
                    { "selectedFireMode": "grenade_launcher" }
                ]
            },
            "duration": 1900,
            "animation": "animation.model.launcherreload"
        }
    ],
    "drawAnimations": [
        {
            "name": "animation.model.draw",
            "duration": 1200
        }
    ],
    "inspectAnimations": [
        {
            "name": "animation.model.inspect",
            "duration": 6266
        }
    ],
    "effects": [
        {
            "phase": "hit_scan_acquired",
            "name": "tracer"
        },
        {
            "phase": "firing",
            "name": "muzzle_flash_small"
        }
    ],
    "features": [
        {
            "type": "Aiming",
            "zoom": 0.25,
            "condition": {
                "allOf": [
                    { "doesNotHaveAttachmentGroup": "ar_sightsandscopes"},
                    { "unselectedFireMode": "grenade_launcher"}
                ]
            }
        },
		{
			"type": "Description",
			"text": "A Soviet selective-fire assault rifle, the distinguishing feature of which is a balanced automatic system, which significantly reduces recoil impulse and improves controllability."
		},			
		{
        "type": "MuzzleFlash",
        "effects": [ { "phase": "firing", "name": "muzzle_flash" } ],
        "condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"ar_suppressors" } ] }
		},
        {
            "type": "Sound",
            "fireSound": "ak47_silenced",
            "fireSoundVolume": 1,
            "condition": {
                "allOf": [
                    { "hasAttachmentGroup": "ar_suppressors"}
                ]
            }
        },
        {
            "type": "PartVisibility",
            "parts": [
                {
                    "name": "scopemount",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachmentGroup": "m16_sightsandscopes"}]
                    }
                },
                {
                    "name": "launcher",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachment": "gp25"}]
                    }
                }
            ],
            "glowingParts": []
        }
    ]
}