add:
{
	"origin" "-2013 -15834 -47"
	"targetname" "TheCurrentLevelPlugin"
	"min" "1"
	"max" "7"
	"startvalue" "1"
	"classname" "math_counter"
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"OnBreak" "Map_WinCounter,SetValue,1,0.01,1"
	}
	insert:
	{
		"OnBreak" "TheCurrentLevelPlugin,SetValue,1,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"OnBreak" "Map_WinCounter,SetValue,2,0.01,1"
	}
	insert:
	{
		"OnBreak" "TheCurrentLevelPlugin,SetValue,2,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"OnBreak" "Map_WinCounter,SetValue,3,0.01,1"
	}
	insert:
	{
		"OnBreak" "TheCurrentLevelPlugin,SetValue,3,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"OnBreak" "Map_WinCounter,SetValue,4,0.01,1"
	}
	insert:
	{
		"OnBreak" "TheCurrentLevelPlugin,SetValue,4,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"OnBreak" "Map_WinCounter,SetValue,5,0.01,1"
	}
	insert:
	{
		"OnBreak" "TheCurrentLevelPlugin,SetValue,5,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"OnBreak" "Map_WinCounter,SetValue,6,0.01,1"
	}
	insert:
	{
		"OnBreak" "TheCurrentLevelPlugin,SetValue,6,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"OnBreak" "Map_WinCounter,SetValue,7,0.01,1"
	}
	insert:
	{
		"OnBreak" "TheCurrentLevelPlugin,SetValue,7,0,1"
	}
}

;Sent by Alcolo
;Fix zombies tp on stage 1 ending
modify:
{
    match:
    {
        "classname" "trigger_teleport"
        "targetname" "Trigger_teleport_lava_5"
    }
    replace:
    {
        "target" "TeleportD_12"
    }
}

;Moltard
;Fix people standing on boss box

add:
{
	"model" "*257"
	"targetname" "Boss_box_5_hurt"
	"StartDisabled" "1"
	"spawnflags" "1"
	"parentname" "Boss_box_5"
	"origin" "-4642 -10126 275"
	"nodmgforce" "0"
	"damagetype" "1"
	"damagemodel" "0"
	"damagecap" "100"
	"damage" "999999"
	"classname" "trigger_hurt"
}
add:
{
	"model" "*257"
	"targetname" "Boss_box_5_hurt"
	"StartDisabled" "1"
	"spawnflags" "1"
	"parentname" "Boss_box_5"
	"origin" "-4626 -10126 275"
	"nodmgforce" "0"
	"damagetype" "1"
	"damagemodel" "0"
	"damagecap" "100"
	"damage" "999999"
	"classname" "trigger_hurt"
}

; Enable it 5 sec after boss can be damaged so they think they can actually glitch
modify:
{
	match:
	{
		"targetname" "Trigger_once_26"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "Boss_box_5_hurt,Enable,,55,1"
	}
}
