;-----------------------
;Disable Bhop Level 1
;-----------------------

modify:
{
	match:
	{
		"targetname" "level_case"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase02" "Cmd,Command,sv_enablebunnyhopping 0,1,1"
	}
}

modify:
{
	match:
	{
		"origin" "-1535.31 -1612 -5351"
		"classname" "logic_auto"
		"hammerid" "9456"
	}
	insert:
	{
		"OnMapSpawn" "Cmd,Command,sv_enablebunnyhopping 1,0,1"
	}
}



;------------------------------------------------
;FILTER BO-OMB BATTLEFIELD CANNON TO ZOMBIES
;------------------------------------------------

modify:
{
	match:
	{
		"classname" "func_button"
		"targetname" "bomb_button"
		"origin" "-5497.5 5844.05 -7575.17"
		"hammerid" "1434652"
	}
	delete:
	{
		"OnPressed" "cannon_ui,Activate,,0,-1"
		"OnPressed" "bubble_text,Display,,0,-1"
	}
	insert:
	{
		"OnPressed" "cannon_filter,testactivator,,0,-1"
	}
}


add:
{
	"origin" "-5573.06 5765.01 -7659.95"
	"targetname" "cannon_filter"
	"Negated" "Allow entities that match criteria"
	"filterteam" "2"
	"classname" "filter_activator_team"
	"OnPass" "cannon_ui,Activate,,0,-1"
	"OnPass" "bubble_text,Display,,0,-1"
}


;------------------------------------------------
;FIX TELEPORT EXPLOIT IN BO-OMB BATTLEFIELD LEVEL
;------------------------------------------------


add:
{
"model" "*486"
"targetname" "boomb_mid_tele"
"target" "boomb_remote2"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-7547.5 7713.5 -7572"
"classname" "trigger_teleport"
"hammerid" "738852"
}


add:
{
"model" "*486"
"targetname" "boomb_mid_tele"
"target" "boomb_remote2"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-7546.5 7575.5 -7572"
"classname" "trigger_teleport"
"hammerid" "738852"
}


add:
{
"model" "*486"
"targetname" "boomb_mid_tele"
"target" "boomb_remote2"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-7334.5 7578.5 -7572"
"classname" "trigger_teleport"
"hammerid" "738852"
}

add:
{
"model" "*486"
"targetname" "boomb_mid_tele"
"target" "boomb_remote2"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-7333.5 7713.5 -7572"
"classname" "trigger_teleport"
"hammerid" "738852"
}


add:

{
"model" "*485"
"targetname" "boomb_mid2_tele"
"target" "boomb_zm_cage"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-7330.5 7711.5 -6789"
"classname" "trigger_teleport"
"hammerid" "738843"
}

add:

{
"model" "*485"
"targetname" "boomb_mid2_tele"
"target" "boomb_zm_cage"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-7541.5 7583.5 -6789"
"classname" "trigger_teleport"
"hammerid" "738843"
}








;------------------------------------------------
;FIX TELEPORT EXPLOIT OUTSIDE PEACHS CASTLE
;------------------------------------------------


add:
{
"model" "*403"
"targetname" "one_afktele_one"
"target" "mario_basement_remote2"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "5696 -395 8001.5"
"classname" "trigger_teleport"
"hammerid" "244054"
}


add:
{
"model" "*403"
"targetname" "one_afktele_one"
"target" "mario_basement_remote2"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "5696 -843 7977.5"
"classname" "trigger_teleport"
"hammerid" "244054"
}




;------------------------------------------------
;NERF TOAD CHARACTER AND NERF MARIO CHARACTER
;-------------------------------------------------

modify:
{
	match:
	{
		"targetname" "toad_char_hbox"
	}
	insert:
	{
		"health" "15"
	}
}


modify:
{
	match:
	{
		"targetname" "mario_char_hbox"
	}
	insert:
	{
		"health" "30"
	}
}



;------------------------------------------------
;DISABLE MARIO ON LEVEL 1 (TOO OP)
;-------------------------------------------------

modify:
{
	match:
	{
		"targetname" "level_case"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase02" "mario_model,kill,,0,1"
		"OnCase02" "mario_trig,kill,,0,1"
	}
}



;------------------------------------------------
;INCREASE ROUND TIME
;-------------------------------------------------

modify:
{
	match:
	{
		"origin" "-1535.31 -1612 -5351"
		"classname" "logic_auto"
		"hammerid" "9456"
	}
	insert:
	{
		"OnMapSpawn" "Cmd,Command,mp_roundtime 11,0,1"
	}
}


;------------------------------------------------
;FIX GAP IN SHIFTING SANDS WALLS
;-------------------------------------------------

add:
{
"model" "*429"
"wait" "-1"
"unlocked_sentence" "0"
"targetname" "bh_anteroom_door"
"speed" "100"
"spawnpos" "0"
"spawnflags" "0"
"solidbsp" "0"
"rendermode" "0"
"renderfx" "0"
"rendercolor" "255 255 255"
"renderamt" "255"
"origin" "5501.5 -1721.5 -2152.98"
"loopmovesound" "0"
"locked_sentence" "0"
"lip" "0"
"ignoredebris" "0"
"health" "0"
"forceclosed" "0"
"dmg" "20"
"distance" "90"
"disableshadows" "0"
"disablereceiveshadows" "0"
"angles" "0 0 0"
"classname" "func_door_rotating"
"hammerid" "334894"
}

add:
{
"model" "*429"
"wait" "-1"
"unlocked_sentence" "0"
"targetname" "bh_anteroom_door"
"speed" "100"
"spawnpos" "0"
"spawnflags" "0"
"solidbsp" "0"
"rendermode" "0"
"renderfx" "0"
"rendercolor" "255 255 255"
"renderamt" "255"
"origin" "5499.5 -1721.5 -2060.5"
"loopmovesound" "0"
"locked_sentence" "0"
"lip" "0"
"ignoredebris" "0"
"health" "0"
"forceclosed" "0"
"dmg" "20"
"distance" "90"
"disableshadows" "0"
"disablereceiveshadows" "0"
"angles" "0 0 0"
"classname" "func_door_rotating"
"hammerid" "334894"
}

add:
{
"model" "*429"
"wait" "-1"
"unlocked_sentence" "0"
"targetname" "bh_anteroom_door"
"speed" "100"
"spawnpos" "0"
"spawnflags" "0"
"solidbsp" "0"
"rendermode" "0"
"renderfx" "0"
"rendercolor" "255 255 255"
"renderamt" "255"
"origin" "5499.5 -1721.5 -1967.5"
"loopmovesound" "0"
"locked_sentence" "0"
"lip" "0"
"ignoredebris" "0"
"health" "0"
"forceclosed" "0"
"dmg" "20"
"distance" "90"
"disableshadows" "0"
"disablereceiveshadows" "0"
"angles" "0 0 0"
"classname" "func_door_rotating"
"hammerid" "334894"
}


