add:
{
	"model" "*67"
	"target" "td_lift"
	"targetname" "tp_lift"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "6128 5743 -923"
	"filtername" "FILTER_ZOMBIE"
	"classname" "trigger_teleport"
	"parentname" "pullelevator"
}

add:
{
	"classname" "info_teleport_destination"
	"angles" "0 270 0"
	"targetname" "td_lift"
	"origin" "6128 5952 -888"
	"parentname" "pullelevator"
}

modify:
{
	match:
	{
		"model" "*50"
		"classname" "func_button"
	}
	insert:
	{
		"OnPressed" "tp_lift,Enable,,30,1"
	}
}

modify:
{
	match:
	{
		"targetname" "pullelevator"
	}
	insert:
	{
		"OnFullyOpen" "tp_lift,Disable,,1,1"
	}
}

modify:
{
	match:
	{
		"targetname" "SELECT_HOLD"
	}
	insert:
	{
		"OnCase02" "AREA4_DESTINATION,AddOutput,origin -840 -919.469 -2064,0,1"
	}
}

;
;	fix tp avoidance spot
;
add:
{
	"classname" "trigger_teleport"
	"targetname" "TPSafeSpot1"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-4128 -2528 -2235"
	"target" "SURF_SETBACK_1"
}
modify:
{
	match:
	{
		"origin" "3120 -288 -1100"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnStartTouch" "TPSafeSpot1,AddOutput,solid 2,0.5,1"
		"OnStartTouch" "TPSafeSpot1,AddOutput,mins -544 -160 -36,1,1"
		"OnStartTouch" "TPSafeSpot1,AddOutput,maxs 544 160 36,1,1"
	}
}