;; _

;; afk teleport instead of killer

add:
{
	"model" "*32"
	"targetname" "afk_tele"
	"target" "human_camping_target"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-12512 -280 776"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*31"
	"targetname" "afk_tele"
	"target" "human_camping_target"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-12672 -1464 -40"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"origin" "-9110.9 200.5 118.72"
		"classname" "func_button"
		"hammerid" "66042"
	}
	insert:
	{
		"OnPressed" "afk_killer,Disable,,2,1"
		"OnPressed" "afk_tele,Enable,,50,1"
	}
}

add:
{
	"model" "*52"
	"targetname" "afk_tele2"
	"target" "human_phales_target"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-5168 -64 608"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*113"
	"targetname" "afk_tele2"
	"target" "human_phales_target"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-10112 -1456 256"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*85"
	"targetname" "afk_tele2"
	"target" "human_phales_target"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "3480 0 -520"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*83"
	"targetname" "afk_tele2"
	"target" "human_phales_target"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "3328 -720 -1808"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"origin" "2795.91 -8548.88 -1798.23"
		"classname" "func_button"
		"hammerid" "102932"
	}
	insert:
	{
		"OnPressed" "afk_tele2,Enable,,5,1"
	}
}

;; fix afk teleport

modify:
{
	match:
	{
		"origin" "-10112 -1456 256"
		"classname" "trigger_teleport"
		"hammerid" "183650"
	}
	replace:
	{
		"spawnflags" "1"
	}
}

modify:
{
	match:
	{
		"targetname" "camping_teleport"
		"classname" "trigger_teleport"
	}
	delete:
	{
		"filtername" "zombie_filter"
	}
}
modify:
{
	match:
	{
		"origin" "-9110.9 200.5 118.72"
		"classname" "func_button"
		"hammerid" "66042"
	}
	delete:
	{
		"OnPressed" "camping_teleport,Enable,,40,-1"
	}
	insert:
	{
		"OnPressed" "camping_teleport,Enable,,50,1"
	}
}

;; fix knife stripper

modify:
{
	match:
	{
		"origin" "-8896 324 548"
		"classname" "trigger_once"
		"hammerid" "74131"
	}
	delete:
	{
		"OnStartTouch" "weapon_strip_2,Strip,,0,-1"
		"OnStartTouch" "halo_command,Command,say *** Evil Zombie has been choosen***,0,-1"
	}
	insert:
	{
		"OnStartTouch" "weapon_strip_2,Strip,,0,1"
		"OnStartTouch" "halo_command,Command,say *** Evil Zombie has been choosen***,0,1"
	}
}

;; fix nuke origin

modify:
{
	match:
	{
		"targetname" "final_nuke"
		"classname" "trigger_hurt"
		"origin" "3296 -4232 -1728"
	}
	replace:
	{
		"origin" "3296 -4232 -1792"
	}
}

;; disable user control for elevator

modify:
{
	match:
	{
		"targetname" "lift"
		"classname" "func_tracktrain"
	}
	replace:
	{
		"spawnflags" "530"
	}
}

;; music volume

modify:
{
	match:
	{
		"message" "zombiecopter/thunderhorse.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#zombiecopter/thunderhorse.mp3"
	}
}
