add:
{
	"origin" "-7112 528 8"
	"targetname" "TheCurrentLevelPlugin"
	"min" "1"
	"max" "2"
	"startvalue" "1"
	"classname" "math_counter"
}

modify:
{
	match:
	{
		"targetname" "ActIRelay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,1,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "ActIIRelay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,2,0,1"
	}
}

;-----------------------
;-----MARATHON MODE-----
;-----------------------

modify:
{
	match:
	{
		"classname" "logic_auto"
	}
	insert:
	{
		"OnMapSpawn" "Console,Command,mp_roundtime 25,0,-1"
	}
}

filter:
{
	"classname" "trigger_multiple"
	"targetname" "ActIZombieChecker"
}

filter:
{
	"classname" "trigger_multiple"
	"targetname" "ActIHumanChecker"
}

filter:
{
	"classname" "trigger_teleport"
	"targetname" "TeleportBackToActI"
}

filter:
{
	"classname" "trigger_teleport"
	"targetname" "TeleportBackToActII"
}

modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "HitlerC4Counter"
	}
	delete:
	{
		"OnHitMax" "ActINuke,Enable,,0.5,-1"
		"OnHitMax" "Console,Command,echo [ Taboo: Act I nuke enabled ],0.50,-1"
		"OnHitMax" "SpawnMovementLevel2,Trigger,,1,-1"
		"OnHitMax" "SpawnMovementLevel2,Trigger,,3,-1"
		"OnUser1" "ExtraTryEnable,Trigger,,0,-1"
	}
}

add:
{
	"model" "*293"
	"classname" "trigger_teleport"
	"targetname" "TeleportToActIIMarathon"
	"origin" "7552 1612 240"
	"spawnflags" "1"
	"StartDisabled" "1"
	"target" "AntiGritchDest4"
}

modify:
{
	match:
	{
		"classname" "func_door"
		"targetname" "ElevatorFinish"
	}
	insert:
	{
		"OnOpen" "ActIIRelay,Enable,,7,1"
		"OnOpen" "ActIIRelay,Trigger,,8,1"
		"OnOpen" "TeleportToActIIMarathon,Enable,,20,1"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "WinRelay"
	}
	insert:
	{
		"OnTrigger" "Console,Command,say ** YOU COMPLETED MARATHON MODE **,1,-1"
	}
}		
		
;Force spawns heal item for marathon

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "ActIRelay"
	}
	insert:
	{
		"OnTrigger" "HealTemplate,FireUser1,,10,1"
	}
}

modify:
{
	match:
	{
		"classname" "point_template"
		"targetname" "HealTemplate"
	}
	delete:
	{
		"OnUser1" "Console,Command,echo [ Taboo : Medikit spawned at position 688 5072 976 ],0,-1"
		"OnUser1" "!self,AddOutput,origin 688 5072 976,0,-1"
		"OnUser1" "!self,ForceSpawn,,0.5,-1"
		"OnUser2" "!self,AddOutput,origin 5872 -3768 1368,0,-1"
		"OnUser2" "Console,Command,echo [ Taboo : Medikit spawned at position 5872 -3768 1368 ],0,-1"
		"OnUser2" "!self,ForceSpawn,,0.50,-1"
	}
	insert:
	{
		"OnUser1" "Console,Command,echo [ Taboo : Medikit spawned at position 8744 1424 196 ],0,-1"
		"OnUser1" "!self,AddOutput,origin 8744 1424 196,0,-1"
		"OnUser1" "!self,ForceSpawn,,0.50,-1"
	}
}