;---------------------------------------
;Mode Select Stripper
;---------------------------------------
add:
{
	"classname" "logic_relay"
        "targetname" "ricca_relay"
 	"origin" "0 0 0"
	"spawnflags" "0"
	"StartDisabled" "0"
        "OnUser1" "Solo_Mode,Kill,,0.00,-1"
	"OnUser1" "Team_Mode,Kill,,0.00,-1"
	"OnUser1" "ZM_Mode,Kill,,0.00,-1"
	"OnUser1" "Pro_Defend_Mode,Kill,,0.00,-1"
	"OnUser1" "Fog_Mode,Kill,,0.00,-1"
	"OnUser1" "Spinner_Mode,Kill,,0.00,-1"
	"OnUser1" "2Boss_Mode,Kill,,0.00,-1"
	"OnUser1" "Floor_Lava_Mode,Kill,,0.00,-1"
	"OnUser1" "Tommy_Mode,Kill,,0.00,-1"
	"OnUser1" "cmd,command,say ***Shino Thigh Highs When***,10.00,-1"
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 974 -728"
	}
	
	insert:
	{
	"OnPressed" "ricca_relay,FireUser1,,0.01,1"
	"OnPressed" "Solo_Mode,Trigger,,0.00,1"	
	}
	
}

modify:
{
	match:
	{
		"classname" "logic_auto"
	}
	
	insert:
	{
	"OnMapSpawn" "Choose_Music,Kill,,40.00,-1"
	"OnMapSpawn" "cmd,command,say ***Stripper Loaded***,3.00,-1"
	"OnMapSpawn" "Level_InitCounter,FireUser1,,0.00,1"
	"OnMapSpawn" "random_mode_or_admin_room_branch,test,,10.00,1"		
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 890 -728"
	}
	
	insert:
	{
	"OnPressed" "ricca_relay,FireUser1,,0.01,1"
	"OnPressed" "Team_Mode,Trigger,,0.00,1"	
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 806 -728"
	}
	
	insert:
	{
	"OnPressed" "ricca_relay,FireUser1,,0.01,1"
	"OnPressed" "ZM_Mode,Trigger,,0.00,1"	
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 722 -728"
	}
	
	insert:
	{
	"OnPressed" "ricca_relay,FireUser1,,0.01,1"
	"OnPressed" "Pro_Defend_Mode,Trigger,,0.00,1"	
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 718 -728"
	}
	
	insert:
	{
	"OnPressed" "ricca_relay,FireUser1,,0.01,1"
	"OnPressed" "Fog_Mode,Trigger,,0.00,1"	
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 654 -728"
	}
	
	insert:
	{
	"OnPressed" "ricca_relay,FireUser1,,0.01,1"
	"OnPressed" "Spinner_Mode,Trigger,,0.00,1"	
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 590 -728"
	}
	
	insert:
	{
	"OnPressed" "ricca_relay,FireUser1,,0.01,1"
	"OnPressed" "2Boss_Mode,Trigger,,0.00,1"	
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 526 -728"
	}
	
	insert:
	{
	"OnPressed" "ricca_relay,FireUser1,,0.01,1"
	"OnPressed" "Floor_Lava_Mode,Trigger,,0.00,1"	
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 462 -728"
	}
	
	insert:
	{
	"OnPressed" "ricca_relay,FireUser1,,0.01,1"
	"OnPressed" "Tommy_Mode,Trigger,,0.00,1"	
	}
	
}

add:
{
	"classname" "env_sprite"
        "targetname" "Choose_Music"
 	"origin" "-2721 974 -728"
	"spawnflags" "1"
      	"model" "sprites/glow1_noz.vmt"
	"scale" "1"
	"rendermode" "5"
	"rendercolor" "251 0 0"
}

add:
{
	"classname" "env_sprite"
        "targetname" "Choose_Music"
 	"origin" "-2721 890 -728"
	"spawnflags" "1"
      	"model" "sprites/glow1_noz.vmt"
	"scale" "1"
	"rendermode" "5"
	"rendercolor" "251 201 0"
}

add:
{
	"classname" "env_sprite"
        "targetname" "Choose_Music"
 	"origin" "-2721 806 -728"
	"spawnflags" "1"
      	"model" "sprites/glow1_noz.vmt"
	"scale" "1"
	"rendermode" "5"
	"rendercolor" "119 250 1"
}

