modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
  }
  replace:
  {
    "damagecap" "9999999"
    "damage" "9999999"
  }
}

;---------------------------
; Removes afk killer
;---------------------------
filter:
{
  "targetname" "mineafk"
  "classname" "trigger_hurt"
}
filter:
{
  "targetname" "afkkiller"
  "classname" "env_fire"
}
filter:
{
  "origin" "15776 1328 876"
  "classname" "trigger_hurt"
}
modify:
{
  match:
  {
    "targetname" "chainchomp"
    "classname" "func_door"
  }
  replace:
  {
    "dmg" "0"
  }
}
;--------------------------------------
; Reworks spawnpart with teleporters
;--------------------------------------
add:
{
  "origin" "8192 -128 936"
  "targetname" "tp_dest_1"
  "angles" "0 120 0"
  "classname" "info_teleport_destination"
}
add:
{
  "model" "*83"
  "targetname" "spawn_tp_1"
  "target" "tp_dest_1"
  "origin" "15136 1456 448"
  "spawnflags" "1"
  "StartDisabled" "1"
  "classname" "trigger_teleport"
}
add:
{
  "model" "*80"
  "targetname" "spawn_tp_1"
  "target" "tp_dest_1"
  "origin" "13344 304 144"
  "spawnflags" "1"
  "StartDisabled" "1"
  "classname" "trigger_teleport"
}
add:
{
  "model" "*80"
  "targetname" "spawn_tp_1"
  "target" "tp_dest_1"
  "origin" "13344 864 1520"
  "spawnflags" "1"
  "StartDisabled" "1"
  "classname" "trigger_teleport"
}
add:
{
  "model" "*80"
  "targetname" "spawn_tp_1"
  "target" "tp_dest_1"
  "origin" "13824 -496 1520"
  "spawnflags" "1"
  "StartDisabled" "1"
  "classname" "trigger_teleport"
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "13344 304 1520"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "15456 432 352"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "14912 736 352"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "14304 704 225.53"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "13648 704 432"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "12352 -1792 1520"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "10240 -1216 960"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "10240 64 960"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "10240 1280 960"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "14800 1456 448"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "13584 1568 448"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "13584 1216 448"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "12400 1440 672"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "12400 752 688"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_1"
  }
  insert:
  {
    "target" "tp_dest_1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
;--------------------
; Enables spawn_tp_1
;--------------------
add:
{
  "origin" "9922.1 -14877.6 6368"
  "targetname" "spawn_tp_1_relay"
	"StartDisabled" "0"
	"spawnflags" "0"
  "classname" "logic_relay"
  "OnTrigger" "spawn_tp_1,Enable,,20,1"
  "OnTrigger" "map_message1,Command,say *** Zombie teleport in 20 seconds ***,0,1"
  "OnTrigger" "map_message1,Command,say *** Zombie teleport in 10 seconds ***,10,1"
  "OnTrigger" "map_message1,Command,say *** Zombie teleport in 5 seconds ***,15,1"
}
add:
{
  "model" "*63"
  "origin" "8896 1840 856"
  "spawnflags" "1"
  "StartDisabled" "0"
  "classname" "trigger_once"
  "OnStartTouch" "spawn_tp_1_relay,Trigger,,0,1"
}
add:
{
  "model" "*63"
  "origin" "8256 1840 856"
  "spawnflags" "1"
  "StartDisabled" "0"
  "classname" "trigger_once"
  "OnStartTouch" "spawn_tp_1_relay,Trigger,,0,1"
}
add:
{
  "model" "*63"
  "origin" "7616 1840 856"
  "spawnflags" "1"
  "StartDisabled" "0"
  "classname" "trigger_once"
  "OnStartTouch" "spawn_tp_1_relay,Trigger,,0,1"
}
add:
{
  "model" "*63"
  "origin" "6976 1840 856"
  "spawnflags" "1"
  "StartDisabled" "0"
  "classname" "trigger_once"
  "OnStartTouch" "spawn_tp_1_relay,Trigger,,0,1"
}
;-----------------------------------------------
; Reworks the 3 way split area with teleporters
;-----------------------------------------------
add:
{
  "origin" "8024.29 4336 1664"
  "targetname" "tp_dest_2"
  "angles" "0 90 0"
  "classname" "info_teleport_destination"
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "7296 -1120 1328"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_2"
  }
  insert:
  {
    "target" "tp_dest_2"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "8448 224 1348"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_2"
  }
  insert:
  {
    "target" "tp_dest_2"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "7176 696 1320"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_2"
  }
  insert:
  {
    "target" "tp_dest_2"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "8000 3136 1776"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_2"
  }
  insert:
  {
    "target" "tp_dest_2"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
;--------------------
; Enables spawn_tp_2
;--------------------
modify:
{
  match:
  {
    "classname" "trigger_once"
    "origin" "6400 6152 1816"
  }
  insert:
  {
    "OnStartTouch" "spawn_tp_2,Enable,,0,1"
    "OnStartTouch" "map_message1,Command,say *** Zombies are teleported ***,0,1"
  }
}
;--------------------------------------------------------
; Reworks the second split right side underground area
;--------------------------------------------------------
add:
{
  "origin" "12400.9 5888 824"
  "targetname" "tp_dest_3_rightside"
  "angles" "0 0 0"
  "classname" "info_teleport_destination"
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "7064 4880 1776"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "6432 6472 1776"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "7248 4904 1008"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "6416 6176 1008"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "7312 6616 1600"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "7352 6624 1032"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "9424.07 6680 888"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "7584 6672 808"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "11040 5544 888"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "11656 4864 888"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "11760 5616 888"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "12152 5920 888"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_rightside"
  }
  insert:
  {
    "target" "tp_dest_3_rightside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
;------------------------------------------------
; Reworks the second split left side upper area
;------------------------------------------------
add:
{
  "origin" "14208 4096.9 1544"
  "targetname" "tp_dest_3_leftside"
  "angles" "0 90 0"
  "classname" "info_teleport_destination"
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "5088 6956.06 1640"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_leftside"
  }
  insert:
  {
    "target" "tp_dest_3_leftside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "5088 7572.57 1800"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_leftside"
  }
  insert:
  {
    "target" "tp_dest_3_leftside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "4739.2 8803.66 2008"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_leftside"
  }
  insert:
  {
    "target" "tp_dest_3_leftside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "4104.6 9642.54 2008"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_leftside"
  }
  insert:
  {
    "target" "tp_dest_3_leftside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "4263.8 9642.54 1716"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_leftside"
  }
  insert:
  {
    "target" "tp_dest_3_leftside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "3600.2 8816.82 2008"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_leftside"
  }
  insert:
  {
    "target" "tp_dest_3_leftside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "3592.2 8984.92 1716"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_leftside"
  }
  insert:
  {
    "target" "tp_dest_3_leftside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "15428 3676 1468"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_leftside"
  }
  insert:
  {
    "target" "tp_dest_3_leftside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "14924 3676 1708"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_3_leftside"
  }
  insert:
  {
    "target" "tp_dest_3_leftside"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
;-------------------------------------------------------
; Enables spawn_tp_3_leftside & spawn_tp_3_rightside
;-------------------------------------------------------
modify:
{
  match:
  {
    "classname" "trigger_once"
    "origin" "13704 5888 1608"
  }
  insert:
  {
    "OnStartTouch" "spawn_tp_3_leftside,Enable,,5,1"
    "OnStartTouch" "spawn_tp_3_rightside,Enable,,5,1"
    "OnStartTouch" "map_message1,Command,say *** Zombies teleport in 5 seconds ***,0,1"
  }
}
;-------------------------
; Reworks large pipe area
;-------------------------
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "13304 5888 1568"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_4"
  }
  insert:
  {
    "target" "pipepoint1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "14208 4616 1708"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_4"
  }
  insert:
  {
    "target" "pipepoint1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "14220 3900 1708"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_4"
  }
  insert:
  {
    "target" "pipepoint1"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
;---------------------------------
; Enables spawn_tp_4 to pipe area
;---------------------------------
modify:
{
  match:
  {
    "classname" "trigger_once"
    "origin" "8672 6664 1600"
  }
  insert:
  {
    "OnStartTouch" "spawn_tp_4,Enable,,0,1"
    "OnStartTouch" "map_message1,Command,say *** Zombies arrived through the pipe! ***,0,1"
  }
}
;-----------------------------------------------
; Reworks little tower before the star gate
;-----------------------------------------------
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "10992 6656 1808"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_5"
  }
  insert:
  {
    "target" "Bridge_teleport"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "9592 6656 1552"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_5"
  }
  insert:
  {
    "target" "Bridge_teleport"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "8832 6656 1712"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_5"
  }
  insert:
  {
    "target" "Bridge_teleport"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "8176 6680 2128"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_5"
  }
  insert:
  {
    "target" "Bridge_teleport"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "7624 6656 1600"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_5"
  }
  insert:
  {
    "target" "Bridge_teleport"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
;---------------------------------
; Enables spawn_tp_5 to pipe area
;---------------------------------
modify:
{
  match:
  {
    "classname" "trigger_once"
    "origin" "8176 7200 2432"
  }
  insert:
  {
    "OnStartTouch" "spawn_tp_5,Enable,,10,1"
    "OnStartTouch" "map_message1,Command,say *** Zombies teleport in 10 seconds! ***,0,1"
    "OnStartTouch" "map_message1,Command,say *** Zombies teleport in 5 seconds! ***,5,1"
    "OnStartTouch" "map_message1,Command,say *** Zombies arrived! ***,10,1"
  }
}
;-----------------------------------------------
; Reworks little tower before the star gate
;-----------------------------------------------
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "8176 7824 2608"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_6"
  }
  insert:
  {
    "target" "t_teleport"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "8176 9264 2332"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_6"
  }
  insert:
  {
    "target" "t_teleport"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "8160 10576 2612"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_6"
  }
  insert:
  {
    "target" "t_teleport"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
modify:
{
  match:
  {
    "targetname" "sunburn"
    "classname" "trigger_hurt"
    "origin" "8160 11288 2796"
  }
  replace:
  {
    "classname" "trigger_teleport"
    "targetname" "spawn_tp_6"
  }
  insert:
  {
    "target" "t_teleport"
    "spawnflags" "1"
    "StartDisabled" "1"
  }
}
;---------------------------------
; Enables spawn_tp_6 to pipe area
;---------------------------------
modify:
{
  match:
  {
    "classname" "trigger_once"
    "origin" "-6656 -7808 -3924.86"
  }
  insert:
  {
    "OnStartTouch" "spawn_tp_6,Enable,,5,1"
    "OnStartTouch" "map_message1,Command,say *** Zombies teleport at bottom in 5 seconds! ***,0,1"
  }
}
;--------------------------------
; Reworks the bottom tower part
;--------------------------------
add:
{
  "origin" "-7200.9 -7824 -3880"
  "targetname" "tp_dest_bottom_tower"
  "angles" "0 180 0"
  "classname" "info_teleport_destination"
}
add:
{
  "model" "*157"
  "targetname" "tp_bottom_tower"
  "target" "tp_dest_bottom_tower"
  "origin" "-7168 -7808 -6200.02"
  "spawnflags" "1"
  "StartDisabled" "1"
  "classname" "trigger_teleport"
}
;-------------------------------------------------------------
; Enables tp_bottom_tower midway point of ending tower
;-------------------------------------------------------------
modify:
{
  match:
  {
    "classname" "trigger_once"
    "origin" "-7200 -7840 -2608"
  }
  insert:
  {
    "OnStartTouch" "tp_bottom_tower,Enable,,5,1"
    "OnStartTouch" "map_message1,Command,say *** Zombies advance through the tower in 5 seconds ***,0,1"
  }
}
;--------------------------------
; Reworks the top tower part
;--------------------------------
add:
{
  "origin" "-6992.13 -7824 -2520"
  "targetname" "tp_dest_toptower"
  "angles" "0 180 0"
  "classname" "info_teleport_destination"
}
add:
{
  "model" "*157"
  "targetname" "tp_toptower"
  "target" "tp_dest_toptower"
  "origin" "-7168 -7808 -4824.02"
  "spawnflags" "1"
  "StartDisabled" "1"
  "classname" "trigger_teleport"
}
;-------------------------------------------------------------
; Enables tp_toptower midway point of ending tower
;-------------------------------------------------------------
modify:
{
  match:
  {
    "targetname" "cloudrise"
    "classname" "func_door"
  }
  insert:
  {
    "OnFullyOpen" "tp_toptower,Enable,,5,1"
    "OnFullyOpen" "map_message1,Command,say *** Zombies advance through the tower in 5 seconds ***,0,1"
  }
}


;; _

;; prevent players from blocking last elevators

modify:
{
	match:
	{
		"targetname" "cloudrise"
		"classname" "func_door"
	}
	replace:
	{
		"dmg" "10000"
	}
}


