entityDef weapon_nailgun
{
	"editor_color"		".3 .3 1"
	"editor_mins"		"-16 -16 0"
	"editor_maxs"		"16 16 32"
	"editor_usage"		"Nailgun"
	"editor_rotatable"	"1"

	"spawnclass"		"NSItem"
	"model"		"models/g_nail.mdl"
	"inv_item"		"$WEAPON_NAILGUN"
	"snd_acquire"		"dmc_weapon.pickup"
	"snd_respawn"		"dmc_item.respawn"
	"spin"		"1"
}

entityDef projectile_nail
{
	"spawnclass"		"NSProjectile"
	"model"		"models/spike.mdl"

	"def_damage"		"damage_nailDirect"

	"health"		"0"
	"velocity"		"1000"
	"fuse"		"10"
	"detonate_on_fuse"	"0"
	"detonate_on_death"	"0"
	"detonate_on_world"	"1"
	"detonate_on_actor"	"1"
	"impact_damage_effect"	"1"
	"impact_gib"		"0"
	"model_detonate"		"weapon_nailgun.impact"
}

entityDef damage_nailDirect
{
	"damage"	"skill:plr_nailgun"
}