add:
{
	"classname" "env_sprite"
        "targetname" "Choose_Music"
 	"origin" "-2721 722 -728"
	"spawnflags" "1"
      	"model" "sprites/glow1_noz.vmt"
	"scale" "1"
	"rendermode" "5"
	"rendercolor" "0 251 132"
}

add:
{
	"classname" "env_sprite"
        "targetname" "Choose_Music"
 	"origin" "-2721 718 -728"
	"spawnflags" "1"
      	"model" "sprites/glow1_noz.vmt"
	"scale" "1"
	"rendermode" "5"
	"rendercolor" "0 125 251"
}

add:
{
	"classname" "env_sprite"
        "targetname" "Choose_Music"
 	"origin" "-2721 654 -728"
	"spawnflags" "1"
      	"model" "sprites/glow1_noz.vmt"
	"scale" "1"
	"rendermode" "5"
	"rendercolor" "151 0 251"
}

add:
{
	"classname" "env_sprite"
        "targetname" "Choose_Music"
 	"origin" "-2721 590 -728"
	"spawnflags" "1"
      	"model" "sprites/glow1_noz.vmt"
	"scale" "1"
	"rendermode" "5"
	"rendercolor" "250 1 188"
}

add:
{
	"classname" "env_sprite"
        "targetname" "Choose_Music"
 	"origin" "-2721 526 -728"
	"spawnflags" "1"
      	"model" "sprites/glow1_noz.vmt"
	"scale" "1"
	"rendermode" "5"
	"rendercolor" "251 0 6"
}

add:
{
	"classname" "env_sprite"
        "targetname" "Choose_Music"
 	"origin" "-2721 462 -728"
	"spawnflags" "1"
      	"model" "sprites/glow1_noz.vmt"
	"scale" "1"
	"rendermode" "5"
	"rendercolor" "251 214 0"
}

modify:
{
	match:
	{
		"targetname" "Auto_Case"
	}
	
	delete:
	{
	"OnCase07" "2Boss_Mode,Trigger,,0,-1"	
	}
	
}

modify:
{
	match:
	{
		"targetname" "cmd"
	}
	
	delete:
	{
	"OnUser1" "!self,Command,zr_class_modify zombies health 1000,0,1"	
	}
	insert:
	{
	"OnUser1" "!self,Command,zr_class_modify zombies health 30000,0,1"	
	}
	
}

modify:
{
	match:
	{
		"targetname" "ZM_Reset"
	}
	
	insert:
	{
	"OnStartTouch" "!activator,addoutput,health 30000,0.00,-1"
	"OnEndTouch" "!activator,addoutput,health 30000,0.00,-1"
	}
	
}

modify:
{
	match:
	{
		"targetname" "ZM_Reset"
	}
	
	replace:
	{
	"StartDisabled" "0"
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 806 -728"
	}
	
	replace:
	{
	"origin" "-2822.83  991.97  -753.97"
	}
	
}

add:
{
	"classname" "info_target"
        "targetname" "Level_InitCounter"
 	"origin" "0 0 10"
	"angles" "0 0 0"
	"spawnflags" "0"
	"OnUser1" "mode_branchTemplate,ForceSpawn,,0.00,1"
        "OnUser1" "random_mode_or_admin_room_branch,AddOutput,classname info_target,0.03,1"
        "OnUser1" "!self,kill,,0.12,1"
}

add:
{
	"classname" "logic_branch"
        "targetname" "random_mode_or_admin_room_branch"
	"InitialValue" "0"
 	"origin" "0 0 20"
        "OnFalse" "Auto_Case,PickRandom,,0.00,-1"
	"OnTure" "!self,FireUser1,,0.00,-1"
}

modify:
{
	match:
	{
		"classname" "logic_auto"
	}
	
	delete:
	{
	"OnMapSpawn" "Auto_Case,PickRandom,,10,-1"	
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 206 -728"
	}
	
	insert:
	{
	"OnPressed" "random_mode_or_admin_room_branch,SetValue,0,0.00,-1"
	}
	
}

modify:
{
	match:
	{
		"classname" "func_button"
		"origin" "-2721 142 -728"
	}
	
	insert:
	{
	"OnPressed" "random_mode_or_admin_room_branch,SetValue,1,0.00,-1"
	}
	
}

add:
{
	"classname" "point_template"
        "targetname" "mode_branchTemplate"
	"spawnflags" "2"
	"Template01" "random_mode_or_admin_room_branch"
}