;-----------
; MAP FIXES
;-----------

modify:
{
	match:
	{
		"targetname" "naraka_count_players2"
	}
	delete:
	{
		"OnStartTouch" "naraka_counter2,Add,120,0,-1"
		"OnStartTouch" "naraka_hp_backup2,Add,120,0,-1"
	}
	insert:
	{
		"OnStartTouch" "naraka_counter2,Add,100,0,-1"
		"OnStartTouch" "naraka_hp_backup2,Add,100,0,-1"
	}
}



;; _

;; restart round on warmup

modify:
{
	match:
	{
		"targetname" "warmup"
		"classname" "func_brush"
	}
	delete:
	{
		"OnUser1" "nrk_nuke,Enable,,63,-1"
	}
	insert:
	{
		"OnUser1" "Console,Command,mp_restartgame 1,63,-1"
	}
}

;; stage 2 - close elevator doors simultaneously

modify:
{
	match:
	{
		"targetname" "nrk2_elevator1_button_2"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "nrk2_elevator1_leftgate,Close,,11,1"
		"OnPressed" "nrk2_elevator1_rightgate,Close,,11,1"
	}
	insert:
	{
		"OnPressed" "nrk2_elevator1_leftgate,Close,,10,1"
		"OnPressed" "nrk2_elevator1_rightgate,Close,,10,1"
	}
}
modify:
{
	match:
	{
		"targetname" "nrk2_elevator2"
		"classname" "func_movelinear"
	}
	insert:
	{
		"OnFullyOpen" "nrk2_elevator2,AddOutput,speed 250,1,1"
	}
}

;; stage 3 - move zm teleport origin

modify:
{
	match:
	{
		"targetname" "nrk3_jail_destination"
		"classname" "info_teleport_destination"
	}
	replace:
	{
		"origin" "1088 7424 72"
	}
}