filter:
{
	"classname" "func_smokevolume"
}

filter:
{
	"targetname" "bloqueo1"
}

modify:
{
	match:
	{
		"classname" "func_tracktrain"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"classname" "func_tanktrain"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"targetname" "nave_huida"
	}
	replace:
	{
		"spawnflags" "515"
	}
}

modify:
{
	match:
	{
		"targetname" "pathnave_1"
	}
	replace:
	{
		"speed" "0"
	}
}

modify:
{
	match:
	{
		"targetname" "Bomba_nuclear"
	}
	replace:
	{
		"damage" "99999"
	}
}

modify:
{
	match:
	{
		"model" "*71"
	}
	delete:
	{
		"OnStartTouch" "pared_boca,Break,,5,1"
		"OnStartTouch" "com,Command,say ***La verja se rompera en 5 segundos***,0,1"
	}
	insert:
	{
		"OnStartTouch" "pared_boca,Break,,15,1"
		"OnStartTouch" "com,Command,say ***La verja se rompera en 15 segundos***,0,1"
	}
}

modify:
{
	match:
	{
		"classname" "logic_auto"
		"origin" "125.225 -356.572 9"
	}
	insert:
	{
		"OnMapSpawn" "afktp*,AddOutput,solid 2,0,1"
		"OnMapSpawn" "falltp*,AddOutput,solid 2,0,1"
		
		"OnMapSpawn" "afktp1,AddOutput,maxs 6656 2560 1664,0.1,1"
		"OnMapSpawn" "afktp1,AddOutput,mins -6656 -2560 -1664,0.1,1"
		
		"OnMapSpawn" "afktp2,AddOutput,maxs 4096 2560 768,0.1,1"
		"OnMapSpawn" "afktp2,AddOutput,mins -4096 -2560 -768,0.1,1"
		
		"OnMapSpawn" "afktp3,AddOutput,maxs 2560 2560 512,0.1,1"
		"OnMapSpawn" "afktp3,AddOutput,mins -2560 -2560 -512,0.1,1"
		
		"OnMapSpawn" "afktp4,AddOutput,maxs 2560 2560 768,0.1,1"
		"OnMapSpawn" "afktp4,AddOutput,mins -2560 -2560 -768,0.1,1"
		
		"OnMapSpawn" "falltp1,AddOutput,maxs 2560 2560 128,0.1,1"
		"OnMapSpawn" "falltp1,AddOutput,mins -2560 -2560 -128,0.1,1"
		
		"OnMapSpawn" "falltp2,AddOutput,maxs 5120 2048 256,0.1,1"
		"OnMapSpawn" "falltp2,AddOutput,mins -5120 -2048 -256,0.1,1"
	}
}

add:
{
	"classname" "trigger_teleport"
	"spawnflags" "1"
	"origin" "2560 -512 1280"
	"startdisabled" "1"
	"target" "casa_serpiente_ct"
	"targetname" "afktp1"
}

add:
{
	"classname" "trigger_teleport"
	"spawnflags" "1"
	"origin" "0 -512 -1152"
	"startdisabled" "1"
	"target" "casa_serpiente_t"
	"targetname" "afktp2"
}

add:
{
	"classname" "trigger_teleport"
	"spawnflags" "1"
	"origin" "6656 -512 -1536"
	"startdisabled" "1"
	"target" "afktd3"
	"targetname" "afktp3"
}

add:
{
	"classname" "info_teleport_destination"
	"angles" "0 270 0"
	"targetname" "afktd3"
	"origin" "8128 64 -992"
}

add:
{
	"classname" "trigger_teleport"
	"spawnflags" "1"
	"origin" "6656 -512 -1152"
	"startdisabled" "1"
	"target" "final_camino"
	"targetname" "afktp4"
}

add:
{
	"classname" "trigger_teleport"
	"spawnflags" "1"
	"origin" "6656 -512 -1792"
	"startdisabled" "0"
	"target" "teleport_s"
	"targetname" "falltp1"
}

add:
{
	"classname" "trigger_teleport"
	"spawnflags" "1"
	"origin" "4096 -1024 -7424"
	"startdisabled" "0"
	"target" "caida_2"
	"targetname" "falltp2"
}

modify:
{
	match:
	{
		"model" "*31"
	}
	insert:
	{
		"OnStartTouch" "afktp1,Enable,,10,1"
		"OnStartTouch" "afktp2,Enable,,10,1"
	}
}

modify:
{
	match:
	{
		"model" "*42"
	}
	insert:
	{
		"OnStartTouch" "afktp3,Enable,,10,1"
	}
}

modify:
{
	match:
	{
		"model" "*51"
	}
	insert:
	{
		"OnStartTouch" "afktp4,Enable,,5,1"
	}
}

modify:
{
	match:
	{
		"targetname" "1st floor"
	}
	replace:
	{
		"spawnflags" "1025"
		"wait" "0"
	}
	insert:
	{
		"OnPressed" "2nd floor,Unlock,,5,-1"
		"OnPressed" "1st floor,Lock,,0,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "2nd floor"
	}
	replace:
	{
		"spawnflags" "3073"
		"wait" "0"
	}
	insert:
	{
		"OnPressed" "1st floor,Unlock,,5,-1"
		"OnPressed" "2nd floor,Lock,,0,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "elevator"
	}
	replace:
	{
		"dmg" "10000"
		"spawnflags" "19"
	}
}