entityDef weapon_tripmine
{
	"editor_color"		".3 .3 1"
	"editor_mins"		"-16 -16 -16"
	"editor_maxs"		"16 16 16"
	"editor_usage"		"Tripmine"
	"editor_rotatable"	"1"

	"spawnclass"		"HLWeapon"
	"model"				"models/v_tripmine.mdl"
	"model_view"		"models/v_tripmine.mdl"
	"body0"				"2"
	"body1"				"2"
	"frame"				"8"
	"snd_acquire"		"Player.PickupWeapon"
	"snd_respawn"		"item.respawn"

	"def_fireInfo"		"fireInfo_tripminePlant"

	"inv_ammo_tripmine"	"1"
	"ammoType"			"ammo_tripmine"
	"ammoRequired"		"1"
	"act_idle"			"0,1,4"
	"act_fire"			"3"
	"act_draw"			"6"
	"act_holster"		"5"
	"removeOnEmpty"		"1"
	"snd_fire"			"TripmineGrenade.Deploy"

	// HLWeapon specific
	"hudSlot"			"4"
	"hudSlotPos"		"2"
	"weight"			"-10"
	"crosshair"			"none"
}

entityDef fireInfo_tripminePlant
{
	"def_onFire"		"projectile_tripmine"
	"fireRate"			"0.5"
	"testDistance"		"-64"
}

entityDef projectile_tripmine
{
	"spawnclass"		"ncAttack"
	"def_plant"			"monster_tripmine"
	"plant"				"1"
	"plantOnGround"		"0"
	"plantDistance"		"64"
	"plantOffset"		"8"
}
