;; _

;; mog - fix zm shortcut opening early

modify:
{
	match:
	{
		"targetname" "zombiepanic_cheerleader1_trigger"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "zombiepanic_zombie_shortcut_3,Break,,1,-1"
		"OnTrigger" "zombiepanic_zombie_shortcut,Break,,7,-1"
		"OnTrigger" "zombiepanic_zombie_shortcut2,Break,,14,-1"
		"OnTrigger" "zombiepanic_zombie_shortcut1,Break,,4,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "zombiepanic_hold_3"
		"classname" "func_breakable"
	}
	insert:
	{
		"OnBreak" "zombiepanic_zombie_shortcut_3,Break,,11,-1"
		"OnBreak" "zombiepanic_zombie_shortcut,Break,,17,-1"
		"OnBreak" "zombiepanic_zombie_shortcut2,Break,,24,-1"
		"OnBreak" "zombiepanic_zombie_shortcut1,Break,,14,-1"
	}
}

;; wave - fix zombies getting permaslowed by wave

modify:
{
	match:
	{
		"targetname" "WaterWave_PushBack"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnEndTouch" "SpeedMod,ModifySpeed,1,0,-1"
	}
	insert:
	{
		"OnEndTouch" "SpeedMod,ModifySpeed,1,0.1,-1"
	}
}

;; wave - fix lifeguard

modify:
{
	match:
	{
		"targetname" "ww_welcome"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "ww_math_humancounter,GetValue,,0.5,-1"
	}
	insert:
	{
		"OnTrigger" "ww_math_humancounter,GetValue,,5.5,-1"
	}
}

;; wave - fix first trigger

add:
{
	"model" "*403"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-13728 -13472.5 -247"
	"classname" "trigger_once"
	"OnTrigger" "ww_trigger_progress_1_plate,Break,,0,1"
}

modify:
{
	match:
	{
		"targetname" "ww_trigger_progress_1_plate"
		"classname" "func_breakable"
	}
	replace:
	{
		"spawnflags" "1025"
	}
}


modify:
{
	match:
	{
		"targetname" "Map_PlayedRoomCompareItem"
		"classname" "logic_case"
	}
	insert:
	{
		"Case16" "16"
		"Case15" "15"
		"Case14" "14"
		"Case13" "13"
		"Case12" "12"
		"Case09" "10"
		"Case08" "9"
		"Case07" "7"
		"Case06" "5"
		"Case05" "4"
		"Case04" "3"
		"OnCase01" "Server,Command,say 1,0,-1"
		"OnCase02" "Server,Command,say 6,0,-1"
		"OnCase03" "Server,Command,say 11,0,-1"
		"OnCase04" "Server,Command,say 3,0,-1"
		"OnCase05" "Server,Command,say 4,0,-1"
		"OnCase06" "Server,Command,say 5,0,-1"
		"OnCase07" "Server,Command,say 7,0,-1"
		"OnCase08" "Server,Command,say 9,0,-1"
		"OnCase09" "Server,Command,say 10,0,-1"
		"OnCase10" "Server,Command,say 2,0,-1"
		"OnCase11" "Server,Command,say 8,0,-1"
		"OnCase12" "Server,Command,say 12,0,-1"
		"OnCase13" "Server,Command,say 13,0,-1"
		"OnCase14" "Server,Command,say 14,0,-1"
		"OnCase15" "Server,Command,say 15,0,-1"
		"OnCase16" "Server,Command,say 16,0,-1"
	}
}



;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;MARATHON MODE - FORCE MOG BOSS LEVEL
;-------------------------------------

add:
{
	"origin" "-5320 1688 -2936"
	"targetname" "BossLevel_BranchForceMog"
	"InitialValue" "0"
	"classname" "logic_branch"
	"OnFalse" "BossLevel_RandomCase,PickRandomShuffle,,0,-1"
	"OnTrue" "BossLevel_SelectCase,InValue,Mog,0,-1"
}
modify:
{
	match:
	{
		"targetname" "Spawn_RelayBossRoom"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "BossLevel_RandomCase,PickRandomShuffle,,5,-1"
	}
	insert:
	{
		"OnTrigger" "BossLevel_BranchForceMog,Test,,5,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Map_Marathon_Branch"
		"classname" "logic_branch"
	}
	insert:
	{
		"OnTrue" "BossLevel_BranchForceMog,SetValue,1,0,-1"
	}
}

