
;------------------------
;TRIGGER DOWN ON ELEVATOR ORIGIN
;------------------------
modify:
{
	match:
	{
		"targetname" "tp_down_4"
		"classname" "trigger_teleport"
	}
	replace:
	{
		"origin" "-11302 4154 -4838"
	}
}
;------------------------
;FIXING THE CD ON ITEMS SAME FOR ALL THE LEVELS PLUMBER
;------------------------
modify:
{
	match:
	{
		"targetname" "item_plombier_relay_use"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Item_plombier_particle_sfera,Start,,110,-1"
		"OnTrigger" "Item_plombier_button,Unlock,,110,-1"
	}
	insert:
	{
		"OnTrigger" "Item_plombier_particle_sfera,Start,,80,-1"
		"OnTrigger" "Item_plombier_button,Unlock,,80,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "item_plombier_relay_use_2"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Item_plombier_particle_sfera,Start,,90,-1"
		"OnTrigger" "Item_plombier_button,Unlock,,90,-1"
	}
	insert:
	{
		"OnTrigger" "Item_plombier_particle_sfera,Start,,80,-1"
		"OnTrigger" "Item_plombier_button,Unlock,,80,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "item_plombier_relay_use_3"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Item_plombier_particle_sfera,Start,,70,-1"
		"OnTrigger" "Item_plombier_button,Unlock,,70,-1"
	}
	insert:
	{
		"OnTrigger" "Item_plombier_particle_sfera,Start,,80,-1"
		"OnTrigger" "Item_plombier_button,Unlock,,80,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "item_plombier_relay_use_4"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Item_plombier_particle_sfera,Start,,50,-1"
		"OnTrigger" "Item_plombier_button,Unlock,,50,-1"
	}
	insert:
	{
		"OnTrigger" "Item_plombier_particle_sfera,Start,,80,-1"
		"OnTrigger" "Item_plombier_button,Unlock,,80,-1"
	}
}
filter:
{
"origin" "5230 4554 880"
"targetname" "Item_plombier_case_display"
"Case06" "6"
"Case05" "5"
"Case04" "4"
"Case03" "3"
"Case02" "2"
"Case01" "1"
"classname" "logic_case"
"hammerid" "924029"
"OnCase01" "Item_plombier_text_cd,Display,,0.01,-1"
"OnCase01" "Item_plombier_text_cd,AddOutput,message - CD 110s Pushing water -,0,-1"
"OnCase02" "Item_plombier_text_cd,Display,,0.01,-1"
"OnCase02" "Item_plombier_text_cd,AddOutput,message - CD 90s burning and pushing water -,0,-1"
"OnCase03" "Item_plombier_text_cd,Display,,0.01,-1"
"OnCase03" "Item_plombier_text_cd,AddOutput,message - CD 70s freezing and pushing water -,0,-1"
"OnCase04" "Item_plombier_text_cd,Display,,0.01,-1"
"OnCase04" "Item_plombier_text_cd,AddOutput,message - CD 50s freezing and pushing water -,0,-1"
"OnCase05" "Item_plombier_text_cd,Display,,0.01,-1"
"OnCase05" "Item_plombier_text_cd,AddOutput,message - CD 50s freezing and pushing water -,0,-1"
"OnCase06" "Item_plombier_text_cd,Display,,0.01,-1"
"OnCase06" "Item_plombier_text_cd,AddOutput,message - CD 50s freezing and pushing water -,0,-1"
}
filter:
{
"origin" "5230 4570 880"
"targetname" "Item_plombier_counter_display"
"startvalue" "1"
"StartDisabled" "0"
"classname" "math_counter"
"hammerid" "924031"
"OnGetValue" "Item_plombier_case_display,InValue,,0,-1"
}
add:
{
"origin" "5278 4570 880"
"y" "0.3"
"x" "0.05"
"targetname" "Item_plombier_text"
"spawnflags" "0"
"message" "Item: Plumber! \nEffect: Push zombies with his water \nDuration: 5 seconds \nCooldown: 80 seconds"
"holdtime" "4"
"fxtime" ".05"
"fadeout" "0.5"
"fadein" ".025"
"effect" "2"
"color2" "0 255 255"
"color" "0 255 255"
"channel" "2"
"classname" "game_text"
}
filter:
{
"origin" "5278 4570 880"
"y" "0.3"
"x" "0.05"
"targetname" "Item_plombier_text"
"spawnflags" "0"
"message" "Item: Plumber!"
"holdtime" "4"
"fxtime" ".05"
"fadeout" "0.5"
"fadein" ".025"
"effect" "2"
"color2" "0 255 255"
"color" "0 255 255"
"channel" "2"
"classname" "game_text"
"hammerid" "923872"
}
filter:
{
"origin" "5262 4554 880"
"y" "0.55"
"x" "1"
"targetname" "Item_plombier_text_cd"
"spawnflags" "0"
"message" "- CD 110s Pushing water -"
"holdtime" "4000"
"fxtime" ".05"
"fadeout" ".05"
"fadein" "0.05"
"effect" "2"
"color2" "135 206 250"
"color" "135 206 250"
"channel" "2"
"classname" "game_text"
"hammerid" "923726"
}
;------------------------
;FIXING THE CD ON ITEMS SAME FOR ALL THE LEVELS ELECTRICIAN
;------------------------
add:
{
"origin" "6139 4895 880"
"y" "0.3"
"x" "0.05"
"targetname" "Item_electricien_text"
"spawnflags" "0"
"message" "Item: Electrician! \nEffect: Spawn a tower  to electrocutes zombies \nDuration: 8 seconds \nCooldown: 80 seconds"
"holdtime" "4"
"fxtime" ".05"
"fadeout" "0.5"
"fadein" ".025"
"effect" "2"
"color2" "135 206 250"
"color" "135 206 250"
"channel" "2"
"classname" "game_text"
}
filter:
{
"origin" "6139 4895 880"
"y" "0.3"
"x" "0.05"
"targetname" "Item_electricien_text"
"spawnflags" "0"
"message" "Item: Electrician!"
"holdtime" "4"
"fxtime" ".05"
"fadeout" "0.5"
"fadein" ".025"
"effect" "2"
"color2" "135 206 250"
"color" "135 206 250"
"channel" "2"
"classname" "game_text"
"hammerid" "924123"
}
filter:
{
"origin" "6155 4959 880"
"targetname" "Item_electricien_case_display"
"Case06" "6"
"Case05" "5"
"Case04" "4"
"Case03" "3"
"Case02" "2"
"Case01" "1"
"classname" "logic_case"
"hammerid" "924036"
"OnCase01" "Item_electricien_text_cd,Display,,0.01,-1"
"OnCase01" "Item_electricien_text_cd,AddOutput,message - CD 110s Damage 50 -,0,-1"
"OnCase02" "Item_electricien_text_cd,Display,,0.01,-1"
"OnCase02" "Item_electricien_text_cd,AddOutput,message - CD 90s Damage 200 -,0,-1"
"OnCase03" "Item_electricien_text_cd,Display,,0.01,-1"
"OnCase03" "Item_electricien_text_cd,AddOutput,message - CD 70s Damage 400 -,0,-1"
"OnCase04" "Item_electricien_text_cd,Display,,0.01,-1"
"OnCase04" "Item_electricien_text_cd,AddOutput,message - CD 50s Damage 1000 -,0,-1"
}
filter:
{
"origin" "6155 4943 880"
"targetname" "Item_electricien_counter_display"
"startvalue" "1"
"StartDisabled" "0"
"classname" "math_counter"
"hammerid" "924117"
"OnGetValue" "Item_electricien_case_display,InValue,,0,-1"
}
filter:
{
"origin" "6155 4895 880"
"y" "0.55"
"x" "1"
"targetname" "Item_electricien_text_cd"
"spawnflags" "0"
"message" "- CD 110s Damage 50 -"
"holdtime" "4000"
"fxtime" ".05"
"fadeout" ".05"
"fadein" "0.05"
"effect" "2"
"color2" "32 158 255"
"color" "32 158 255"
"channel" "2"
"classname" "game_text"
"hammerid" "924104"
}
modify:
{
	match:
	{
		"targetname" "item_electricien_relay_use_2"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Item_electricien_particle_sfera,Start,,90,-1"
		"OnTrigger" "Item_electricien_button,Unlock,,90,-1"
	}
	insert:
	{
		"OnTrigger" "Item_electricien_particle_sfera,Start,,80,-1"
		"OnTrigger" "Item_electricien_button,Unlock,,80,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "item_electricien_relay_use_4"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Item_electricien_particle_sfera,Start,,50,-1"
		"OnTrigger" "Item_electricien_button,Unlock,,50,-1"
	}
	insert:
	{
		"OnTrigger" "Item_electricien_particle_sfera,Start,,80,-1"
		"OnTrigger" "Item_electricien_button,Unlock,,80,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "item_electricien_relay_use_3"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Item_electricien_particle_sfera,Start,,70,-1"
		"OnTrigger" "Item_electricien_button,Unlock,,70,-1"
	}
	insert:
	{
		"OnTrigger" "Item_electricien_particle_sfera,Start,,80,-1"
		"OnTrigger" "Item_electricien_button,Unlock,,80,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "item_electricien_relay_use"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Item_electricien_particle_sfera,Start,,110,-1"
		"OnTrigger" "Item_electricien_button,Unlock,,110,-1"
	}
	insert:
	{
		"OnTrigger" "Item_electricien_particle_sfera,Start,,80,-1"
		"OnTrigger" "Item_electricien_button,Unlock,,80,-1"
	}
}
;------------------------
;MAKING SOME PART OF THE MAP EASIER
;------------------------
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_button11"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "travaux_sound,Volume,0,20,-1"
		"OnTrigger" "cmd,Command,say ** The builder started to work 20s **,0,-1"
		"OnTrigger" "debris_2_break,Break,,20,-1"
		"OnTrigger" "debris_2,Kill,,20,-1"
	}
	insert:
	{
		"OnTrigger" "travaux_sound,Volume,0,30,-1"
		"OnTrigger" "cmd,Command,say ** The builder started to work 30s **,0,-1"
		"OnTrigger" "debris_2_break,Break,,30,-1"
		"OnTrigger" "debris_2,Kill,,30,-1"
	}
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "0 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "608 1328 -213"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 0 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "448 1328 -213"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 0"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "608 1248 -227"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 0 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "448 1248 -227"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 0"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "448 1088 -261"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "0 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "448 1168 -245"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 0 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "608 1168 -245"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 0"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "608 1168 -245"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 0 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "608 1088 -261"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 0"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "448 1008 -273"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "0 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "608 1008 -273"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 0 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "448 928 -287"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
add:
{
	"model" "*284"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "0 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "608 928 -287"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
modify:
{
	match:
	{
		"targetname" "button_lobby"
		"classname" "func_button"
	}
	delete:
	{
		"OnUseLocked" "move_1,Open,,35,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! door open: 35s,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,35,-1"
		"OnUseLocked" "part_1water,Kill,,25.01,-1"
		"OnUseLocked" "elec_sound,StopSound,,25.01,-1"
		"OnUseLocked" "part_1water,Stop,,25,-1"
		"OnUseLocked" "hurt_water,Kill,,25,-1"
		"OnUseLocked" "elec_sound,Volume,0,25,-1"
		"OnUseLocked" "spark_5,Kill,,25,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! door open: 10s,25,-1"
		"OnUseLocked" "spark_working_1,StopSpark,,25,-1"
		"OnUseLocked" "spark_working_1,Kill,,25.01,-1"
		"OnUseLocked" "hall_smoke_part_1,Start,,35,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,35,-1"
	}
	insert:
	{
		"OnUseLocked" "move_1,Open,,20,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! door open: 20s,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,20,-1"
		"OnUseLocked" "part_1water,Kill,,10.01,-1"
		"OnUseLocked" "elec_sound,StopSound,,10.01,-1"
		"OnUseLocked" "part_1water,Stop,,10,-1"
		"OnUseLocked" "hurt_water,Kill,,10,-1"
		"OnUseLocked" "elec_sound,Volume,0,10,-1"
		"OnUseLocked" "spark_5,Kill,,10,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! door open: 10s,10,-1"
		"OnUseLocked" "spark_working_1,StopSpark,,10,-1"
		"OnUseLocked" "spark_working_1,Kill,,10.01,-1"
		"OnUseLocked" "hall_smoke_part_1,Start,,20,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,20,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Gimmick_Lift_Timer"
		"classname" "logic_timer"
	}
	delete:
	{
		"OnTimer" "Gimmick_Lift_Position,Subtract,0.05,0,-1"
	}
	insert:
	{
		"OnTimer" "Gimmick_Lift_Position,Subtract,0.02,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test10"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnFail" "travaux_sound,Volume,0,25,-1"
		"OnFail" "cmd,Command,say ** THE ELECTRICIAN LETF THE GAME ?! 25s **,0,-1"
		"OnFail" "spark_2,Kill,,25,1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "button_3,Unlock,,25,-1"
		"OnFail" "relay_fog_end,Trigger,,20,-1"
		"OnFail" "bridge3b,Open,,25,-1"
		"OnFail" "button_5,Unlock,,25,-1"
		"OnFail" "fade_trigger,Fade,,25,-1"
	}
	insert:
	{
		"OnFail" "travaux_sound,Volume,0,15,-1"
		"OnFail" "cmd,Command,say ** THE ELECTRICIAN LETF THE GAME ?! 15s **,0,-1"
		"OnFail" "spark_2,Kill,,15,1"
		"OnFail" "speed,ModifySpeed,1,15,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "button_3,Unlock,,15,-1"
		"OnFail" "relay_fog_end,Trigger,,10,-1"
		"OnFail" "bridge3b,Open,,15,-1"
		"OnFail" "button_5,Unlock,,15,-1"
		"OnFail" "fade_trigger,Fade,,15,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test3"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnFail" "travaux_stage1_4_toggle,Toggle,,25,-1"
		"OnFail" "travaux_sound,Volume,0,25,-1"
		"OnFail" "cmd,Command,say ** THE PLUMBER IS DEAD OR WHAT? 25s **,0,-1"
		"OnFail" "water_4,Open,,25,-1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "part_4_water,Kill,,25.01,-1"
		"OnFail" "part_4_water,Stop,,25,-1"
		"OnFail" "relay_bridge2,Trigger,,35,-1"
		"OnFail" "chinese_bridge3,Enable,,35,-1"
		"OnFail" "fade_trigger,Fade,,25,-1"
	}
	insert:
	{
		"OnFail" "travaux_stage1_4_toggle,Toggle,,15,-1"
		"OnFail" "travaux_sound,Volume,0,15,-1"
		"OnFail" "cmd,Command,say ** THE PLUMBER IS DEAD OR WHAT? 15s **,0,-1"
		"OnFail" "water_4,Open,,15,-1"
		"OnFail" "speed,ModifySpeed,1,15,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "part_4_water,Kill,,15.01,-1"
		"OnFail" "part_4_water,Stop,,15,-1"
		"OnFail" "relay_bridge2,Trigger,,25,-1"
		"OnFail" "chinese_bridge3,Enable,,25,-1"
		"OnFail" "fade_trigger,Fade,,15,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "button_2"
		"classname" "func_button"
	}
	delete:
	{
		"OnUseLocked" "move_2,Open,,35,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! door open: 35s,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,35,-1"
		"OnUseLocked" "part_1water,Kill,,25.01,-1"
		"OnUseLocked" "elec_sound,StopSound,,25.01,-1"
		"OnUseLocked" "part_1water,Stop,,25,-1"
		"OnUseLocked" "hurt_water,Kill,,25,-1"
		"OnUseLocked" "elec_sound,Volume,0,25,-1"
		"OnUseLocked" "spark_5,Kill,,25,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! door open: 10s,25,-1"
		"OnUseLocked" "spark_working_2,StartSpark,,0,-1"
		"OnUseLocked" "spark_working_2,StopSpark,,25,-1"
		"OnUseLocked" "spark_working_2,Kill,,25.01,-1"
		"OnUseLocked" "hall_smoke_part_1,Start,,35,-1"
		"OnUseLocked" "tp_down_2,Enable,,25,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,35,-1"
	}
	insert:
	{
		"OnUseLocked" "move_2,Open,,20,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! door open: 20s,0,-1"
		"OnUseLocked" "!self,Kill,,0,-1"
		"OnUseLocked" "glow_lobby1,Kill,,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,20,-1"
		"OnUseLocked" "part_1water,Kill,,10.01,-1"
		"OnUseLocked" "elec_sound,StopSound,,10.01,-1"
		"OnUseLocked" "part_1water,Stop,,10,-1"
		"OnUseLocked" "hurt_water,Kill,,10,-1"
		"OnUseLocked" "elec_sound,Volume,0,10,-1"
		"OnUseLocked" "spark_5,Kill,,10,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! door open: 10s,10,-1"
		"OnUseLocked" "spark_working_2,StartSpark,,0,-1"
		"OnUseLocked" "spark_working_2,StopSpark,,10,-1"
		"OnUseLocked" "spark_working_2,Kill,,10.01,-1"
		"OnUseLocked" "hall_smoke_part_1,Start,,20,-1"
		"OnUseLocked" "tp_down_2,Enable,,10,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,20,-1"
		"OnPressed" "mason_break1,Enable,,10,-1"
		"OnPressed" "mason_break1,Kill,,20,-1"
		"OnUseLocked" "mason_break1,Enable,,20,-1"
		"OnUseLocked" "mason_break1,Kill,,30,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test8"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnFail" "travaux_sound,Volume,0,25,-1"
		"OnFail" "cmd,Command,say ** THE ELECTRICIAN CAN FIX ELECTRICITY FASTER! LET HIM. 25s **,0,-1"
		"OnFail" "spark_1,Kill,,25,-1"
		"OnFail" "elec_sound_1,Volume,0,25,-1"
		"OnFail" "elec_sound_1,StopSound,,25.01,-1"
		"OnFail" "hurt_water_3,Kill,,25,-1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "button_2,Unlock,,25,-1"
		"OnFail" "relay_laser_elec_2,Trigger,,25,-1"
		"OnFail" "relay_laser_elec_3,Trigger,,25,-1"
		"OnFail" "fade_trigger,Fade,,25,-1"
	}
	insert:
	{
		"OnFail" "travaux_sound,Volume,0,15,-1"
		"OnFail" "cmd,Command,say ** THE ELECTRICIAN CAN FIX ELECTRICITY FASTER! LET HIM. 15s **,0,-1"
		"OnFail" "spark_1,Kill,,15,-1"
		"OnFail" "elec_sound_1,Volume,0,15,-1"
		"OnFail" "elec_sound_1,StopSound,,15.01,-1"
		"OnFail" "hurt_water_3,Kill,,15,-1"
		"OnFail" "speed,ModifySpeed,1,15,-1"
		"OnFail" "button_2,Unlock,,15,-1"
		"OnFail" "relay_laser_elec_2,Trigger,,15,-1"
		"OnFail" "relay_laser_elec_3,Trigger,,15,-1"
		"OnFail" "fade_trigger,Fade,,15,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test1"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnFail" "travaux_stage1_2_toggle,Toggle,,25,-1"
		"OnFail" "travaux_sound,Volume,0,25,-1"
		"OnFail" "cmd,Command,say ** LET THE GODDAMN PLUMBER FIX PIPES! 25s **,0,-1"
		"OnFail" "water_3,Open,,25,-1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "case_chinese_choice1,PickRandom,,25,-1"
		"OnFail" "fade_trigger,Fade,,25,-1"
	}
	insert:
	{
		"OnFail" "travaux_stage1_2_toggle,Toggle,,15,-1"
		"OnFail" "travaux_sound,Volume,0,15,-1"
		"OnFail" "cmd,Command,say ** LET THE GODDAMN PLUMBER FIX PIPES! 15s **,0,-1"
		"OnFail" "water_3,Open,,15,-1"
		"OnFail" "speed,ModifySpeed,1,15,-1"
		"OnFail" "case_chinese_choice1,PickRandom,,15,-1"
		"OnFail" "fade_trigger,Fade,,15,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnFail" "travaux_sound,Volume,0,25,-1"
		"OnFail" "travaux_stage1_1_toggle,Toggle,,25,-1"
		"OnFail" "cmd,Command,say ** Why did you trigger? LET THE PLUMBER FIX IT! 25s **,0,-1"
		"OnFail" "water_1,Open,,25,-1"
		"OnFail" "part_1a,Stop,,25,-1"
		"OnFail" "!activator,ModifySpeed,1,25,-1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "case_chinese_choice,PickRandom,,25,-1"
		"OnFail" "case_chinese_choice,Kill,,25.01,-1"
		"OnFail" "relay_toggle_1_2nd_time,Trigger,,25,-1"
	}
	insert:
	{
		"OnFail" "travaux_stage1_1_toggle,Toggle,,15,-1"
		"OnFail" "travaux_sound,Volume,0,15,-1"
		"OnFail" "cmd,Command,say ** Why did you trigger? LET THE PLUMBER FIX IT! 15s **,0,-1"
		"OnFail" "water_1,Open,,15,-1"
		"OnFail" "part_1a,Stop,,15,-1"
		"OnFail" "!activator,ModifySpeed,1,15,-1"
		"OnFail" "speed,ModifySpeed,1,15,-1"
		"OnFail" "case_chinese_choice,PickRandom,,15,-1"
		"OnFail" "case_chinese_choice,Kill,,15.01,-1"
		"OnFail" "relay_toggle_1_2nd_time,Trigger,,15,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test9"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnFail" "cmd,Command,say ** Why did you trigger? LET THE ELECTRICIAN DO IT! 25s **,0,-1"
		"OnFail" "spark_5,Kill,,25,-1"
		"OnFail" "elec_sound,Volume,0,25,-1"
		"OnFail" "elec_sound,StopSound,,25.01,-1"
		"OnFail" "hurt_water,Kill,,25,-1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "part_1water,Kill,,25.01,-1"
		"OnFail" "part_1water,Stop,,25,-1"
		"OnFail" "cmd,Command,say ** The electricity seems fixed for now.. **,25,-1"
		"OnFail" "button_lobby,Unlock,,25,-1"
		"OnFail" "compare_elec,SetValue,1,25,-1"
		"OnFail" "relay_elec_spawn,Trigger,,25,-1"
		"OnFail" "relay_laser_elec_1,Trigger,,25,-1"
	}
	insert:
	{
		"OnFail" "travaux_sound,Volume,0,15,-1"
		"OnFail" "cmd,Command,say ** Why did you trigger? LET THE ELECTRICIAN DO IT! 15s **,0,-1"
		"OnFail" "spark_5,Kill,,15,-1"
		"OnFail" "elec_sound,Volume,0,15,-1"
		"OnFail" "elec_sound,StopSound,,15.01,-1"
		"OnFail" "hurt_water,Kill,,15,-1"
		"OnFail" "speed,ModifySpeed,1,15,-1"
		"OnFail" "part_1water,Kill,,15.01,-1"
		"OnFail" "part_1water,Stop,,15,-1"
		"OnFail" "cmd,Command,say ** The electricity seems fixed for now.. **,15,-1"
		"OnFail" "button_lobby,Unlock,,15,-1"
		"OnFail" "compare_elec,SetValue,1,15,-1"
		"OnFail" "relay_elec_spawn,Trigger,,15,-1"
		"OnFail" "relay_laser_elec_1,Trigger,,15,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test9"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnFail" "cmd,Command,say ** Why did you trigger? LET THE ELECTRICIAN DO IT! 25s **,0,-1"
		"OnFail" "spark_5,Kill,,25,-1"
		"OnFail" "elec_sound,Volume,0,25,-1"
		"OnFail" "elec_sound,StopSound,,25.01,-1"
		"OnFail" "hurt_water,Kill,,25,-1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "part_1water,Kill,,25.01,-1"
		"OnFail" "part_1water,Stop,,25,-1"
		"OnFail" "cmd,Command,say ** The electricity seems fixed for now.. **,25,-1"
		"OnFail" "button_lobby,Unlock,,25,-1"
		"OnFail" "compare_elec,SetValue,1,25,-1"
		"OnFail" "relay_elec_spawn,Trigger,,25,-1"
		"OnFail" "relay_laser_elec_1,Trigger,,25,-1"
	}
	insert:
	{
		"OnFail" "travaux_sound,Volume,0,15,-1"
		"OnFail" "cmd,Command,say ** Why did you trigger? LET THE ELECTRICIAN DO IT! 15s **,0,-1"
		"OnFail" "spark_5,Kill,,15,-1"
		"OnFail" "elec_sound,Volume,0,15,-1"
		"OnFail" "elec_sound,StopSound,,15.01,-1"
		"OnFail" "hurt_water,Kill,,15,-1"
		"OnFail" "speed,ModifySpeed,1,15,-1"
		"OnFail" "part_1water,Kill,,15.01,-1"
		"OnFail" "part_1water,Stop,,15,-1"
		"OnFail" "cmd,Command,say ** The electricity seems fixed for now.. **,15,-1"
		"OnFail" "button_lobby,Unlock,,15,-1"
		"OnFail" "compare_elec,SetValue,1,15,-1"
		"OnFail" "relay_elec_spawn,Trigger,,15,-1"
		"OnFail" "relay_laser_elec_1,Trigger,,15,-1"
	}
}
add:
{
	"model" "*76"
	"targetname" "tp_5_anti_glitch"
	"target" "tp_dest_boss"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-2009.5 505 -256"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test11"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnFail" "travaux_sound,Volume,0,25,-1"
		"OnFail" "cmd,Command,say ** I STOP TO TALK.. 25s **,0,-1"
		"OnFail" "travaux_stage1_1_button26,Kill,,0,-1"
		"OnFail" "spark_3,Kill,,25,1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "button_4,Unlock,,25,-1"
		"OnFail" "relay_laser_elec_5,Trigger,,25,-1"
		"OnFail" "fade_trigger,Fade,,25,-1"
	}
	insert:
	{
		"OnFail" "travaux_sound,Volume,0,15,-1"
		"OnFail" "cmd,Command,say ** WHERE IS THE ELECTRICIAN?! 15s **,0,-1"
		"OnFail" "travaux_stage1_1_button26,Kill,,0,-1"
		"OnFail" "spark_3,Kill,,15,1"
		"OnFail" "speed,ModifySpeed,1,15,-1"
		"OnFail" "button_4,Unlock,,15,-1"
		"OnFail" "relay_laser_elec_5,Trigger,,15,-1"
		"OnFail" "fade_trigger,Fade,,15,-1"
		"OnPass" "grate_1,Break,,5,-1"
		"OnFail" "grate_1,Break,,15,-1"
		"OnPass" "cmd,Command,say ** OPENING THE SHORTCUT... **,5,-1"
		"OnFail" "cmd,Command,say ** OPENING THE SHORTCUT... **,15,-1"
	}
}
filter:
{
	"origin" "-1648 310 -140.653"
	"targetname" "glow_lobby2"
	"classname" "env_lightglow"
	"hammerid" "1044711"
}
filter:
{
	"model" "*281"
	"targetname" "button_3"
	"classname" "func_button"
}
add:
{
	"model" "*124"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-1680 512 -218"
	"classname" "trigger_once"
	"OnTrigger" "tp_3,Enable,,45,-1"
	"OnTrigger" "relay_kill3,Trigger,,45.01,-1"
	"OnTrigger" "relay_fog_no_reverse,Trigger,,0,-1"
	"OnTrigger" "fade_trigger,Fade,,0,-1"
	"OnTrigger" "hall_smoke_part_1,Start,,0,-1"
	"OnTrigger" "move_3,Open,,0,-1"
	"OnTrigger" "temp_c4,Kill,,0,-1"
	"OnTrigger" "laser_2,TurnOn,,0,-1"
	"OnTrigger" "laser_1,TurnOn,,0,-1"
	"OnTrigger" "tp_down_3,Enable,,0,-1"
	"OnTrigger" "part_6,Start,,0,-1"
	"OnTrigger" "timer_tesla_lab,Enable,,0,-1"
	"OnTrigger" "door_sound_boss,PlaySound,,0,-1"
	"OnTrigger" "5,Volume,0,5,-1"
	"OnTrigger" "6,PlaySound,,5,-1"
	"OnTrigger" "part_ambient_machine,Start,,0,-1"
	"OnTrigger" "laser_ele1a5,TurnOn,,0,-1"
	"OnTrigger" "laser_ele1a6,TurnOn,,0,-1"
	"OnTrigger" "informations_room_text,AddOutput,Message - WORLD KIDLAND LABORATORY & RESEARCH -,0,-1"
	"OnTrigger" "informations_room_text,Display,,0.01,-1"
}
filter:
{
	"model" "*364"
	"targetname" "tp_anti_glitch_game1"
	"origin" "898 1150 -158"
	"classname" "trigger_teleport"
	"hammerid" "1485356"
}
modify:
{
	match:
	{
		"targetname" "button_4"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "grate_1,Break,,0,-1"
		"OnUseLocked" "grate_1,Break,,0,-1"
		"OnUseLocked" "move_4,Open,,35,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! door open: 35s,0,-1"
		"OnUseLocked" "!self,Kill,,0,-1"
		"OnUseLocked" "glow_lobby3,Kill,,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,35,-1"
		"OnUseLocked" "part_1water,Kill,,25.01,-1"
		"OnUseLocked" "elec_sound,StopSound,,25.01,-1"
		"OnUseLocked" "part_1water,Stop,,25,-1"
		"OnUseLocked" "hurt_water,Kill,,25,-1"
		"OnUseLocked" "elec_sound,Volume,0,25,-1"
		"OnUseLocked" "spark_5,Kill,,25,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! door open: 10s,25,-1"
		"OnUseLocked" "spark_working_4,StopSpark,,25,-1"
		"OnUseLocked" "spark_working_4,Kill,,25.01,-1"
		"OnUseLocked" "hall_smoke_part_1,Start,,35,-1"
		"OnUseLocked" "part_6,Kill,,35,-1"
		"OnUseLocked" "dyn_decor_1,Enable,,35,-1"
		"OnUseLocked" "grate_1,Break,,0,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,35,-1"
		"OnUseLocked" "relay_fog_end,Trigger,,30,-1"
		"OnUseLocked" "hall_smoke_part_outside,Start,,35,-1"
		"OnUseLocked" "to_outside,Enable,,35,-1"
		"OnUseLocked" "chinese_boss,Enable,,35,-1"
		"OnUseLocked" "fade_trigger,Fade,,35,-1"
	}
	insert:
	{
		"OnPressed" "mason_break4,Enable,,10,-1"
		"OnPressed" "mason_break4,Kill,,20,-1"
		"OnUseLocked" "mason_break4,Enable,,20,-1"
		"OnUseLocked" "mason_break4,Kill,,35,-1"
		"OnUseLocked" "move_4,Open,,20,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! door open: 20s,0,-1"
		"OnUseLocked" "!self,Kill,,0,-1"
		"OnUseLocked" "glow_lobby3,Kill,,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,20,-1"
		"OnUseLocked" "part_1water,Kill,,10.01,-1"
		"OnUseLocked" "elec_sound,StopSound,,10.01,-1"
		"OnUseLocked" "part_1water,Stop,,10,-1"
		"OnUseLocked" "hurt_water,Kill,,10,-1"
		"OnUseLocked" "elec_sound,Volume,0,10,-1"
		"OnUseLocked" "spark_5,Kill,,10,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! door open: 10s,10,-1"
		"OnUseLocked" "spark_working_4,StopSpark,,10,-1"
		"OnUseLocked" "spark_working_4,Kill,,10.01,-1"
		"OnUseLocked" "hall_smoke_part_1,Start,,20,-1"
		"OnUseLocked" "part_6,Kill,,20,-1"
		"OnUseLocked" "dyn_decor_1,Enable,,20,-1"
		"OnUseLocked" "grate_1,Break,,0,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,20,-1"
		"OnUseLocked" "relay_fog_end,Trigger,,20,-1"
		"OnUseLocked" "hall_smoke_part_outside,Start,,20,-1"
		"OnUseLocked" "to_outside,Enable,,20,-1"
		"OnUseLocked" "chinese_boss,Enable,,20,-1"
		"OnUseLocked" "fade_trigger,Fade,,20,-1"
	}
}
add:
{
	"model" "*129"
	"spawnobject" "0"
	"spawnflags" "45056"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"preferredcarryangles" "0 0 0"
	"PerformanceMode" "0"
	"origin" "2882 649 -206.36"
	"notsolid" "0"
	"nodamageforces" "0"
	"material" "2"
	"massScale" "0"
	"health" "12000"
	"gibdir" "0 0 0"
	"forcetoenablemotion" "0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"Damagetype" "0"
	"damagetoenablemotion" "0"
	"damagefilter" "filter_t"
	"classname" "func_physbox"
}
modify:
{
	match:
	{
		"targetname" "button_5"
		"classname" "func_button"
	}
	delete:
	{
		"OnUseLocked" "move_5a,Open,,35,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! door open: 35s,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,35,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! door open: 10s,25,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,35,-1"
		"OnUseLocked" "move_5b,Open,,35,-1"
		"OnUseLocked" "part_ambient_game,Start,,35,-1"
		"OnUseLocked" "fade_trigger,Fade,,35,-1"
	}
	insert:
	{
		"OnUseLocked" "move_5a,Open,,20,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! door open: 20s,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,20,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,20,-1"
		"OnUseLocked" "move_5b,Open,,20,-1"
		"OnUseLocked" "part_ambient_game,Start,,20,-1"
		"OnUseLocked" "fade_trigger,Fade,,2,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test10"
		"classname" "filter_activator_name"
	}
	insert:
	{
		"OnPass" "button_5,AddOutput,Origin 3368 3319 859,0.01,-1"
		"OnPass" "button_5,AddOutput,Origin 3131 710 -200,5.01,-1"
	}
}
;------------------------
;UPGRADING WALL ITEMS
;------------------------
modify:
{
	match:
	{
		"targetname" "Item_macon_text12"
		"classname" "game_text"
	}
	replace:
	{
		"color2" "255 126 0"
		"color" "255 126 0"
		"message" "Item: Mason! \nEffect: Wall HP: 150 \nCooldown: 5 seconds"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_text4"
		"classname" "game_text"
	}
	replace:
	{
		"color2" "255 126 0"
		"color" "255 126 0"
		"message" "Item: Mason! \nEffect: Wall HP: 150 \nCooldown: 5 seconds"
	}
}
modify:
{
	match:
	{
		"targetname" "macon_wall4"
		"classname" "func_physbox"
	}
	replace:
	{
		"health" "150"
		"rendercolor" "255 126 0"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_particle_sfera4"
		"classname" "info_particle_system"
	}
	replace:
	{
		"effect_name" "custom_004"
	}
}
modify:
{
	match:
	{
		"targetname" "macon_wall12"
		"classname" "func_physbox"
	}
	replace:
	{
		"health" "150"
		"rendercolor" "255 126 0"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_particle_sfera12"
		"classname" "info_particle_system"
	}
	replace:
	{
		"effect_name" "custom_004"
	}
}
modify:
{
	match:
	{
		"targetname" "macon_wall13"
		"classname" "func_physbox"
	}
	replace:
	{
		"health" "150"
		"rendercolor" "0 210 255"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_particle_sfera13"
		"classname" "info_particle_system"
	}
	replace:
	{
		"effect_name" "custom_041"
	}
}
modify:
{
	match:
	{
		"targetname" "macon_wall14"
		"classname" "func_physbox"
	}
	replace:
	{
		"health" "50"
	}
}
modify:
{
	match:
	{
		"targetname" "macon_wall15"
		"classname" "func_physbox"
	}
	replace:
	{
		"health" "150"
		"rendercolor" "255 126 0"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_macon_particle_sfera15"
		"classname" "info_particle_system"
	}
	replace:
	{
		"effect_name" "custom_004"
	}
}
modify:
{
	match:
	{
		"targetname" "macon_wall16"
		"classname" "func_physbox"
	}
	replace:
	{
		"health" "50"
	}
}
;------------------------
;BREAKING THE MASONS WALLS WHEN THE ELEVATOR IS GOING UP TO PREVENT TROLLS
;------------------------
modify:
{
	match:
	{
		"targetname" "tm_set_speed_elevator_notfixed"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "mason_wall_timer_break,Enable,,9,-1"
		"OnTrigger" "mason_wall_timer_break,Disable,,11,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "tm_set_speed_elevator_normal"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "mason_wall_timer_break,Enable,,9,-1"
		"OnTrigger" "mason_wall_timer_break,Disable,,11,-1"
	}
}
;------------------------
;ATTACKS INFORMATIONS TEXT TRIGGERS
;------------------------
modify:
{
	match:
	{
		"targetname" "elec_ball_attack"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "informations_attack_text,AddOutput,Message - BOSS ABILITY - ENERGY BALLS -,0,-1"
		"OnTrigger" "informations_attack_text,Display,,0.01,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "rage_attack"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "informations_attack_text,AddOutput,Message - BOSS ABILITY - BERSERK -,0,-1"
		"OnTrigger" "informations_attack_text,Display,,0.01,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "relay_zombies"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "informations_attack_text,AddOutput,Message - BOSS ABILITY - ZOMBIES ATTACK -,0,-1"
		"OnTrigger" "informations_attack_text,Display,,0.01,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "relay_water"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "informations_attack_text,AddOutput,Message - BOSS ABILITY - BROKEN PIPES -,0,-1"
		"OnTrigger" "informations_attack_text,Display,,0.01,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "relay_electricity"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "informations_attack_text,AddOutput,Message - BOSS ABILITY - SELF ENERGY -,0,-1"
		"OnTrigger" "informations_attack_text,Display,,0.01,-1"
	}
}
;------------------------
;ATTACKS INFORMATIONS TEXT
;------------------------
add:
{
	"origin" "1648 3216 1140"
	"y" "0.3"
	"x" "0.1"
	"targetname" "informations_builders_text"
	"spawnflags" "1"
	"message" "- MASONS ITEMS UNLOCKED -"
	"holdtime" "3"
	"fxtime" "0.25"
	"fadeout" "3"
	"fadein" "0.1"
	"color2" "84 92 255"
	"color" "84 92 255"
	"channel" "1"
	"classname" "game_text"
	"hammerid" "77056"
}
add:
{
	"origin" "1648 3216 1141"
	"y" "0.3"
	"x" "-1"
	"targetname" "informations_attack_text"
	"spawnflags" "1"
	"message" "attack1"
	"holdtime" "8"
	"fxtime" "0.25"
	"fadeout" "3"
	"fadein" "0.1"
	"color2" "255 70 105"
	"color" "255 70 105"
	"channel" "1"
	"classname" "game_text"
	"hammerid" "77056"
}
;------------------------
;ROOM INFORMATIONS TEXT
;------------------------
add:
{
	"origin" "1648 3216 1142"
	"y" "0.2"
	"x" "-1"
	"targetname" "informations_room_text"
	"spawnflags" "1"
	"holdtime" "2"
	"fxtime" "0.25"
	"fadeout" "6"
	"fadein" "3"
	"color2" "175 230 255"
	"color" "175 230 255"
	"channel" "1"
	"classname" "game_text"
	"hammerid" "77056"
}
;------------------------
;ROOM INFORMATIONS TEXT TRIGGERS
;------------------------
modify:
{
	match:
	{
		"origin" "1648 3216 1136"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "informations_room_text,AddOutput,Message - WORLD KIDLAND - CHINA Wujin District - 2031 -,15,-1"
		"OnTrigger" "informations_room_text,Display,,15.01,-1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable"
		"origin" "-16 -424 678"
	}
	insert:
	{
		"OnBreak" "informations_room_text,AddOutput,Message - WORLD KIDLAND MAIN LOBBY -,0,-1"
		"OnBreak" "informations_room_text,Display,,0.01,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_button2"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "informations_room_text,AddOutput,Message - WORLD KIDLAND MACHINES ROOM ALPHA -,10,-1"
		"OnTrigger" "informations_room_text,Display,,10.01,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "move_5b"
		"classname" "func_movelinear"
	}
	insert:
	{
		"OnFullyOpen" "informations_room_text,AddOutput,Message - WORLD KIDLAND PLAYGROUND -,0,-1"
		"OnFullyOpen" "informations_room_text,Display,,0.01,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "move_4"
		"classname" "func_movelinear"
	}
	insert:
	{
		"OnFullyOpen" "informations_room_text,AddOutput,Message - WORLD KIDLAND OUTDOOR PARK  -,0,-1"
		"OnFullyOpen" "informations_room_text,Display,,0.01,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-7216 1096.01 -162"
		"classname" "func_breakable"
	}
	insert:
	{
		"OnBreak" "informations_room_text,AddOutput,Message - SENIOR ADMINISTRATIVE MANAGEMENT  -,0,-1"
		"OnBreak" "informations_room_text,Display,,0.01,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "door_after_boss"
		"classname" "func_movelinear"
	}
	insert:
	{
		"OnFullyOpen" "informations_room_text,AddOutput,Message - WORLD KIDLAND ADMINISTRATIVE OFFICE  -,5,-1"
		"OnFullyOpen" "informations_room_text,Display,,5.01,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-11301 4940 1724"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "informations_room_text,AddOutput,Message - WORLD KIDLAND UNKNOW PLACE???!!! -,0,-1"
		"OnTrigger" "informations_room_text,Display,,0.01,-1"
	}
}
;------------------------
;KILLING THE LAST TP CT IN THE CASE IT'S NOT TOUCHED
;------------------------
modify:
{
	match:
	{
		"targetname" "to_final_elect"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "tp_boss_elec_ct,Kill,,15,-1"
	}
}
;------------------------
;IMPROVING THE BOSS PART
;------------------------
modify:
{
	match:
	{
		"targetname" "Guard_Boss_Attack_Timer"
		"classname" "logic_timer"
	}
	delete:
	{
		"OnTimer" "boss_attacls_case,PickRandom,,0,-1"
	}
	insert:
	{
		"OnTimer" "boss_attacls_case,PickRandomShuffle,,0,-1"
	}
}
add:
{
	"origin" "-8321.69 1374.5 -1184"
	"targetname" "mason_items_boss"
	"spawnflags" "0"
	"classname" "logic_relay"
	"OnTrigger" "informations_builders_text,Display,,3,-1"
	"OnTrigger" "mason_items_unlock,trigger,,3,-1"
	"OnTrigger" "anti_troll_elevator,disable,,2.99,-1"
	"OnTrigger" "anti_troll_elevator,Enable,,11,-1"
	"OnTrigger" "macon_wall*,Break,,11,-1"
	"OnTrigger" "tp_anti_glitch_water_attack,Enable,,11,-1"
	"OnTrigger" "tp_anti_glitch_water_attack,Disable,,11.05,-1"
	"OnTrigger" "cmd,Command,say ** MASON ITEMS UNLOCKED IN 3S! **,0,-1"
	"OnTrigger" "cmd,Command,say ** MASON ITEMS LOCKED! **,11,-1"
	"OnTrigger" "informations_builders_text,AddOutput,Message - MASONS ITEMS LOCKED -,8,-1"
	"OnTrigger" "informations_builders_text,Display,,10.01,-1"
	"OnTrigger" "informations_builders_text,AddOutput,Message - MASONS ITEMS UNLOCKED -,11,-1"
}
add:
{
	"origin" "-8341.56 1367.34 -1184"
	"targetname" "mason_items_boss_timer"
	"StartDisabled" "1"
	"spawnflags" "0"
	"RefireTime" "22"
	"classname" "logic_timer"
	"OnTimer" "mason_items_boss,trigger,,0,-1"
}
;------------------------
;CHANGING GAMEPLAY AFTER SECOND GAME
;------------------------
modify:
{
	match:
	{
		"targetname" "water_4"
		"classname" "func_water_analog"
	}
	replace:
	{
		"movedistance" "30"
	}
}
;------------------------
;CANCELING THE RING ATTACK WHEN BOSS DIES
;------------------------
modify:
{
	match:
	{
		"targetname" "Guard_Boss_Trigger_End_attack"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "tp_zombies_attack_main,Disable,,0,-1"
		"OnTrigger" "elec_ball_attack,CancelPending,,0,-1"
		"OnTrigger" "circle_boss_timer_spawn,Kill,,0,-1"
		"OnTrigger" "circle_boss_hurt*,Kill,,0,-1"
		"OnTrigger" "part_circle_boss*,Kill,,0,-1"
		"OnTrigger" "circle_maker*,Kill,,0,-1"
		"OnTrigger" "mason_items_boss_timer,Kill,,0,-1"
		"OnTrigger" "mason_items_boss,CancelPending,,0,-1"
		"OnTrigger" "mason_wall_timer_break,Enable,,0,-1"
		"OnTrigger" "mason_wall_timer_break,Disable,,0.3,-1"
	}
}
modify:
{
	match:
	{
		"origin" "2560 35.03 -406"
		"classname" "func_physbox"
	}
	replace:
	{
		"spawnflags" "45057"
	}
}
;------------------------
;REMAKING TP PART ON KID GAMES
;------------------------
add:
{
	"origin" "-800 1120 -268"
	"targetname" "tp_down_kid_game1_dest3"
	"angles" "0 180 0"
	"classname" "info_teleport_destination"
}
add:
{
	"model" "*212"
	"targetname" "tp_down_kid_game4"
	"target" "tp_down_kid_game1_dest3"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-944 1440 -548"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*56"
	"targetname" "tp_down_kid_game4"
	"target" "tp_down_kid_game1_dest3"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-1504 824 -640"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*56"
	"targetname" "tp_down_kid_game4"
	"target" "tp_down_kid_game1_dest3"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-1504 824 -636"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*313"
	"targetname" "tp_down_kid_game3"
	"target" "tp_down_kid_game1_dest1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "556 696 -883"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*313"
	"targetname" "tp_down_kid_game3"
	"target" "tp_down_kid_game1_dest1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "468 696 -883"
	"classname" "trigger_teleport"
}
add:
{
	"origin" "771 1228 -124"
	"targetname" "tp_down_kid_game1_dest2"
	"angles" "0 180 0"
	"classname" "info_teleport_destination"
}
add:
{
	"model" "*258"
	"targetname" "tp_down_kid_game3"
	"target" "tp_down_kid_game1_dest1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-320 728 -798.23"
	"classname" "trigger_teleport"
}
add:
{
	"origin" "1578 1120 -242"
	"targetname" "tp_down_kid_game1_dest1"
	"angles" "0 180 0"
	"classname" "info_teleport_destination"
}
add:
{
	"model" "*258"
	"targetname" "tp_down_kid_game2"
	"target" "tp_down_kid_game1_dest1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1344 728 -805.23"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"targetname" "button_5"
		"classname" "func_button"
	}
	insert:
	{
		"OnPressed" "tp_down_kid_game*,Enable,,10,-1"
		"OnUseLocked" "tp_down_kid_game*,Enable,,35,-1"

	}
}
add:
{
	"origin" "3050 942 -242"
	"targetname" "tp_down_kid_game1_dest"
	"angles" "0 90 0"
	"classname" "info_teleport_destination"
}
add:
{
	"model" "*376"
	"targetname" "tp_down_kid_game1"
	"target" "tp_down_kid_game1_dest"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "2948 1313 -798"
	"classname" "trigger_teleport"
}
;------------------------
;ADDING A NAME TO THE TRIGGER JUST BEFORE THE BOSS AND MAKE THE GRATE ONLY BREAK ON TRIGGER
;------------------------
modify:
{
	match:
	{
		"origin" "-7216 1096.01 -162"
		"classname" "func_breakable"
		"hammerid" "527213"
	}
	replace:
	{
		"spawnflags" "1"
	}
	insert:
	{
		"targetname" "grate_boss_break"
	}
}
modify:
{
	match:
	{
		"origin" "-6949 1100 -240"
		"classname" "trigger_once"
		"targetname" "to_outside"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,say ** THE WORKER IS BUILDING A TELEPORT! **,0,-1"
		"OnTrigger" "cmd,Command,say ** KILL THIS GRATE AND FALLBACK FAST!! 10s **,2,-1"
		"OnTrigger" "tp_outside_stairs_final,Enable,,12,-1"
		"OnTrigger" "part_stairs_outside_final,Start,,12,-1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say ** MY ARENA WILL BE OPEN FOR YOU IN 30s **,2,-1"
		"OnTrigger" "grate_boss_break,Break,,32,-1"
	}
}
;------------------------
;REMOVING THE TRIGGER THAT MAKE THE ELEVATOR GOING TOP BEFORE BOSS PART
;------------------------
filter:
{
	"model" "*342"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-6336 950 -583"
	"classname" "trigger_once"
	"hammerid" "2037663"
}
;------------------------
;FIXING PLUMBER TRIGGER ITEM LVL 3
;------------------------
modify:
{
	match:
	{
		"targetname" "Item_plombier_trigger3"
		"classname" "trigger_push"
	}
	delete:
	{
		"OnStartTouch" "speed,ModifySpeed,1,5,-1"
		"OnStartTouch" "speed,ModifySpeed,1,5,-1"
		"OnStartTouch" "speed,ModifySpeed,0,0,-1"
		"OnStartTouch" "speed,ModifySpeed,0,0,-1"
		"OnStartTouch" "speed,ModifySpeed,0.5,3,-1"
		"OnStartTouch" "speed,ModifySpeed,0.5,3,-1"
		"OnStartTouch" "speed,ModifySpeed,0.6,3.5,-1"
		"OnStartTouch" "speed,ModifySpeed,0.6,3.5,-1"
		"OnStartTouch" "speed,ModifySpeed,0.7,4,-1"
		"OnStartTouch" "speed,ModifySpeed,0.7,4,-1"
		"OnStartTouch" "speed,ModifySpeed,0.8,4.5,-1"
		"OnStartTouch" "speed,ModifySpeed,0.8,4.5,-1"
		"OnEndTouch" "speed,ModifySpeed,0.9,4.75,-1"
		"OnEndTouch" "speed,ModifySpeed,0.9,4.75,-1"
	}
	insert:
	{
		"OnStartTouch" "speed,ModifySpeed,0,0,-1"
		"OnStartTouch" "speed,ModifySpeed,0.5,3,-1"
		"OnStartTouch" "speed,ModifySpeed,0.6,3.5,-1"
		"OnStartTouch" "speed,ModifySpeed,0.7,4,-1"
		"OnStartTouch" "speed,ModifySpeed,0.8,4.5,-1"
		"OnStartTouch" "speed,ModifySpeed,0.9,4.75,-1"
		"OnStartTouch" "speed,ModifySpeed,1,6,-1"
	}
}
;------------------------
;CHANGING BOSS START
;------------------------
modify:
{
	match:
	{
		"targetname" "to_add_hp_boss"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "Guard_Boss_Break,SetDamageFilter,filter_ct,6,1"
		"OnTrigger" "cmd,Command,say ** Boss Fight in 10s **,0,1"
		"OnStartTouch" "Boss_Health_backup,Add,70,3,-1"
		"OnStartTouch" "Boss_Health,Add,70,3,-1"
	}
	insert:
	{
		"OnTrigger" "Guard_Boss_Break,SetDamageFilter,filter_ct,10,1"
		"OnTrigger" "cmd,Command,say ** Boss Fight in 5s **,5,1"
		"OnTrigger" "cmd,Command,say ** I'M IN A GOOD MOOD TODAY! WILL GIVE YOU 200HP! **,3,1"
		"OnStartTouch" "!activator,AddOutput,health 200,3,-1"
		"OnTrigger" "mason_items_boss_timer,Enable,,10,1"
		"OnStartTouch" "Boss_Health_backup,Add,45,3,-1"
		"OnStartTouch" "Boss_Health,Add,45,3,-1"
	}
}
;------------------------
;MAKING THE LAST FIXES EASIER AFTER BOSS FIGHT
;------------------------
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test12"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnFail" "travaux_sound,Volume,0,25,-1"
		"OnFail" "cmd,Command,say ** MOSTLY THE ELECTRICIAN IS AFK. 25s **,0,-1"
		"OnFail" "travaux_sound,Volume,10,0,-1"
		"OnPass" "travaux_sound,Volume,0,5,-1"
		"OnPass" "travaux_sound,PlaySound,,0.01,-1"
		"OnPass" "travaux_sound,Volume,10,0,-1"
		"OnPass" "cmd,Command,say ** The Electrician started to work! it's fast! 5s **,0,-1"
		"OnFail" "spark_4,Kill,,25,1"
		"OnPass" "spark_4,Kill,,5,1"
		"OnPass" "speed,ModifySpeed,1,5,-1"
		"OnPass" "speed,ModifySpeed,0,0,-1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "water_hurt_2,Kill,,25,-1"
		"OnPass" "water_hurt_2,Kill,,5,-1"
		"OnFail" "part_water_2,Stop,,25,-1"
		"OnPass" "part_water_2,Stop,,5,-1"
		"OnPass" "part_water_2,Kill,,5.01,-1"
		"OnFail" "part_water_2,Kill,,25.01,-1"
		"OnPass" "Item_electricien_counter_triggers,Add,1,0,-1"
		"OnPass" "Item_electricien_counter_display,GetValue,,0.01,-1"
		"OnPass" "Item_electricien_counter_display,Add,1,0,-1"
		"OnFail" "tm_set_speed_elevator_notfixed,Kill,,25,-1"
		"OnPass" "tm_set_speed_elevator_notfixed,Kill,,5,-1"
		"OnPass" "tm_set_speed_elevator_normal,Enable,,5,-1"
		"OnFail" "tm_set_speed_elevator_normal,Enable,,25,-1"
		"OnFail" "tm_set_speed_elevator_count,Kill,,25,-1"
		"OnPass" "tm_set_speed_elevator_count,Kill,,5,-1"
		"OnFail" "button_6,Unlock,,25,-1"
		"OnPass" "button_6,Unlock,,5,-1"
	}
	insert:
	{
		"OnPass" "button_6,Unlock,,2,-1"
		"OnPass" "tm_set_speed_elevator_count,Kill,,2,-1"
		"OnPass" "part_water_2,Stop,,2,-1"
		"OnPass" "part_water_2,Kill,,2.01,-1"
		"OnPass" "tm_set_speed_elevator_notfixed,Kill,,2,-1"
		"OnPass" "tm_set_speed_elevator_normal,Enable,,2,-1"
		"OnPass" "Item_electricien_counter_triggers,Add,1,0,-1"
		"OnPass" "Item_electricien_counter_display,GetValue,,0.01,-1"
		"OnPass" "Item_electricien_counter_display,Add,1,0,-1"
		"OnPass" "water_hurt_2,Kill,,2,-1"
		"OnPass" "spark_4,Kill,,2,1"
		"OnPass" "speed,ModifySpeed,1,2,-1"
		"OnPass" "speed,ModifySpeed,0,0,-1"
		"OnPass" "travaux_sound,Volume,0,2,-1"
		"OnPass" "travaux_sound,PlaySound,,0.01,-1"
		"OnPass" "travaux_sound,Volume,10,0,-1"
		"OnPass" "cmd,Command,say ** The Electrician started to work! it's fast! 2s **,0,-1"
		"OnFail" "travaux_sound,Volume,0,15,-1"
		"OnFail" "cmd,Command,say ** MOSTLY THE ELECTRICIAN IS AFK. 15s **,0,-1"
		"OnFail" "travaux_sound,Volume,10,0,-1"
		"OnFail" "spark_4,Kill,,15,1"
		"OnFail" "speed,ModifySpeed,1,15,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "water_hurt_2,Kill,,15,-1"
		"OnFail" "part_water_2,Stop,,15,-1"
		"OnFail" "part_water_2,Kill,,15.01,-1"
		"OnFail" "tm_set_speed_elevator_notfixed,Kill,,15,-1"
		"OnFail" "tm_set_speed_elevator_normal,Enable,,15,-1"
		"OnFail" "tm_set_speed_elevator_count,Kill,,15,-1"
		"OnFail" "button_6,Unlock,,15,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "button_6"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "fade_trigger,Fade,,10,-1"
		"OnPressed" "door_sound_boss,PlaySound,,10,-1"
		"OnPressed" "fade_trigger,Fade,,10,-1"
		"OnPressed" "glow_lobby5,Kill,,0,-1"
		"OnPressed" "!self,Kill,,0,-1"
		"OnPressed" "door_elevator,Open,,10,-1"
		"OnPressed" "cmd,Command,say ** The door will open: 10s **,0,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! Elevator door open: 35s,0,-1"
		"OnUseLocked" "!self,Kill,,0,-1"
		"OnUseLocked" "glow_lobby5,Kill,,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,35,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! Elevator door open: 10s,25,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,35,-1"
		"OnUseLocked" "door_elevator,Open,,35,-1"
		"OnUseLocked" "fade_trigger,Fade,,35,-1"
	}
	insert:
	{
		"OnPressed" "fade_trigger,Fade,,5,-1"
		"OnPressed" "door_sound_boss,PlaySound,,5,-1"
		"OnPressed" "fade_trigger,Fade,,5,-1"
		"OnPressed" "glow_lobby5,Kill,,0,-1"
		"OnPressed" "!self,Kill,,0,-1"
		"OnPressed" "door_elevator,Open,,5,-1"
		"OnPressed" "cmd,Command,say ** The door will open: 5s **,0,-1"
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! Elevator door open: 15s,0,-1"
		"OnUseLocked" "!self,Kill,,0,-1"
		"OnUseLocked" "glow_lobby5,Kill,,0,-1"
		"OnUseLocked" "fade_trigger,Fade,,15,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! Elevator door open: 10s,5,-1"
		"OnUseLocked" "door_sound_boss,PlaySound,,15,-1"
		"OnUseLocked" "door_elevator,Open,,15,-1"
		"OnUseLocked" "fade_trigger,Fade,,15,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "travaux_stage1_1_test2"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "travaux_stage1_1_button27,Unlock,,5,-1"
		"OnPass" "water_2,Open,,5,-1"
		"OnPass" "part_5,Stop,,5,-1"
		"OnPass" "travaux_sound,Volume,0,5,-1"
		"OnPass" "travaux_stage1_3_toggle,Toggle,,5,-1"
		"OnPass" "travaux_sound,Volume,10,0,-1"
		"OnPass" "cmd,Command,say ** The Plomber started to work! it's fast! 5s **,0,-1"
		"OnPass" "!activator,ModifySpeed,1,5,-1"
		"OnPass" "speed,ModifySpeed,1,5,-1"
		"OnPass" "speed,ModifySpeed,0,0,-1"
		"OnFail" "travaux_stage1_3_toggle,Toggle,,25,-1"
		"OnFail" "travaux_sound,Volume,0,25,-1"
		"OnFail" "cmd,Command,say ** THE PLUMBER CRASHED OR SOMETHING ? 25s **,0,-1"
		"OnFail" "travaux_sound,Volume,10,0,-1"
		"OnFail" "speed,ModifySpeed,1,25,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "part_5,Stop,,25,-1"
		"OnFail" "water_2,Open,,25,-1"
		"OnFail" "travaux_stage1_1_button27,Unlock,,25,-1"
	}
	insert:
	{
		"OnPass" "travaux_stage1_1_button27,Unlock,,2,-1"
		"OnPass" "water_2,Open,,2,-1"
		"OnPass" "part_5,Stop,,2,-1"
		"OnPass" "travaux_sound,Volume,0,2,-1"
		"OnPass" "travaux_stage1_3_toggle,Toggle,,2,-1"
		"OnPass" "travaux_sound,Volume,10,0,-1"
		"OnPass" "cmd,Command,say ** The Plomber started to work! it's fast! 2s **,0,-1"
		"OnPass" "!activator,ModifySpeed,1,2,-1"
		"OnPass" "speed,ModifySpeed,1,2,-1"
		"OnPass" "speed,ModifySpeed,0,0,-1"
		"OnFail" "travaux_stage1_3_toggle,Toggle,,10,-1"
		"OnFail" "travaux_sound,Volume,0,10,-1"
		"OnFail" "cmd,Command,say ** THE PLUMBER CRASHED OR SOMETHING ? 10s **,0,-1"
		"OnFail" "travaux_sound,Volume,10,0,-1"
		"OnFail" "speed,ModifySpeed,1,10,-1"
		"OnFail" "speed,ModifySpeed,0,0,-1"
		"OnFail" "part_5,Stop,,10,-1"
		"OnFail" "water_2,Open,,10,-1"
		"OnFail" "travaux_stage1_1_button27,Unlock,,10,-1"
	}
}
;------------------------
;CHANGING THE DISTANCE THAT LAST WATER MOVE
;------------------------
modify:
{
	match:
	{
		"targetname" "water_2"
		"classname" "func_water_analog"
	}
	replace:
	{
		"movedistance" "534"
	}
}
;------------------------
;CHANGING THE DAMAGE OF THE BALLS AT THE END
;------------------------
modify:
{
	match:
	{
		"targetname" "timer_elec_final"
		"classname" "logic_timer"
	}
	replace:
	{
		"RefireTime" "0.5"
	}
}
modify:
{
	match:
	{
		"targetname" "elec_hurt_ball"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "45"
	}
}
;------------------------
;ADDING A PAIN SYSTEM TO AVOID PLAYERS TO TROLL ON CLOSE AREA LIKE DOORS. KID GAMES
;------------------------
add:
{
	"model" "*344"
	"targetname" "mason_break4"
	"StartDisabled" "1"
	"spawnflags" "8"
	"origin" "-4564 -800 -1151"
	"classname" "trigger_once"
	"OnStartTouch" "!activator,Break,,0,-1"
}
;------------------------
;ADDING A PAIN SYSTEM TO AVOID PLAYERS TO TROLL ON CLOSE AREA LIKE DOORS. KID GAMES
;------------------------
add:
{
	"model" "*344"
	"targetname" "mason_break3"
	"StartDisabled" "1"
	"spawnflags" "8"
	"origin" "-1768 512 -203"
	"classname" "trigger_once"
	"OnStartTouch" "!activator,Break,,0,-1"
}
modify:
{
	match:
	{
		"targetname" "button_3"
		"classname" "func_button"
	}
	insert:
	{
		"OnPressed" "mason_break3,Enable,,10,-1"
		"OnPressed" "mason_break3,Kill,,20,-1"
		"OnUseLocked" "mason_break3,Enable,,35,-1"
		"OnUseLocked" "mason_break3,Kill,,45,-1"
	}
}
;------------------------
;ADDING A PAIN SYSTEM TO AVOID PLAYERS TO TROLL ON CLOSE AREA LIKE DOORS. KID GAMES
;------------------------
add:
{
	"model" "*344"
	"targetname" "mason_break2"
	"StartDisabled" "1"
	"spawnflags" "8"
	"origin" "3040 794 -211.59"
	"classname" "trigger_once"
	"OnStartTouch" "!activator,Break,,0,-1"
}
modify:
{
	match:
	{
		"targetname" "button_5"
		"classname" "func_button"
	}
	insert:
	{
		"OnPressed" "mason_break2,Enable,,10,-1"
		"OnPressed" "mason_break2,Kill,,20,-1"
		"OnUseLocked" "mason_break2,Enable,,35,-1"
		"OnUseLocked" "mason_break2,Kill,,45,-1"
	}
}
;------------------------
;ADDING A PAIN SYSTEM TO AVOID PLAYERS TO TROLL ON CLOSE AREA LIKE DOORS. MOVE2
;------------------------
add:
{
	"model" "*344"
	"targetname" "mason_break1a"
	"StartDisabled" "1"
	"spawnflags" "8"
	"origin" "2560 -896 -203"
	"classname" "trigger_once"
	"OnStartTouch" "macon_wall*,Break,,0,-1"
}
add:
{
	"model" "*344"
	"targetname" "mason_break1"
	"StartDisabled" "1"
	"spawnflags" "8"
	"origin" "2560 -1080 -203"
	"classname" "trigger_once"
	"OnStartTouch" "macon_wall*,Break,,0,-1"
}
modify:
{
	match:
	{
		"targetname" "to_game2_end_win"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "mason_break1a,Enable,,13,-1"
		"OnTrigger" "mason_break1a,Kill,,30,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "to_game2_end_lose"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "mason_break1a,Enable,,13,-1"
		"OnTrigger" "mason_break1a,Kill,,30,-1"
	}
}
;------------------------
;FILTERING NO SENS TELEPORT ON THE MAPS
;------------------------
filter:
{
	"model" "*213"
	"targetname" "tp_outside_stairs_final"
	"origin" "-6334 962 -607.5"
	"classname" "trigger_teleport"
	"hammerid" "2038156"
}
filter:
{
	"origin" "-6334 962 -595.46"
	"targetname" "part_stairs_outside_final"
	"classname" "info_particle_system"
	"hammerid" "2038159"
}
filter:
{
	"model" "*341"
	"targetname" "tp_outside_stairs"
	"origin" "-5277 -798 -1167.5"
	"classname" "trigger_teleport"
	"hammerid" "2037839"
}
filter:
{
	"origin" "-5277 -798 -1155.46"
	"targetname" "part_stairs_outside"
	"classname" "info_particle_system"
	"hammerid" "2037842"
}
;------------------------
;REMOVING NO SENS TRIGGER THAT BREAK THE PHYSBOX ON THE BOSS ARENA
;------------------------
filter:
{
	"model" "*81"
	"targetname" "tp_5_phys"
	"origin" "-8562 784 -504"
	"classname" "trigger_once"
	"hammerid" "1374496"
}
;------------------------
;ADDING A SYSTEME THAT KILL THE MASON ITEMS WALL BEFORE THE BOSS FIGHT
;------------------------
add:
{
	"origin" "-8296 1400 -1184"
	"targetname" "mason_wall_timer_break"
	"StartDisabled" "1"
	"spawnflags" "0"
	"RefireTime" "0.2"
	"classname" "logic_timer"
	"OnTimer" "macon_wall*,Break,,0,-1"
}
modify:
{
	match:
	{
		"targetname" "to_add_hp_boss_start"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "mason_wall_timer_break,Enable,,15.05,1"
		"OnTrigger" "mason_wall_timer_break,Disable,,15.5,1"
	}
}
;------------------------
;FIX THE WATER AT THE END NOT GOING DOWN WHEN THE ELEVATOR BUTTON IS PRESSED
;------------------------
modify:
{
	match:
	{
		"targetname" "button_6"
		"classname" "Func_Button"
	}
	delete:
	{
		"OnUseLocked" "cmd,Command,say Electricity hasn't been fixed! Elevator door open: 35s,0,-1"
		"OnUseLocked" "cmd,Command,say Electricity is fixed! Elevator door open: 10s,25,-1"
	}
	insert:
	{
		"OnUseLocked" "cmd,Command,say Electricity or Pipes hasn't been fixed! Elevator door open: 35s,0,-1"
		"OnUseLocked" "cmd,Command,say Electricity and Pipes are fixed! Elevator door open: 10s,25,-1"
		"OnUseLocked" "water_hurt_2,Kill,,25,-1"
		"OnUseLocked" "water_2,Open,,25,-1"
		"OnUseLocked" "part_5,Kill,,25,-1"
		"OnUseLocked" "travaux_stage1_3_toggle,Toggle,,25,-1"
		"OnUseLocked" "travaux_stage1_1_button27,Kill,,25,-1"
		"OnUseLocked" "travaux_stage1_28,Kill,,25,-1"
		"OnUseLocked" "travaux_stage1_1_button3,Kill,,25,-1"
		"OnUseLocked" "travaux_stage1_4,Kill,,25,-1"
		"OnUseLocked" "travaux_stage1_3_toggle,Toggle,,25,-1"
		"OnUseLocked" "part_water_2,Kill,,25,-1"
		"OnPressed" "travaux_stage1_1_button27,Kill,,10,-1"
		"OnPressed" "travaux_stage1_28,Kill,,10,-1"
		"OnPressed" "travaux_stage1_1_button3,Kill,,10,-1"
		"OnPressed" "travaux_stage1_4,Kill,,10,-1"
	}
}
;------------------------
;NERFING DAMAGE ON TRIGGER TELEPORT DOWN
;------------------------
modify:
{
	match:
	{
		"targetname" "tp_down_2a"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "5"
	}
}
modify:
{
	match:
	{
		"targetname" "tp_down_2"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "5"
	}
}
;------------------------
;CHANGING THE TIME WHEN THE TRIGGER THAT BREAK THE MASON ITEMS BEING ENABLE TO AVOID TE BOSS BEEING STUCK
;------------------------
modify:
{
	match:
	{
		"targetname" "to_add_hp_boss_start"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "tp_5_phys,Enable,,15,1"
		"OnTrigger" "tp_5_phys,Kill,,15.05,1"
	}
	insert:
	{
		"OnTrigger" "tp_5_phys,Enable,,24.05,1"
		"OnTrigger" "tp_5_phys,Kill,,24.55,1"
	}
}
modify:
{
	match:
	{
		"targetname" "item_bomb_explosion*"
		"classname" "env_explosion"
	}
	replace:
	{
		"iMagnitude" "60"
	}
}
;------------------------
;MUSIC VOLUME 0 AFTER THE ELEVATOR
;------------------------
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "-11301 4940 1724"
	}
	insert:
	{
		"OnTrigger" "8a,Volume,0,0,1"
		"OnTrigger" "tp_6,Enable,,20,-1"
	}
	delete:
	{
		"OnTrigger" "tp_6,Enable,,8,-1"
	}
}
;------------------------
;TRIGGER TP NOT ENABLE ON THE ELEVATOR WHEN THE ELECTRICITY IS FIXED
;------------------------
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "tm_set_speed_elevator_normal"
	}
	insert:
	{
		"OnTrigger" "tp_down_4,Enable,,10,1"
		"OnTrigger" "timer_destination,Enable,,10,1"
		"OnTrigger" "fade_trigger,Fade,,10,1"
		"OnTrigger" "elevator_move_zm,Open,,15,1"
		"OnTrigger" "8a,PlaySound,,6,1"
		"OnTrigger" "8,Volume,0,3,1"
	}
}
;------------------------
;DYNAMIC ENTWATCH CONFIG
;------------------------
modify:
{
	match:
	{
		"classname" "logic_case"
		"targetname" "Item_plombier_case_triggers"
	}
	insert:
	{
		"OnCase01" "cmd,Command,sm_ewsetshortname 923951 PlumberLv1,0,-1"
		"OnCase02" "cmd,Command,sm_ewsetshortname 923951 PlumberLv2,0,-1"
		"OnCase03" "cmd,Command,sm_ewsetshortname 923951 PlumberLv3,0,-1"
		"OnCase04" "cmd,Command,sm_ewsetshortname 923951 PlumberLv4,0,-1"
		"OnCase05" "cmd,Command,sm_ewsetshortname 923951 PlumberLv4,0,-1"
		"OnCase06" "cmd,Command,sm_ewsetshortname 923951 PlumberLv4,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "logic_case"
		"targetname" "Item_electricien_case_triggers"
	}
	insert:
	{
		"OnCase01" "cmd,Command,sm_ewsetshortname 924365 ElecLv1,0,-1"
		"OnCase02" "cmd,Command,sm_ewsetshortname 924365 ElecLv2,0,-1"
		"OnCase03" "cmd,Command,sm_ewsetshortname 924365 ElecLv3,0,-1"
		"OnCase04" "cmd,Command,sm_ewsetshortname 924365 ElecLv4,0,-1"
		"OnCase05" "cmd,Command,sm_ewsetshortname 924365 ElecLv4,0,-1"
		"OnCase06" "cmd,Command,sm_ewsetshortname 924365 ElecLv4,0,-1"
	}
}
;------------------------
;TURNING OFF THE MUSIC BEFORE THE LAST ARENA AND FIXING PUSHSCALE
;------------------------
modify:
{
	match:
	{
		"origin" "6912 -2880 3680"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "cmd1,Command,phys_pushscale 2,0,-1"
	}
	insert:
	{
		"OnTrigger" "builder_elec_final_sound,Volume,0,0,-1"
		"OnTrigger" "builder_elec_final_sound,Stopsound,,0.01,-1"
		"OnTrigger" "cmd1,Command,phys_pushscale 4,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "logic_auto"
		"origin" "3936 4182 1112"
	}
	insert:
	{
		"OnMapSpawn" "cmd1,Command,phys_pushscale 1,0,-1"
		"OnMapSpawn" "player,AddOutput,modelindex 509,0,-1"
	}
	delete:
	{
		"OnMapSpawn" "player,AddOutput,modelindex 505,0,-1"
	}
}
;------------------------
;CHANGING THE MASS SCALE OF THE LAST BALL
;------------------------
modify:
{
	match:
	{
		"targetname" "ball_boss_final"
		"classname" "func_physbox"
	}
	replace:
	{
		"massScale" "0.4"
	}
}
;----------------------
;REMOVING USELESS GAME PLAYER EQUIP
;------------------------
fiLter:
{
	"origin" "3916 4200 1112"
	"classname" "game_player_equip"
	"hammerid" "328262"
}
filter:
{
	"origin" "-11036.5 5551.53 1656"
	"classname" "game_player_equip"
	"hammerid" "764191"
}
;------------------------
;ADDING A TP INSTEAD OF THE HURT FOR THE FIRST GAME
;------------------------
filter:
{
	"model" "*101"
	"targetname" "tp_game_1_down"
	"origin" "1376 -5440 704"
	"classname" "trigger_hurt"
	"hammerid" "1714851"
}
add:
{
	"model" "*101"
	"targetname" "tp_game_1_down"
	"target" "tp_dest_game1ct"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1376 -5440 704"
	"classname" "trigger_teleport"
	"filtername" "filter_ct"
}
add:
{
	"model" "*101"
	"targetname" "tp_game_1_down"
	"target" "tp_dest_game1t"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1376 -5440 704"
	"filtername" "filter_t"
	"classname" "trigger_teleport"
}
;------------------------
;DELAYING THE GLOBAL TP FIRST GAME
;------------------------
modify:
{
	match:
	{
		"targetname" "move_4"
		"classname" "func_movelinear"
	}
	delete:
	{
		"OnFullyOpen" "tp_4,Enable,,15,-1"
		"OnFullyOpen" "relay_kill4,Trigger,,15,-1"
	}
	insert:
	{
		"OnFullyOpen" "tp_4,Enable,,45,-1"
		"OnFullyOpen" "relay_kill4,Trigger,,45,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "move_3"
		"classname" "func_movelinear"
	}
	delete:
	{
		"OnFullyOpen" "tp_3,Enable,,15,-1"
		"OnFullyOpen" "relay_kill3,Trigger,,15.01,-1"
		"OnFullyOpen" "cmd,Command,say ** Mass tp in 15s **,0,-1"
		"OnFullyOpen" "relay_fog_no_reverse,Trigger,,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "to_game1_t"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "tp_game_1_start_t,Kill,,19.99,-1"
		"OnTrigger" "tp_game_1_back_t,Enable,,20,-1"
	}
	insert:
	{
		"OnTrigger" "tp_game_1_start_t,Kill,,27.99,-1"
		"OnTrigger" "tp_game_1_back_t,Enable,,28,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "to_game1_ct"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "tp_game_1_start_t,Kill,,19.99,-1"
		"OnTrigger" "tp_game_1_back_t,Enable,,20,-1"
	}
	insert:
	{
		"OnTrigger" "tp_game_1_start_t,Kill,,27.99,-1"
		"OnTrigger" "tp_game_1_back_t,Enable,,28,-1"
	}
}
;------------------------
;FIXING THE IMMUNITY FOR THE HUMANS FOR THE SECOND GAME
;------------------------
modify:
{
	match:
	{
		"targetname" "tp_game_2_back_ct"
		"classname" "trigger_teleport"
	}
	insert:
	{
		"OnStartTouch" "!activator,SetDamageFilter,,0,-1"
	}
}
filter:
{
	"model" "*63"
	"origin" "-3064 -5952 1507.64"
	"classname" "trigger_multiple"
}
add:
{
	"model" "*63"
	"wait" "0.1"
	"targetname" "no_damage_ct"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-3064 -5952 1507.64"
	"filtername" "filter_ct"
	"classname" "trigger_multiple"
	"hammerid" "1748412"
	"OnStartTouch" "!activator,SetDamageFilter,Filter_Team_Zombies_Ignore,0,-1"
}
add:
{
	"origin" "6912 -1992 3728"
	"targetname" "no_damage_ct_timer"
	"StartDisabled" "1"
	"spawnflags" "0"
	"RefireTime" "0.3"
	"classname" "logic_timer"
	"OnTimer" "no_damage_ct,Enable,,0,-1"
	"OnTimer" "no_damage_ct,Disable,,0.01,-1"
}
;------------------------
;DELAYING THE GLOBAL TP SECOND GAME
;------------------------
modify:
{
	match:
	{
		"targetname" "to_game2_end_win"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "tp_game_2_back_t,Enable,,23,-1"
		"OnTrigger" "tp_game_2_start_t,Kill,,22.99,-1"
	}
	insert:
	{
		"OnTrigger" "tp_game_2_back_t,Enable,,33,-1"
		"OnTrigger" "tp_game_2_start_t,Kill,,32.99,-1"
		"OnTrigger" "no_damage_ct_timer,Kill,,33,-1"
		"OnTrigger" "informations_room_text,AddOutput,Message - WORLD KIDLAND MACHINES ROOM BETA -,13,-1"
		"OnTrigger" "informations_room_text,Display,,13.01,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "to_game2_end_lose"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "tp_game_2_back_t,Enable,,23,-1"
		"OnTrigger" "tp_game_2_start_t,Kill,,22.99,-1"
	}
	insert:
	{
		"OnTrigger" "tp_game_2_back_t,Enable,,33,-1"
		"OnTrigger" "tp_game_2_start_t,Kill,,32.99,-1"
		"OnTrigger" "no_damage_ct_timer,Kill,,33,-1"
		"OnTrigger" "informations_room_text,AddOutput,Message - WORLD KIDLAND MACHINES ROOM -,13,-1"
		"OnTrigger" "informations_room_text,Display,,13.01,-1"
	}
}
;------------------------
;ANTI TROLL MASON ITEMS
;------------------------
modify:
{
	match:
	{
		"targetname" "move_2"
		"classname" "func_movelinear"
	}
	insert:
	{
		"OnFullyOpen" "no_damage_ct_timer,Enable,,0.02,-1"
	}
}
;------------------------
;ANTI TROLL MASON ITEMS GAME KID
;------------------------
add:
{
	"model" "*191"
	"wait" "1"
	"targetname" "anti_troll_game"
	"StartDisabled" "1"
	"spawnflags" "8"
	"origin" "949 1188 -157.21"
	"classname" "trigger_multiple"
	"OnStartTouch" "macon_wall*,Break,,0,-1"
}
modify:
{
	match:
	{
		"targetname" "to_game_bridge_ct"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "button_3,Kill,,0,-1"
	}
}
;------------------------
;NERFING THE CIRCLE ATTACKS TO AVOID A SV CRASH
;------------------------
modify:
{
	match:
	{
		"targetname" "circle_boss_to"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "circle_maker,ForceSpawnAtEntityOrigin,!activator,0,-1"
	}
	insert:
	{
		"OnStartTouch" "circle_maker,ForceSpawnAtEntityOrigin,!activator,0,1"
	}
}
;------------------------
;MAKING THE LAST BALLS BOSS BEEING SLOWER
;------------------------
modify:
{
	match:
	{
		"targetname" "fire_ball_train"
		"classname" "func_tracktrain"
	}
	replace:
	{
		"startspeed" "800"
	}
}
;------------------------
;BLOCKING THE ZOMBIE BEEING ABLE TO GO DOWN ON THE LAST ARENA
;------------------------
add:
{
	"model" "*376"
	"targetname" "break_anti_glitch"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "6"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "6912 -2080 3856"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "10"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
}
;------------------------
;INCREASING THE BALL FORCE ON THE LAST ARENA
;------------------------
filter:
{
	"origin" "7096 -1712 3624"
	"targetname" "ball_final_move_Case"
	"classname" "logic_case"
	"hammerid" "2552543"
}
add:
{
	"origin" "7096 -1712 3624"
	"targetname" "ball_final_move_Case"
	"Case16" "32"
	"Case15" "31"
	"Case14" "30"
	"Case13" "29"
	"Case12" "28"
	"Case11" "27"
	"Case10" "26"
	"Case09" "25"
	"Case08" "24"
	"Case07" "23"
	"Case06" "22"
	"Case05" "21"
	"Case04" "20"
	"Case03" "19"
	"Case02" "18"
	"Case01" "17"
	"classname" "logic_case"
	"OnCase01" "cmd1,Command,phys_pushscale 1,0,-1"
	"OnCase02" "cmd1,Command,phys_pushscale 0.95,0,-1"
	"OnCase03" "cmd1,Command,phys_pushscale 0.9,0,-1"
	"OnCase04" "cmd1,Command,phys_pushscale 0.85,0,-1"
	"OnCase05" "cmd1,Command,phys_pushscale 0.8,0,-1"
	"OnCase06" "cmd1,Command,phys_pushscale 0.75,0,-1"
	"OnCase07" "cmd1,Command,phys_pushscale 0.7,0,-1"
	"OnCase08" "cmd1,Command,phys_pushscale 0.65,0,-1"
	"OnCase09" "cmd1,Command,phys_pushscale 0.6,0,-1"
	"OnCase10" "cmd1,Command,phys_pushscale 0.55,0,-1"
	"OnCase11" "cmd1,Command,phys_pushscale 0.5,0,-1"
	"OnCase12" "cmd1,Command,phys_pushscale 0.45,0,-1"
	"OnCase13" "cmd1,Command,phys_pushscale 0.40,0,-1"
	"OnCase14" "cmd1,Command,phys_pushscale 0.35,0,-1"
	"OnCase15" "cmd1,Command,phys_pushscale 0.30,0,-1"
	"OnCase16" "cmd1,Command,phys_pushscale 0.25,0,-1"
	"OnCase01" "Guard_Boss_Thrust_Forward1,Scale,1940,0,-1"
	"OnCase02" "Guard_Boss_Thrust_Forward1,Scale,1960,0,-1"
	"OnCase03" "Guard_Boss_Thrust_Forward1,Scale,1980,0,-1"
	"OnCase04" "Guard_Boss_Thrust_Forward1,Scale,2000,0,-1"
	"OnCase05" "Guard_Boss_Thrust_Forward1,Scale,2020,0,-1"
	"OnCase06" "Guard_Boss_Thrust_Forward1,Scale,2040,0,-1"
	"OnCase07" "Guard_Boss_Thrust_Forward1,Scale,2060,0,-1"
	"OnCase08" "Guard_Boss_Thrust_Forward1,Scale,2080,0,-1"
	"OnCase09" "Guard_Boss_Thrust_Forward1,Scale,2100,0,-1"
	"OnCase10" "Guard_Boss_Thrust_Forward1,Scale,2120,0,-1"
	"OnCase11" "Guard_Boss_Thrust_Forward1,Scale,2140,0,-1"
	"OnCase12" "Guard_Boss_Thrust_Forward1,Scale,2160,0,-1"
	"OnCase13" "Guard_Boss_Thrust_Forward1,Scale,2180,0,-1"
	"OnCase14" "Guard_Boss_Thrust_Forward1,Scale,2200,0,-1"
	"OnCase15" "Guard_Boss_Thrust_Forward1,Scale,2220,0,-1"
	"OnCase16" "Guard_Boss_Thrust_Forward1,Scale,2240,0,-1"
}
filter:
{
	"origin" "7080 -1712 3624"
	"targetname" "ball_final_move_Case"
	"classname" "logic_case"
	"hammerid" "2552541"
}
add:
{
	"origin" "7080 -1712 3624"
	"targetname" "ball_final_move_Case"
	"Case16" "16"
	"Case15" "15"
	"Case14" "14"
	"Case13" "13"
	"Case12" "12"
	"Case11" "11"
	"Case10" "10"
	"Case09" "9"
	"Case08" "8"
	"Case07" "7"
	"Case06" "6"
	"Case05" "5"
	"Case04" "4"
	"Case03" "3"
	"Case02" "2"
	"Case01" "1"
	"classname" "logic_case"
	"OnCase01" "Item_Ammo_Trigger_solo,Enable,,0,-1"
	"OnCase01" "Item_Ammo_Timer,Enable,,0,-1"
	"OnCase01" "cmd1,Command,say ** SOLO ?? INFINITE AMMO ENABLE!! **,0,-1"
	"OnCase01" "cmd1,Command,phys_pushscale 5,0,-1"
	"OnCase02" "cmd1,Command,phys_pushscale 4.5,0,-1"
	"OnCase03" "cmd1,Command,phys_pushscale 4.1,0,-1"
	"OnCase04" "cmd1,Command,phys_pushscale 3.6,0,-1"
	"OnCase05" "cmd1,Command,phys_pushscale 2.8,0,-1"
	"OnCase06" "cmd1,Command,phys_pushscale 2.3,0,-1"
	"OnCase07" "cmd1,Command,phys_pushscale 2,0,-1"
	"OnCase08" "cmd1,Command,phys_pushscale 1.9,0,-1"
	"OnCase09" "cmd1,Command,phys_pushscale 1.8,0,-1"
	"OnCase10" "cmd1,Command,phys_pushscale 1.7,0,-1"
	"OnCase11" "cmd1,Command,phys_pushscale 1.6,0,-1"
	"OnCase12" "cmd1,Command,phys_pushscale 1.5,0,-1"
	"OnCase13" "cmd1,Command,phys_pushscale 1.4,0,-1"
	"OnCase14" "cmd1,Command,phys_pushscale 1.3,0,-1"
	"OnCase15" "cmd1,Command,phys_pushscale 1.2,0,-1"
	"OnCase16" "cmd1,Command,phys_pushscale 1.1,0,-1"
	"OnCase01" "Guard_Boss_Thrust_Forward1,Scale,1250,0,-1"
	"OnCase02" "Guard_Boss_Thrust_Forward1,Scale,1350,0,-1"
	"OnCase03" "Guard_Boss_Thrust_Forward1,Scale,1450,0,-1"
	"OnCase04" "Guard_Boss_Thrust_Forward1,Scale,1500,0,-1"
	"OnCase05" "Guard_Boss_Thrust_Forward1,Scale,1550,0,-1"
	"OnCase06" "Guard_Boss_Thrust_Forward1,Scale,1600,0,-1"
	"OnCase07" "Guard_Boss_Thrust_Forward1,Scale,1650,0,-1"
	"OnCase08" "Guard_Boss_Thrust_Forward1,Scale,1700,0,-1"
	"OnCase09" "Guard_Boss_Thrust_Forward1,Scale,1750,0,-1"
	"OnCase10" "Guard_Boss_Thrust_Forward1,Scale,1800,0,-1"
	"OnCase11" "Guard_Boss_Thrust_Forward1,Scale,1820,0,-1"
	"OnCase12" "Guard_Boss_Thrust_Forward1,Scale,1840,0,-1"
	"OnCase13" "Guard_Boss_Thrust_Forward1,Scale,1860,0,-1"
	"OnCase14" "Guard_Boss_Thrust_Forward1,Scale,1880,0,-1"
	"OnCase15" "Guard_Boss_Thrust_Forward1,Scale,1900,0,-1"
	"OnCase16" "Guard_Boss_Thrust_Forward1,Scale,1920,0,-1"
}
;------------------------
;FIXING THE LAST WALL BEEING ABLE TO BE SHOOT BY ZOMBIES
;------------------------
modify:
{
	match:
	{
		"targetname" "break_final_boss"
		"classname" "func_breakable"
	}
	replace:
	{
		"spawnflags" "1"
	}
}
;------------------------
;ADDING DAMAGE ON THE LAST DOOR TO PREVENT PLAYERS BLOCKING IT
;------------------------
modify:
{
	match:
	{
		"targetname" "final_door_elec"
		"classname" "func_movelinear"
	}
	replace:
	{
		"blockdamage" "99999"
	}
}
;------------------------
;ADDING HP TO ONE ZOMBIES ON THE TESLA ITEMS TO PREVENT ALL ZOMBIES TO BE DEAD
;------------------------
modify:
{
	match:
	{
		"targetname" "hurt_electricien"
		"classname" "trigger_hurt"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,health 99999,0,1"
	}
}
;------------------------
;FIXING THE TP ON THE ELEVATOR PART
;------------------------
filter:
{
	"origin" "-10960 3960 -1464"
	"targetname" "timer_destination"
	"classname" "logic_timer"
	"hammerid" "1406460"
}
;------------------------
;BUFFING THE BALLS BOSS HP
;------------------------
modify:
{
	match:
	{
		"targetname" "to_hp_elec_final"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "break_elec_boss_final,AddHealth,200,0,-1"
	}
	insert:
	{
		"OnStartTouch" "break_elec_boss_final,AddHealth,350,0,-1"
	}
}
;------------------------------------
;FIX TYPICAL LARDY'S MISTAKE -> GULAG
;------------------------------------
modify:
{
	match:
	{
		"targetname" "Boss_Health_backup"
		"classname" "math_counter"
	}
	replace:
	{
		"startvalue" "0"
		"min" "0"
		"max" "999999999"
	}
}

modify:
{
	match:
	{
		"targetname" "Boss_Health_Count"
		"classname" "math_counter"
	}
	replace:
	{
		"min" "0"
	}
}

modify:
{
	match:
	{
		"targetname" "Boss_Health"
		"classname" "math_counter"
	}
	replace:
	{
		"min" "0"
	}
}




;; _

;; fix item strippers

modify:
{
	match:
	{
		"classname" "trigger_once"
		"OnStartTouch" "Map_Stripper,StripWeaponsAndSuit,,0,-1"
	}
	delete:
	{
		"OnStartTouch" "Map_Stripper,StripWeaponsAndSuit,,0,-1"
	}
	insert:
	{
		"OnStartTouch" "Map_Stripper,StripWeaponsAndSuit,,0,1"
	}
}