{
    "name": "cs_rpl20",
    "type": "Gun",
    "maxAmmoCapacity": 200,
    "compatibleAmmo": ["ammo545","ammocreative"],
    "damage": 6,
    "rpm": 700,
    "adsSpeed": 450,
    "fireModes": ["AUTOMATIC"],
    "fireSound": "lamg",
    "animationType": "rifle",
    "compatibleAttachments": [
        "cantedrail"
    ],
    "compatibleAttachmentGroups": [
        "ar_sightsandscopes",
        "ar_muzzle",
        "underbarrel",
        "cs_rpl20_skins"
    ],
    "gunRecoilInitialAmplitude": 0.8,
    "shakeRecoilAmplitude": 0.35,
    "shakeRecoilSpeed": 2.0,
    "viewRecoilAmplitude": 1.8,
	"prepareFireCooldownDuration": 200,	
    "phasedReloads": [
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": true },
                    { "unselectedFireMode": "grenade_launcher" }
                ]
            },
            "duration": 6925,
            "animation": "animation.model.reloadempty"
        },
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": false },
                    { "unselectedFireMode": "grenade_launcher" }
                ]
            },
            "duration": 7205,
            "animation": "animation.model.reload"
        }
    ],
    "drawAnimations": [
        {
            "name": "animation.model.draw",
            "duration": 775,
            "condition": "ammoCount > 0"			
        },
        {
            "name": "animation.model.drawempty",
            "duration": 775,
            "condition": "ammoCount == 0"			
        }
    ],
    "inspectAnimations": [
        {
            "name": "animation.model.inspect",
            "duration": 4725,
            "condition": "ammoCount > 0"			
        },
        {
            "name": "animation.model.inspectempty",
            "duration": 4725,
            "condition": "ammoCount == 0"			
        }		
    ],
    "idleAnimations": [
        {
            "name": "animation.model.idle",
            "duration": 10,
            "condition": "ammoCount > 0"			
        },
        {
            "name": "animation.model.idleempty",
            "duration": 10,
            "condition": "ammoCount == 0"			
        }		
    ],	
    "effects": [
        {
            "phase": "hit_scan_acquired",
            "name": "tracer"
        },
        {
            "phase": "firing",
            "name": "muzzle_flash_small"
        }
    ],
    "features": [
		{
			"type": "Description",
			"text": "Suggested by: Camaooo"
		},		
        {
            "type": "Aiming",
            "zoom": 0.25,
            "condition": {
                "allOf": [
                    { "doesNotHaveAttachmentGroup": "m16_sightsandscopes"}
                ]
            }
        },		
		{
        "type": "MuzzleFlash",
        "effects": [ { "phase": "firing", "name": "muzzle_flash" } ],
        "condition": { "allOf":[ { "doesNotHaveAttachment":"ar_muzzle" } ] }
		},
        {
            "type": "Sound",
            "fireSound": "g3_silenced",
            "fireSoundVolume": 1,
            "condition": {
                "allOf": [
                    { "hasAttachmentGroup": "ar_suppressors"}
                ]
            }
        }
    ]
}