;----------
;Fix nuke
;-----------

modify:
{
	match:
	{
		"targetname" "nuke_button"
		"classname" "func_button"
	}
	insert:
	{
		"OnPressed" "nuke,AddOutput,damage 9999999,10,1"
	}
}



;; _

;; afk teleport

add:
{
	"model" "*128"
	"origin" "-4512 -1296 -104"
	"targetname" "afk_tele"
	"target" "afk_tele_dest"
	"StartDisabled" "1"
	"spawnflags" "1"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*129"
	"origin" "-2232 -2400 232"
	"targetname" "afk_tele"
	"target" "afk_tele_dest"
	"StartDisabled" "1"
	"spawnflags" "1"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*130"
	"origin" "-2232 -1296 232"
	"targetname" "afk_tele"
	"target" "afk_tele_dest"
	"StartDisabled" "1"
	"spawnflags" "1"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*131"
	"origin" "-2232 -192 232"
	"targetname" "afk_tele"
	"target" "afk_tele_dest"
	"StartDisabled" "1"
	"spawnflags" "1"
	"classname" "trigger_teleport"
}
add:
{
	"origin" "1377 -1259 212"
	"targetname" "afk_tele_dest"
	"angles" "0 0 0"
	"classname" "info_teleport_destination"
}

modify:
{
	match:
	{
		"origin" "2328 3912 128"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "afk_tele,Enable,,10,1"
	}
}
