entityDef weapon_shotgun
{
	"editor_color"		".3 .3 1"
	"editor_mins"		"-16 -16 -16"
	"editor_maxs"		"16 16 16"
	"editor_usage"		"#HL2_Shotgun"
	"editor_rotatable"	"1"

	"spawnclass"		"HLWeapon"
	"model"				"models/weapons/w_shotgun.mdl"
	"model_view"		"models/weapons/v_shotgun.mdl"
	"snd_acquire"		"HL2Player.PickupWeapon"
	"snd_respawn"		"Item.Materialize"

	// weapon specific
	"inv_ammo_buckshot"	"6"
	"def_fireInfo"		"fireInfo_shotgun"
	"def_altFireInfo"	"fireInfo_altShotgun"
	"inv_name"			"SHOTGUN"
	"clipSize"			"6"
	"ammoType"			"ammo_buckshot"
	"ammoRequired"		"1"
	"hl2hud_icon"		"b"

	"act_pump"			"8"
	"act_holster"		"4"
	"act_reloadStart"	"5"
	"act_reload"			"6"
	"act_reloadEnd"		"7"
	"act_draw"			"3"
	"act_idle"			"0"
	"act_cock"			"8"
	"cocks"				"1"
	"snd_empty"			"Weapon_Shotgun.Empty"
	"snd_reload"		"Weapon_Shotgun.Reload"
	"snd_cock"			"Weapon_Shotgun.Special1"

	// HLWeapon specific
	"hudSlot"		"3"
	"hudSlotPos"	"0"
	"weight"		"4"
	"physics"		"1"
	"buggyIdleAnim"	"1"

	// muzzle
	"barrel"			"ValveBiped.Muzzle" // optimised out by compiler, wait for attachments
	"def_ejectBrass"	"debris_pistolBrass"
	"smoke_muzzle"		"muzzle.smoke"
	"muzzleRelativeOffset"			"16 6 -1"
}

entityDef projectile_shotgun
{
	"inherit"		"projectile_bullet_base"
	"damage"		"skill:plr_dmg_buckshot"
	"hitscans"		"12"
	"spread"		"0.08716 0.08716"
}

entityDef projectile_shotgun_alt
{
	"inherit"		"projectile_bullet_base"
	"damage"		"skill:plr_dmg_buckshot"
	"hitscans"		"24"
	"spread"		"0.08716 0.08716"
}

entityDef fireInfo_shotgun
{
	"def_onFire"		"projectile_shotgun"
	"ammoPerShot"		"1"
	"act_fire"			"1"
	"punchSpring"		"-3 0 0"
	"snd_fire"			"Weapon_Shotgun.Single"
}

entityDef fireInfo_altShotgun
{
	"def_onFire"		"projectile_shotgun_alt"
	"ammoPerShot"		"2"
	"act_fire"			"2"
	"punchSpring"		"-5 0 0"
	"snd_fire"			"Weapon_Shotgun.Double"
}
