{
	"oversized_in_gui": true,
	"model": {
		"type": "select",
		"property": "component",
		"component": "custom_name",
		"cases": [
			{"when": "Снайперская винтовка",
			"model": {
				"type": "select",
				"property": "charge_type",
				"cases":[
				{"when":"none",
				"model":{
					"type": "range_dispatch",
					"property": "use_duration",
					"scale":0.05,
					"entries": [
					{
						"threshold": 0,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/snaipa/0"
						}
					},
					{
						"threshold": 0.2,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/snaipa/1"
									}
								},
					{
						"threshold": 0.4,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/snaipa/2"
									}
								},
					{
						"threshold": 0.6,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/snaipa/3"
									}
								},
					{
						"threshold": 0.8,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/snaipa/4"
									}
								},
					{
						"threshold": 1,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/snaipa/2"
									}
								},
					{
						"threshold": 1.17,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/snaipa/1"
									}
								}
							]
						}
					}
					],
					"fallback":{"type":"model","model":"item/weapons/guns/snaipa/5"}
				}
			},
			{"when": "Ружьё",
			"model": {
				"type": "select",
				"property": "charge_type",
				"cases":[
				{"when":"none",
				"model":{
					"type": "range_dispatch",
					"property": "use_duration",
					"scale":0.05,
					"entries": [
					{
						"threshold": 0,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/ruzio/0"
						}
					},
					{
						"threshold": 0.2,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/ruzio/1"
									}
								},
					{
						"threshold": 0.4,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/ruzio/2"
									}
								},
					{
						"threshold": 0.6,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/ruzio/3"
									}
								},
					{
						"threshold": 0.8,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/ruzio/4"
									}
								},
					{
						"threshold": 1,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/ruzio/5"
									}
								},
					{
						"threshold": 1.17,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/ruzio/6"
									}
								}
							]
						}
					}
					],
					"fallback":{"type":"model","model":"item/weapons/guns/ruzio/6"}
				}
			},
			{"when": "Дробовик",
			"model": {
				"type": "select",
				"property": "charge_type",
				"cases":[
				{"when":"none",
				"model":{
					"type": "range_dispatch",
					"property": "use_duration",
					"scale":0.05,
					"entries": [
					{
						"threshold": 0,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/drobovik/0"
						}
					},
					{
						"threshold": 0.01,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/drobovik/1"
									}
								},
					{
						"threshold": 0.6,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/drobovik/2"
									}
								},
					{
						"threshold": 1.17,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/drobovik/3"
									}
								}
							]
						}
					}
					],
					"fallback":{"type":"model","model":"item/weapons/guns/drobovik/4"}
				}
			},
			{"when": "Двустволка",
			"model": {
				"type": "select",
				"property": "charge_type",
				"cases":[
				{"when":"none",
				"model":{
					"type": "range_dispatch",
					"property": "use_duration",
					"scale":0.05,
					"entries": [
					{
						"threshold": 0,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/dvustvolka/0"
						}
					},
					{
						"threshold": 0.01,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/dvustvolka/1"
									}
								},
					{
						"threshold": 0.5,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/dvustvolka/2"
									}
								},
					{
						"threshold": 0.8,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/dvustvolka/3"
									}
								},
					{
						"threshold": 1,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/dvustvolka/4"
									}
								},
					{
						"threshold": 1.17,
						"model": {
						"type": "model",
						"model": "item/weapons/guns/dvustvolka/5"
									}
								}
							]
						}
					}
					],
					"fallback":{"type":"model","model":"item/weapons/guns/dvustvolka/1"}
				}
			}
        ],
    "fallback": {
					"type": "select",
				"property": "charge_type",
				"cases":[
				{"when":"none",
				"model":{
					"type": "range_dispatch",
					"property": "use_duration",
					"scale":0.05,
					"entries": [
					{
						"threshold": 0,
						"model": {
						"type": "model",
						"model": "item/crossbow"
						}
					},
					{
						"threshold": 0.1,
						"model": {
						"type": "model",
						"model": "item/crossbow_pulling_0"
									}
								},
					{
						"threshold": 0.8,
						"model": {
						"type": "model",
						"model": "item/crossbow_pulling_1"
									}
								},
					{
						"threshold": 1.17,
						"model": {
						"type": "model",
						"model": "item/crossbow_pulling_2"
									}
								}
							]
						}
					},
					{"when":"arrow","model":{"type":"model","model":"item/crossbow_arrow"}}
					],
					"fallback":{"type":"model","model":"item/crossbow_firework"}
				}
  }
}
