{
    "name": "cs_cbj",
    "type": "Gun",
    "maxAmmoCapacity": 30,
    "compatibleAmmo": ["ammocreative", "ammo9mm"],
    "damage": 4,
    "rpm": 700,
    "adsSpeed": 400,
    "fireModes": ["SINGLE", "AUTOMATIC"],
    "fireSound": "m950",
    "defaultAttachments": [],
    "compatibleAttachmentGroups": [
	  "ar_sightsandscopes",
      "smg_muzzle",
      "cs_cbj_skins"
    ],
    "compatibleAttachments": [
	  "cantedrail",
	  "cs_cbj_mag"
    ],	
    "gunRecoilInitialAmplitude": 0.8,
    "shakeRecoilAmplitude": 0.5,
    "shakeRecoilSpeed": 2.0,
    "viewRecoilAmplitude": 1.1,
    "drawAnimations": [
      {
        "name": "animation.model.draw",
        "duration": 575
      }
    ],
    "inspectAnimations": [
      {
        "name": "animation.model.inspect",
        "duration": 4325
      }
    ],
    "phasedReloads": [
   {
      "phase": "RELOADING",
      "duration": 2525,
      "animation": "animation.model.reloadempty",
	  "condition": {
	  "allOf": [
      "reloadIterationIndex == 0",	
		{
		  "onEmptyReload": true
		},	  
		{
		 "doesNotHaveAttachment": "cs_cbj_mag"
		}
		]
	  }	  
    },
    {
      "phase": "RELOADING",
      "duration": 2655,
      "animation": "animation.model.reloadbigempty",
	  "condition": {
	  "allOf": [
      "reloadIterationIndex == 0",	
		{
		  "onEmptyReload": true
		},	  
		{
		 "hasAttachment": "cs_cbj_mag"
		}
		]
	  }	  
    },	
    {
      "phase": "RELOADING",
      "duration": 1905,
      "animation": "animation.model.reload",
      "condition": {
	  "allOf": [
      "reloadIterationIndex > 0",	
	  {
		  "onEmptyReload": false
	  },	  
	  {
		 "doesNotHaveAttachment": "cs_cbj_mag"
	  }
	  ]
	  }		  
    },
	{
      "phase": "RELOADING",
      "duration": 1955,
      "animation": "animation.model.reloadbig1",
      "condition": {
	  "allOf": [
      "reloadIterationIndex > 0",	
	  {
		  "onEmptyReload": false
	  },	  
	  {
		 "hasAttachment": "cs_cbj_mag"
	  }
	  ]
	  }		  
    }
    ],
    "effects": [
      {
        "phase": "hit_scan_acquired",
        "name": "tracer"
      }
    ],
    "features": [
	  {
		"type": "Description",
		"text": "Suggested by: Vergil (Motivated)"
	  },
      {
        "type": "MuzzleFlash",
        "effects": [
          { "phase": "firing", "name": "muzzle_flash" }
        ],
        "condition": {
          "allOf": [
            { "doesNotHaveAttachment": "smg_suppressor" }
          ]
        }
      },
      {
        "type": "Aiming",
        "zoom": 0.25,
        "condition": {
          "allOf": [
            { "doesNotHaveAttachmentGroup": "ar_sightsandscopes" }
          ]
        }
      },
        {
            "type": "PartVisibility",
            "parts": [
                {
                    "name": "magazine",
                    "visible": false,
                    "condition": {
                        "allOf": [{"hasAttachment": "cs_cbj_mag"}]
                    }
                },
                {
                    "name": "magazine2",
                    "visible": false,
                    "condition": {
                        "allOf": [{"hasAttachment": "cs_cbj_mag"}]
                    }
                },
                {
                    "name": "magazine3",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachment": "cs_cbj_mag"}]
                    }
                }				
            ]
        },	  
      {
        "type": "Sound",
        "fireSound": "tmp_silenced",
        "fireSoundVolume": 1,
        "condition": {
          "allOf": [
            { "hasAttachment": "smg_suppressor" }
          ]
        }
      }
    ],
    "glowingParts": []
  }
  