;increase round time
modify:
{
	match:
	{
		"classname" "logic_auto"
	}
	insert:
	{
		"OnMapSpawn" "cmd,Command,mp_roundtime 15,0,-1"
	}
}

;patch stage 2 teleport avoidance spot
add:
{
	"classname" "trigger_teleport"
	"targetname" "st2_tp_3"
	"target" "zm_cage_boss_des"
	"spawnflags" "1"
	"StartDisabled" "1"
	"origin" "5404.5 -8662 -338"
	"model" "*136"
	"UseLandmarkAngles" "1"
}

;add timer to final hold before laser elevator
modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "Leven"
	}
	insert:
	{
		"OnHitMin" "cmd,Command,say <<70 sec.>>,28,1"
		"OnHitMin" "cmd,Command,say <<35 sec.>>,63,1"
	}
}

;disable flashlight when color correction is enabled
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "-5362 -7520.5 -271"
	}
	insert:
	{
		"OnStartTouch" "cmd,Command,mp_flashlight 0,75,1"
	}
}

modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "01"
	}
	insert:
	{
		"OnHitMin" "cmd,Command,mp_flashlight 0,0,1"
	}
}

modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "Leven"
	}
	insert:
	{
		"OnHitMin" "cmd,Command,mp_flashlight 1,15,-1"
		"OnHitMin" "cmd,Command,mp_flashlight 0,78,-1"
	}
}

;enable flashlight and disable color correction on map spawn
modify:
{
	match:
	{
		"classname" "logic_auto"
	}
	insert:
	{
		"OnMapSpawn" "cmd,Command,mp_flashlight 1,0,1"
		"OnMapSpawn" "cc_mono,Disable,,0.1,1"
	}
}