;---------------------------------------------------------------------
;STRIPPER CFG BY: NOCTALI http://steamcommunity.com/id/h4sard
;				  HYDREIGON http://steamcommunity.com/id/NotHydreigon/
;---------------------------------------------------------------------

;-----------------
;Fix zombie items
;-----------------

;Werewolf
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "werewolf_gametext"
	"spawnflags" "0"
	"message" "Left click = Punch - does damage & Right click = Roar - does nothing"
	"holdtime" "12"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}

modify:
{
	match:
	{
		"origin" "-9301 -3315 -5301"
		"targetname" "ww_knife"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "speedmod,ModifySpeed,1.09,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,health 10000,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,rendermode 10,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "speedmod,ModifySpeed,1.1,0,-1"
		"OnPlayerPickup" "werewolf_gametext,Display,,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,OnUser4 speedmod:ModifySpeed:1.1:0.01:-1,0,-1"
		"OnPlayerPickup" "!self,FireUser1,,0,-1"
		"OnUser1" "!activator,AddOutput,health 10000,0,-1"
		"OnUser1" "!activator,AddOutput,rendermode 10,0,-1"
		"OnUser1" "!activator,AddOutput,renderfx 6,0,-1"
		"OnUser1" "!activator,SetDamageFilter,t_filter,0,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}

modify:
{
	match:
	{
		"origin" "-9360 -3200 -5360"
		"targetname" "ww_template"
		"classname" "point_template"
	}
	delete:
	{
		"Template16" "ww_stop2"
		"Template15" "ww_stop"
	}
	insert:
	{
		"Template16" "werewolf_gametext"
		"Template15" "werewolf_0_speed_loop_relay"
	}
}
modify:
{
	match:
	{
		"origin" "-9296 -3200 -5360"
		"targetname" "ww_shout"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "werewolf_0_speed_loop_relay,Trigger,,0,-1"
		"OnTrigger" "werewolf_0_speed_loop_relay,CancelPending,,3,-1"
		"OnTrigger" "speedmod,ModifySpeed,1.1,3.5,-1"
	}
}
add:
{
	"origin" "-8992 -2080 -5280"
	"targetname" "werewolf_0_speed_loop_relay"
	"StartDisabled" "0"
	"spawnflags" "2"
	"classname" "logic_relay"
	"OnTrigger" "speedmod,ModifySpeed,0,0.1,-1"
	"OnTrigger" "!self,Trigger,,0.3,-1"
}


modify:
{
	match:
	{
		"classname" "func_physbox"
		"targetname" "ww_phbox"
		"origin" "-9309 -3317 -5236.5"
		"model" "*412"
		"hammerid" "1551426"
	}
	replace:
	{
		"classname" "func_physbox_multiplayer"
		"health" "10000"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox"
		"targetname" "ww_phbox"
		"origin" "-9279 -3317 -5265"
		"model" "*413"
		"hammerid" "1551429"
	}
	replace:
	{
		"classname" "func_physbox_multiplayer"
		"health" "10000"
	}
	delete:
	{
		"OnBreak" "ww_counter,Subtract,1,0,-1"
		"OnBreak" "ww_tele,Enable,,0,-1"
		"OnBreak" "ww_ui,Deactivate,,0,-1"
		"OnBreak" "ww_dead,Disable,,1,-1"
	}
	insert:
	{
		"OnBreak" "ww_counter,Subtract,1,0.02,-1"
		"OnBreak" "ww_ui,Kill,,0,-1"
		"OnBreak" "ww_dead,Kill,,1,-1"
		"OnBreak" "ww_tele,Enable,,0.05,-1"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox"
		"targetname" "ww_phbox"
		"origin" "-9305 -3317 -5236.5"
		"model" "*414"
		"hammerid" "1551432"
	}
	replace:
	{
		"classname" "func_physbox_multiplayer"
		"health" "10000"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox"
		"targetname" "ww_phbox"
		"origin" "-9307 -3319 -5236.5"
		"model" "*415"
		"hammerid" "1551435"
	}
	replace:
	{
		"classname" "func_physbox_multiplayer"
		"health" "10000"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox"
		"targetname" "ww_phbox"
		"origin" "-9307 -3315 -5236.5"
		"model" "*416"
		"hammerid" "1551438"
	}
	replace:
	{
		"classname" "func_physbox_multiplayer"
		"health" "10000"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "ww_attk"
	}
	replace:
	{
		"damage" "200"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "ww_push"
	}
	replace:
	{
		"speed" "107"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "ww_push2"
	}
	replace:
	{
		"speed" "109"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "ww_push3"
	}
	replace:
	{
		"speed" "117"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "ww_push4"
	}
	replace:
	{
		"speed" "117"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "ww_shout"
	}
	delete:
	{
		"OnTrigger" "!self,Enable,,25,-1"
	}
	insert:
	{
		"OnTrigger" "!self,Enable,,20,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "ww_stop"
	}
	delete:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.09,2.3,-1"
	}
	insert:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.1,2.3,-1"
		"OnStartTouch" "!activator,FireUser4,,2.31,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "ww_stop2"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser3,,3.01,-1"
	}
}

;Troll
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "troll_gametext"
	"spawnflags" "0"
	"message" "Left click = Punch - does damage & Right click = Roar - Heals itself"
	"holdtime" "12"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}

modify:
{
	match:
	{
		"origin" "-9192 -2680 -5304"
		"targetname" "troll_template"
		"classname" "point_template"
	}
	insert:
	{
		"Template16" "troll_gametext"
	}
}

modify:
{
	match:
	{
		"origin" "-9212 -2822 -5320"
		"targetname" "troll_knife"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "!activator,AddOutput,health 10000,0,-1"
		"OnPlayerPickup" "speedmod,ModifySpeed,1.04,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,rendermode 10,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "speedmod,ModifySpeed,1.06,0,-1"
		"OnPlayerPickup" "troll_gametext,Display,,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,OnUser4 speedmod:ModifySpeed:1.06:0.01:-1,0,-1"
		"OnPlayerPickup" "!self,FireUser1,,0,-1"
		"OnUser1" "!activator,AddOutput,health 15000,0,-1"
		"OnUser1" "!activator,AddOutput,rendermode 10,0,-1"
		"OnUser1" "!activator,AddOutput,renderfx 6,0,-1"
		"OnUser1" "!activator,SetDamageFilter,t_filter,0,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "troll_phbox"
		"origin" "-9206 -2808 -5318"
		"model" "*392"
		"hammerid" "1551335"
	}
	replace:
	{
		"health" "12000"
	}
	delete:
	{
		"OnBreak" "troll_counter,Subtract,1,0,-1"
		"OnBreak" "troll_tele,Enable,,0,-1"
		"OnBreak" "troll_ui,Deactivate,,0,-1"
	}
	insert:
	{
		"OnBreak" "troll_counter,Subtract,1,0.02,-1"
		"OnBreak" "troll_ui,Kill,,0,-1"
		"OnBreak" "troll_tele,Enable,,0.05,-1"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "troll_phbox"
		"origin" "-9185 -2808 -5261.5"
		"model" "*398"
		"hammerid" "1551360"
	}
	replace:
	{
		"health" "12000"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "troll_phbox"
		"origin" "-9227 -2808 -5261.5"
		"model" "*399"
		"hammerid" "1551363"
	}
	replace:
	{
		"health" "12000"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "troll_phbox"
		"origin" "-9206 -2790 -5261.5"
		"model" "*400"
		"hammerid" "1551366"
	}
	replace:
	{
		"health" "12000"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "troll_phbox"
		"origin" "-9206 -2826 -5261.5"
		"model" "*401"
		"hammerid" "1551369"
	}
	replace:
	{
		"health" "12000"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "troll_push"
	}
	replace:
	{
		"speed" "106"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "troll_push2"
	}
	replace:
	{
		"speed" "102"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "troll_push3"
	}
	replace:
	{
		"speed" "111"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "troll_push4"
	}
	replace:
	{
		"speed" "111"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "troll_relay_2"
	}
	delete:
	{
		"OnTrigger" "troll_phbox,AddHealth,1500,0,-1"
		"OnTrigger" "!self,Enable,,35,-1"
	}
	insert:
	{
		"OnTrigger" "troll_phbox,AddHealth,2000,0,-1"
		"OnTrigger" "!self,Enable,,30,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "troll_stop"
	}
	delete:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.07,2,-1"
	}
	insert:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.06,2,-1"
		"OnStartTouch" "!activator,FireUser4,,2.01,-1"
	}
}

;Giant
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "giant_gametext"
	"spawnflags" "0"
	"message" "Left click = Punch - does damage & Right click = Ground Attack - Slows nearby humans"
	"holdtime" "12"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}

modify:
{
	match:
	{
		"origin" "-9264 -3680 -5312"
		"targetname" "giant_knife"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "!activator,AddOutput,health 21000,0,-1"
		"OnPlayerPickup" "speedmod,ModifySpeed,1.04,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,rendermode 10,0,-1"
		"OnPlayerPickup" "giant_speedtimer,Enable,,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "giant_gametext,Display,,0,-1"
		"OnPlayerPickup" "speedmod,ModifySpeed,1.06,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,OnUser4 speedmod:ModifySpeed:1.06:0.01:-1,0,-1"
		"OnPlayerPickup" "!self,FireUser1,,0,-1"
		"OnUser1" "!activator,AddOutput,health 24000,0,-1"
		"OnUser1" "!activator,AddOutput,rendermode 10,0,-1"
		"OnUser1" "!activator,AddOutput,renderfx 6,0,-1"
		"OnUser1" "!activator,SetDamageFilter,t_filter,0,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "giant_phbox"
		"origin" "-9282 -3680 -5304"
		"model" "*391"
		"hammerid" "1551332"
	}
	replace:
	{
		"health" "24000"
	}
	delete:
	{
		"OnBreak" "giant_speed,Kill,,0,-1"
		"OnBreak" "giant_speedtimer,Kill,,0,-1"
		"OnBreak" "giant_ui,Deactivate,,0,-1"
	}
	insert:
	{
		"OnBreak" "giant_ui,Kill,,0,-1"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "giant_phbox"
		"origin" "-9282 -3656 -5204"
		"model" "*417"
		"hammerid" "1551441"
	}
	replace:
	{
		"health" "24000"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "giant_phbox"
		"origin" "-9304 -3680 -5204"
		"model" "*418"
		"hammerid" "1551444"
	}
	replace:
	{
		"health" "24000"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "giant_phbox"
		"origin" "-9282 -3704 -5204"
		"model" "*419"
		"hammerid" "1551447"
	}
	replace:
	{
		"health" "24000"
	}
}

modify:
{
	match:
	{
		"classname" "func_physbox_multiplayer"
		"targetname" "giant_phbox"
		"origin" "-9260 -3680 -5204"
		"model" "*420"
		"hammerid" "1551450"
	}
	replace:
	{
		"health" "24000"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "giant_push"
	}
	replace:
	{
		"speed" "89"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "giant_push2"
	}
	replace:
	{
		"speed" "88"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "giant_push3"
	}
	replace:
	{
		"speed" "99"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "giant_push4"
	}
	replace:
	{
		"speed" "99"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "giant_pauk_r"
	}
	delete:
	{
		"OnTrigger" "giant_speedtimer,Disable,,0,-1"
		"OnTrigger" "giant_speedtimer,Enable,,2,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_teleport"
		"targetname" "giant_tele"
	}
	delete:
	{
		"OnStartTouch" "!self,Disable,,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!self,Kill,,0,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "giant_stop"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser4,,1.51,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "giant_pauk"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser3,,4.01,-1"
	}
}

filter:
{
	"classname" "trigger_multiple"
	"targetname" "giant_speed"
}

filter:
{
	"classname" "logic_timer"
	"targetname" "giant_speedtimer"
}

;Dragonpriest
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "dragonpriest_gametext"
	"spawnflags" "0"
	"message" "Passive = Slows nearby humans & Right click = NUKE - 1 USE"
	"holdtime" "12"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}

modify:
{
	match:
	{
		"origin" "-8704 -4544 -5184"
		"targetname" "knife_dr"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "!activator,AddOutput,health 25000,0,-1"
		"OnPlayerPickup" "speedmod,ModifySpeed,1.0,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,rendermode 10,0,-1"
		"OnPlayerPickup" "dr_timer,Enable,,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "dragonpriest_gametext,Display,,0,-1"
		"OnPlayerPickup" "speedmod,ModifySpeed,1.04,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,OnUser4 speedmod:ModifySpeed:1.04:0.01:-1,0,-1"
		"OnPlayerPickup" "!self,FireUser1,,0,-1"
		"OnUser1" "!activator,AddOutput,health 30000,0,-1"
		"OnUser1" "!activator,AddOutput,rendermode 10,0,-1"
		"OnUser1" "!activator,AddOutput,renderfx 6,0,-1"
		"OnUser1" "!activator,SetDamageFilter,t_filter,0,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}

modify:
{
	match:
	{
		"origin" "-8700 -4544 -5172.5"
		"targetname" "dr_phbox"
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"health" "26000"
	}
	delete:
	{
		"OnBreak" "dr_timer,Kill,,0,-1"
		"OnBreak" "dr_speed,Kill,,0,-1"
		"OnBreak" "dragon_ui,Deactivate,,0,-1"
	}
	insert:
	{
		"OnBreak" "dragon_ui,Kill,,0,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_teleport"
		"targetname" "dr_tele"
	}
	delete:
	{
		"OnStartTouch" "!self,Disable,,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!self,Kill,,0,-1"
	}
}

modify:
{
	match:
	{
		"origin" "-8696 -4544 -5182"
		"targetname" "dragon_dead"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "999999"
	}
}

modify:
{
	match:
	{
		"origin" "-8704 -4544 -5163.5"
		"targetname" "dr_nuke2"
		"classname" "trigger_multiple"
	}
	insert:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1,6,-1"
		"OnStartTouch" "!activator,FireUser3,,6.01,-1"
	}
}

filter:
{
	"targetname" "dr_speed"
	"classname" "trigger_multiple"
}

filter:
{
	"targetname" "dr_timer"
	"classname" "logic_timer"
}

modify:
{
	match:
	{
		"targetname" "dragon_nuke_stop"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.03,4,-1"
	}
	insert:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.04,4,-1"
		"OnStartTouch" "!activator,FireUser4,,4.01,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "dragon_slow"
		"classname" "trigger_multiple"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser3,,10.01,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "dragon_nuke"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "dr_timer,Disable,,0,-1"
		"OnTrigger" "dr_timer,Enable,,6,-1"
	}
}

;----------------
;Fix human items
;----------------

;Nightingale
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "nightingale_gametext"
	"spawnflags" "0"
	"message" "Passive = Fast & Right click = Fires an arrow towards the direction you are looking - Good DPS"
	"holdtime" "12"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}

modify:
{
	match:
	{
		"origin" "-9402 -2254 -5274"
		"targetname" "night_knife"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "!activator,AddOutput,rendermode 10,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,renderfx 6,0,-1"
		"OnPlayerPickup" "!activator,SetDamageFilter,filter_t_no,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "nightingale_gametext,Display,,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,OnUser3 speedmod:ModifySpeed:1.17:0.01:-1,0,-1"
		"OnPlayerPickup" "!self,FireUser1,,0,-1"
		"OnUser1" "!activator,AddOutput,rendermode 10,0,-1"
		"OnUser1" "!activator,AddOutput,renderfx 6,0,-1"
		"OnUser1" "!activator,SetDamageFilter,filter_t_no,0,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "arrow_hurt"
	}
	replace:
	{
		"damagecap" "20"
		"damage" "2000"
	}
}

;Healmage
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "healmage_gametext"
	"spawnflags" "0"
	"message" "Left click = Fireball - decent DPS & Right click = Heals humans when close"
	"holdtime" "12"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}

modify:
{
	match:
	{
		"origin" "-9130 -192 -5156"
		"targetname" "mg_knife"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "!activator,AddOutput,rendermode 10,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,renderfx 6,0,-1"
		"OnPlayerPickup" "!activator,SetDamageFilter,filter_t_no,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "!self,FireUser1,,0,-1"
		"OnPlayerPickup" "healmage_gametext,Display,,0,-1"
		"OnUser1" "!activator,AddOutput,rendermode 10,0,-1"
		"OnUser1" "!activator,AddOutput,renderfx 6,0,-1"
		"OnUser1" "!activator,SetDamageFilter,filter_t_no,0,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}

;Dovahkiin
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "dova_gametext"
	"spawnflags" "0"
	"message" "UNLOADED"
	"holdtime" "12"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}
add:
{
	"model" "*394"
	"targetname" "dova_level_1_trigger_gametext"
	"StartDisabled" "1"
	"speed" "105"
	"spawnflags" "1"
	"pushdir" "0 0 -90"
	"parentname" "giant_knife"
	"origin" "-9259 -3680 -5309.5"
	"filtername" "filter_t"
	"alternateticksfix" "0"
	"classname" "trigger_push"
	"hammerid" "1551341"

}

modify:
{
	match:
	{
		"origin" "-9232 -838 -5160"
		"targetname" "doh_knife"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "!activator,AddOutput,rendermode 10,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,renderfx 6,0,-1"
		"OnPlayerPickup" "!activator,SetDamageFilter,filter_t_no,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "!self,FireUser1,,0,-1"
		"OnUser1" "!activator,AddOutput,rendermode 10,0,-1"
		"OnUser1" "!activator,AddOutput,renderfx 6,0,-1"
		"OnUser1" "!activator,SetDamageFilter,filter_t_no,0,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "push_doh"
	}
	replace:
	{
		"speed" "240"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "rynnak3"
	}
	delete:
	{
		"OnTrigger" "giant_speedtimer,Disable,,0,-1"
		"OnTrigger" "giant_speedtimer,Enable,,2,-1"
		"OnTrigger" "dr_timer,Disable,,0,-1"
		"OnTrigger" "dr_timer,Enable,,2,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "push_doh2"
	}
	replace:
	{
		"speed" "350"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "fire_shout"
	}
	delete:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.07,3,-1"
	}
	insert:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.08,3,-1"
		"OnStartTouch" "!activator,FireUser4,,3.01,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "freeze_shout"
	}
	replace:
	{
		"classname" "trigger_hurt"
		"spawnflags" "9"
	}
	delete:
	{
		"wait" "1"
		"OnStartTouch" "speedmod,ModifySpeed,1.07,5,-1"
	}
	insert:
	{
		"nodmgforce" "0"
		"damagetype" "512"
		"damagemodel" "0"
		"damagecap" "20"
		"damage" "3000"
		"OnStartTouch" "speedmod,ModifySpeed,1.08,5,-1"
		"OnStartTouch" "!activator,FireUser4,,5.01,-1"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "shout_freeze"
	}
	delete:
	{
		"OnTrigger" "giant_speedtimer,Disable,,0,-1"
		"OnTrigger" "giant_speedtimer,Enable,,6,-1"
		"OnTrigger" "dr_timer,Disable,,0,-1"
		"OnTrigger" "dr_timer,Enable,,6,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "hurt_doh3"
	}
	delete:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.07,1,-1"
	}
	insert:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.08,1,-1"
		"OnStartTouch" "!activator,FireUser4,,1.01,-1"
	}
}

;Archmage
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "archmage_gametext"
	"spawnflags" "0"
	"message" "Left click = Push & Right click = Fire beam - good DPS"
	"holdtime" "12"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}

modify:
{
	match:
	{
		"origin" "-8949 -1984 -5184"
		"targetname" "knife_archmage"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "!activator,AddOutput,rendermode 10,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,renderfx 6,0,-1"
		"OnPlayerPickup" "!activator,SetDamageFilter,filter_t_no,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "!self,FireUser1,,0,-1"
		"OnPlayerPickup" "archmage_gametext,Display,,0,-1"
		"OnUser1" "!activator,AddOutput,rendermode 10,0,-1"
		"OnUser1" "!activator,AddOutput,renderfx 6,0,-1"
		"OnUser1" "!activator,SetDamageFilter,filter_t_no,0,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "archmage_ulti"
	}
	delete:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.07,5,-1"
	}
	insert:
	{
		"OnStartTouch" "speedmod,ModifySpeed,1.08,5,-1"
		"OnStartTouch" "!activator,FireUser4,,5.01,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "archmage_stop"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser3,,6.01,-1"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "archmage_nuke"
	}
	delete:
	{
		"OnTrigger" "giant_speedtimer,Disable,,0,-1"
		"OnTrigger" "giant_speedtimer,Enable,,6,-1"
		"OnTrigger" "dr_timer,Disable,,0,-1"
		"OnTrigger" "dr_timer,Enable,,6,-1"
	}
}

filter:
{
	"targetname" "archmage_stop"
	"origin" "-8940 -1984 -5183.04"
	"classname" "trigger_multiple"
}
modify:
{
	match:
	{
		"origin" "-8992 -2080 -5280"
		"targetname" "archmage_nuke"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "archmage_0_speed_loop_relay,Trigger,,0,-1"
		"OnTrigger" "archmage_0_speed_loop_relay,CancelPending,,6,-1"
		"OnTrigger" "speedmod,ModifySpeed,1,6.5,-1"
	}
}
add:
{
	"origin" "-8992 -2080 -5280"
	"targetname" "archmage_0_speed_loop_relay"
	"StartDisabled" "0"
	"spawnflags" "2"
	"classname" "logic_relay"
	"OnTrigger" "speedmod,ModifySpeed,0,0.1,-1"
	"OnTrigger" "!self,Trigger,,0.3,-1"
}

;Daedric
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "dr_gametext"
	"spawnflags" "0"
	"message" "Left click = Push & Right click = NUKE"
	"holdtime" "12"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}

modify:
{
	match:
	{
		"origin" "-9136 -1430 -5233.72"
		"targetname" "dr_knife"
		"classname" "weapon_knife"
	}
	delete:
	{
		"OnPlayerPickup" "!activator,AddOutput,rendermode 10,0,-1"
		"OnPlayerPickup" "!activator,AddOutput,renderfx 6,0,-1"
		"OnPlayerPickup" "!activator,SetDamageFilter,filter_t_no,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "!self,FireUser1,,0,-1"
		"OnPlayerPickup" "dr_gametext,Display,,0,-1"
		"OnUser1" "!activator,AddOutput,rendermode 10,0,-1"
		"OnUser1" "!activator,AddOutput,renderfx 6,0,-1"
		"OnUser1" "!activator,SetDamageFilter,filter_t_no,0,-1"
		"OnUser1" "!self,FireUser1,,0.1,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "dr_phys"
		"origin" "-9124 -1431 -5216"
		"classname" "func_physbox_multiplayer"
	}
	delete:
	{
		"OnBreak" "dr_ui,Deactivate,,0,-1"
	}
	insert:
	{
		"OnBreak" "dr_ui,Kill,,0,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "push_dr"
	}
	replace:
	{
		"speed" "310"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "look_relay"
	}
	delete:
	{
		"OnTrigger" "push_dr,Disable,,1,-1"
		"OnTrigger" "!self,Enable,,2.15,-1"
	}
	insert:
	{
		"OnTrigger" "push_dr,Disable,,0.8,-1"
		"OnTrigger" "!self,Enable,,2.5,-1"
	}
}

filter:
{
	"targetname" "dr_stop2"
	"origin" "-9137 -1431 -5229"
	"classname" "trigger_multiple"
}
modify:
{
	match:
	{
		"origin" "-9382 -1534 -5336"
		"targetname" "nuke_relay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "deadric_0_speed_loop_relay,Trigger,,0,-1"
		"OnTrigger" "deadric_0_speed_loop_relay,CancelPending,,6,-1"
		"OnTrigger" "speedmod,ModifySpeed,1,6.5,-1"
	}
}
add:
{
	"origin" "-8992 -2080 -5280"
	"targetname" "deadric_0_speed_loop_relay"
	"StartDisabled" "0"
	"spawnflags" "2"
	"classname" "logic_relay"
	"OnTrigger" "speedmod,ModifySpeed,0,0.1,-1"
	"OnTrigger" "!self,Trigger,,0.3,-1"
}

modify:
{
	match:
	{
		"classname" "env_shake"
		"targetname" "nuke_shake"
	}
	replace:
	{
		"spawnflags" "0"
		"frequency" "100"
		"amplitude" "6"
	}
}

modify:
{
	match:
	{
		"classname" "info_particle_system"
		"targetname" "p_nuk1"
	}
	replace:
	{
		"effect_name" "verynewnuke1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "dr_stop2"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser3,,5.01,-1"
	}
}

;Blue Torch
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "blue_torch_gametext"
	"spawnflags" "0"
	"message" "Light the fireplaces at the door"
	"holdtime" "6"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}
modify:
{
	match:
	{
		"origin" "-7716 -3184 10300"
		"targetname" "st3_torchwep"
		"classname" "weapon_p228"
	}
	insert:
	{
		"OnPlayerPickup" "blue_torch_gametext,Display,,0,-1"
	}
}

;Lever
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "lever_gametext"
	"spawnflags" "0"
	"message" "Bring the lever to the door and repair the switch"
	"holdtime" "6"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}
modify:
{
	match:
	{
		"origin" "-12180 -4709 10224"
		"targetname" "lever_glock"
		"classname" "weapon_glock"
	}
	insert:
	{
		"OnPlayerPickup" "lever_gametext,Display,,0,-1"
	}
}

;Elder scroll - stage 4 pickup
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "elderscroll_pickup_gametext"
	"spawnflags" "0"
	"message" "Quest - Bring this item to the end of the level"
	"holdtime" "6"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}
modify:
{
	match:
	{
		"origin" "-7594 5704 2392.5"
		"targetname" "elder"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "elderscroll_pickup_gametext,Display,,0,-1"
	}
}

;Elder scroll - stage 5
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "elderscroll_gametext"
	"spawnflags" "0"
	"message" "Scroll - Use the scroll when the chat message appears during the dragon fight"
	"holdtime" "6"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}
modify:
{
	match:
	{
		"origin" "5870 2400 570"
		"targetname" "elder_1_wep"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "elderscroll_gametext,Display,,0,-1"
	}
}


;Heal staff
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "healstaff_gametext"
	"spawnflags" "0"
	"message" "Heals humans - 2 uses"
	"holdtime" "6"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}
modify:
{
	match:
	{
		"origin" "2194 -10667 1232"
		"targetname" "healelite"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "healstaff_gametext,Display,,0,-1"
	}
}

;Freeze Staff
add:
{
	"origin" "-5544 -12681.2 2496"
	"y" "0.3"
	"x" "0.05"
	"targetname" "freezestaff_gametext"
	"spawnflags" "0"
	"message" "Freezes zombies - 2 uses"
	"holdtime" "6"
	"fxtime" ".05"
	"fadeout" "0.5"
	"fadein" ".025"
	"effect" "2"
	"color2" "235 233 100"
	"color" "235 233 100"
	"channel" "2"
	"classname" "game_text"
}
modify:
{
	match:
	{
		"origin" "1149.75 1454.59 248"
		"targetname" "special_1_wep"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "freezestaff_gametext,Display,,0,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "special_1_freeze"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser4,,5.01,-1"
	}
}

;---------------------
;Map and Boss Changes
;---------------------
;Stage 1
modify:
{
	match:
	{
		"classname" "func_button"
		"targetname" "dung_button1"
	}
	delete:
	{
		"OnPressed" "dung_door1,Open,,1.5,1"
	}
	insert:
	{
		"OnPressed" "dung_door1,Open,,2,1"
	}
}

;Stage 2
modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "b_hurt_1"
	}
	replace:
	{
		"damagecap" "20"
		"damage" "24"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "b_hurt_2"
	}
	replace:
	{
		"damagecap" "20"
		"damage" "20"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "b_freeze"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser3,,2.01,-1"
	}
}

;Stage 3
modify:
{
	match:
	{
		"targetname" "st3_door9"
		"origin" "-4574 -5807 10574"
		"classname" "func_door"
	}
	replace:
	{
		"ignoredebris" "0"
		"dmg" "999999"
	}
}
modify:
{
	match:
	{
		"targetname" "st3_door8"
		"origin" "-4574 -5889 10574"
		"classname" "func_door"
	}
	replace:
	{
		"ignoredebris" "0"
		"dmg" "999999"
	}
}



;Stage 4
;Stage 5
modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "counter_3"
	}
	replace:
	{
		"startvalue" "500"
	}
}

modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "bosshpbackup"
	}
	replace:
	{
		"startvalue" "500"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "boss_hp_3_ex"
	}
	delete:
	{
		"OnStartTouch" "counter_3,Add,100,0,-1"
		"OnStartTouch" "bosshpbackup,Add,100,0,-1"
	}
	insert:
	{
		"OnStartTouch" "counter_3,Add,110,0,-1"
		"OnStartTouch" "bosshpbackup,Add,110,0,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"targetname" "freeze"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser3,,3.01,-1"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "push_boss"
		"origin" "9613.19 13140 4368"
	}
	replace:
	{
		"speed" "615"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "push_boss"
		"origin" "9613.19 13712 4368"
	}
	replace:
	{
		"speed" "666"
	}
}

modify:
{
	match:
	{
		"classname" "trigger_push"
		"targetname" "push_boss"
		"origin" "9613.19 13408 4368"
	}
	replace:
	{
		"speed" "560"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "scroll_boss"
	}
	delete:
	{
		"OnTrigger" "counter_3,Subtract,400,0,-1"
		"OnTrigger" "counter_3,Subtract,400,1,-1"
		"OnTrigger" "counter_3,Subtract,400,2,-1"
		"OnTrigger" "counter_3,Subtract,400,3,-1"
	}
	insert:
	{
		"OnTrigger" "counter_3,Subtract,100,0,-1"
		"OnTrigger" "counter_3,Subtract,100,0.5,-1"
		"OnTrigger" "counter_3,Subtract,100,1,-1"
		"OnTrigger" "counter_3,Subtract,100,1.5,-1"
		"OnTrigger" "counter_3,Subtract,100,2,-1"
		"OnTrigger" "counter_3,Subtract,100,2.5,-1"
		"OnTrigger" "counter_3,Subtract,100,3,-1"
		"OnTrigger" "counter_3,Subtract,100,3.5,-1"
		"OnTrigger" "counter_3,Subtract,100,4,-1"
		"OnTrigger" "counter_3,Subtract,100,4.5,-1"
		"OnTrigger" "counter_3,Subtract,100,5,-1"
		"OnTrigger" "counter_3,Subtract,100,5.5,-1"
		"OnTrigger" "counter_3,Subtract,100,6,-1"
		"OnTrigger" "counter_3,Subtract,100,6.5,-1"
		"OnTrigger" "counter_3,Subtract,100,7,-1"
		"OnTrigger" "counter_3,Subtract,100,7.5,-1"
	}
}

;-------------
;Server cvars
;-------------
modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "map_settings"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,mp_roundtime 9,0,-1"
		"OnTrigger" "cmd,Command,zr_infect_mzombie_respawn 1,0,-1"
		"OnTrigger" "cmd,Command,zr_respawn 1,0,-1"
		"OnTrigger" "cmd,Command,zr_respawn_delay 1,0,-1"
		"OnTrigger" "cmd,Command,zr_respawn_team_zombie 1,0,-1"
		"OnTrigger" "cmd,Command,mp_freezetime 3,0,-1"
		"OnTrigger" "cmd,Command,zr_infect_spawntime_min 9.0,0,-1"
		"OnTrigger" "cmd,Command,zr_infect_spawntime_max 9.0,0,-1"
	}
}

modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "map_settings2"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,mp_roundtime 9,0,-1"
		"OnTrigger" "cmd,Command,zr_infect_mzombie_respawn 1,0,-1"
		"OnTrigger" "cmd,Command,zr_respawn 1,0,-1"
		"OnTrigger" "cmd,Command,zr_respawn_delay 1,0,-1"
		"OnTrigger" "cmd,Command,zr_respawn_team_zombie 1,0,-1"
		"OnTrigger" "cmd,Command,mp_freezetime 3,0,-1"
		"OnTrigger" "cmd,Command,zr_infect_spawntime_min 9.0,0,-1"
		"OnTrigger" "cmd,Command,zr_infect_spawntime_max 9.0,0,-1"
	}
}

modify:
{
	match:
	{
		"origin" "-1176 2232 288"
		"classname" "logic_auto"
	}
	insert:
	{
		"OnMapSpawn" "cmd,Command,say >> MAP MODIFIED <<,0,-1"
		"OnNewGame" "cmd,Command,mp_buytime 0.5,0,-1"
		"OnNewGame" "cmd,Command,mp_startmoney 16000,0,1"
		"OnNewGame" "cmd,Command,mp_roundtime 15,0,1"
		"OnNewGame" "cmd,Command,mp_freezetime 3,0,1"
		"OnNewGame" "cmd,Command,mp_flashlight 1,0,1"
		"OnNewGame" "cmd,Command,sv_turbophysics 1,0,1"
		"OnNewGame" "cmd,Command,sv_gravity 800,0,1"
		"OnNewGame" "cmd,Command,sv_friction 4,0,1"
		"OnNewGame" "cmd,Command,sv_accelerate 5,0,1"
		"OnNewGame" "cmd,Command,sv_airaccelerate 10,0,1"
		"OnNewGame" "cmd,Command,sv_specspeed 8,0,1"
		"OnNewGame" "cmd,Command,zr_infect_mzombie_respawn 1,0,1"
		"OnNewGame" "cmd,Command,zr_infect_weapons_drop 1,0,1"
		"OnNewGame" "cmd,Command,zr_ztele_zombie 1,0,1"
		"OnNewGame" "cmd,Command,zr_ztele_max_zombie 10,0,1"
		"OnNewGame" "cmd,Command,zr_ztele_max_human 1,0,1"
		"OnNewGame" "cmd,Command,zr_ztele_delay_zombie 3,0,1"
		"OnNewGame" "cmd,Command,zr_respawn 1,0,1"
		"OnNewGame" "cmd,Command,zr_respawn_team_zombie 1,0,1"
		"OnNewGame" "cmd,Command,zr_respawn_team_zombie_world 1,0,1"
		"OnNewGame" "cmd,Command,zr_zspawn 1,0,1"
		"OnNewGame" "cmd,Command,zr_zspawn_team_override 1,0,1"
		"OnNewGame" "cmd,Command,zr_zspawn_team_zombie 1,0,1"
		"OnNewGame" "cmd,Command,zr_zspawn_block_rejoin 0,0,1"
		"OnNewGame" "cmd,Command,zr_zspawn_timelimit 0,0,1"
		"OnNewGame" "cmd,Command,zr_restrict smokegrenade,0,1"
		"OnNewGame" "Cmd,Command,zr_class_modify zombies speed 324,0,1"
		"OnNewGame" "Cmd,Command,zr_class_modify zombies health 8000,0,1"
		"OnNewGame" "Cmd,Command,zr_class_modify zombies health_regen_interval 0.2,0,1"
		"OnNewGame" "Cmd,Command,zr_class_modify zombies health_regen_amount 10,0,1"
		"OnNewGame" "Cmd,Command,zr_class_modify humans speed 300,0,1"
		"OnNewGame" "Cmd,Command,zr_class_modify humans health 100,0,1"
		"OnNewGame" "Cmd,Command,zr_class_modify humans health_regen_interval 0.0,0,1"
		"OnNewGame" "Cmd,Command,zr_class_modify humans health_regen_amount 0,0,1"
		"OnNewGame" "cmd,Command,ammo_50AE_max 2000,0,1"
		"OnNewGame" "cmd,Command,ammo_762mm_max 2000,0,1"
		"OnNewGame" "cmd,Command,ammo_556mm_box_max 2000,0,1"
		"OnNewGame" "cmd,Command,ammo_556mm_max 2000,0,1"
		"OnNewGame" "cmd,Command,ammo_338mag_max 2000,0,1"
		"OnNewGame" "cmd,Command,ammo_9mm_max 2000,0,1"
		"OnNewGame" "cmd,Command,ammo_buckshot_max 2000,0,1"
		"OnNewGame" "cmd,Command,ammo_45acp_max 2000,0,1"
		"OnNewGame" "cmd,Command,ammo_357sig_max 2000,0,1"
		"OnNewGame" "cmd,Command,ammo_57mm_max 2000,0,1"
	}
}

;---------------------------------------------
;Remove level change after winning last stage
;---------------------------------------------
filter:
{
	"classname" "logic_relay"
	"targetname" "vote_relay"
}

modify:
{
	match:
	{
		"classname" "math_counter"
		"targetname" "LevelLogCounter"
	}
	replace:
	{
		"max" "5"
	}
}

;---------------
;Fix spawn tele
;---------------
modify:
{
	match:
	{
		"origin" "-1112 2232 288"
		"targetname" "stage1_relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "spawn_tele,Enable,,50,-1"
		"OnTrigger" "spawn_tele,Disable,,52,-1"
	}
	insert:
	{
		"OnTrigger" "spawn_tele,Enable,,60,-1"
		"OnTrigger" "spawn_tele,Disable,,62,-1"
	}
}

modify:
{
	match:
	{
		"origin" "-1096 2232 288"
		"targetname" "stage_2_relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "spawn_tele,Enable,,50,-1"
		"OnTrigger" "spawn_tele,Disable,,52,-1"
	}
	insert:
	{
		"OnTrigger" "spawn_tele,Enable,,60,-1"
		"OnTrigger" "spawn_tele,Disable,,62,-1"
	}
}

modify:
{
	match:
	{
		"origin" "-1080 2232 288"
		"targetname" "stage_3_relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "spawn_tele,Enable,,50,-1"
		"OnTrigger" "spawn_tele,Disable,,52,-1"
	}
	insert:
	{
		"OnTrigger" "spawn_tele,Enable,,60,-1"
		"OnTrigger" "spawn_tele,Disable,,62,-1"
	}
}

modify:
{
	match:
	{
		"origin" "-1064 2232 288"
		"targetname" "stage_4_relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "spawn_tele,Enable,,50,-1"
		"OnTrigger" "spawn_tele,Disable,,52,-1"
	}
	insert:
	{
		"OnTrigger" "spawn_tele,Enable,,60,-1"
		"OnTrigger" "spawn_tele,Disable,,62,-1"
	}
}

modify:
{
	match:
	{
		"origin" "-1048 2232 288"
		"targetname" "stage_5_relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "spawn_tele,Enable,,50,-1"
		"OnTrigger" "spawn_tele,Disable,,52,-1"
	}
	insert:
	{
		"OnTrigger" "spawn_tele,Enable,,60,-1"
		"OnTrigger" "spawn_tele,Disable,,62,-1"
	}
}

;------------------
;Fix wrong message
;------------------
modify:
{
	match:
	{
		"origin" "-2400 -10096 544"
		"targetname" "wr_once1"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "cmd,Command,say >> We need to hold the Plains District for 40 seconds HOLD THEM BACK! <<,0,1"
	}
	insert:
	{
		"OnStartTouch" "cmd,Command,say >> We need to hold the Plains District for 45 seconds HOLD THEM BACK! <<,0,1"
	}
}

;-----------
;Other/misc
;-----------
modify:
{
	match:
	{
		"origin" "-336 -7555 2920"
		"targetname" "koiknulli"
		"classname" "trigger_multiple"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,gravity 1,0,-1"
		"OnStartTouch" "!activator,AddOutput,OnUser3 speedmod:ModifySpeed:1:0.01:-1,0,-1"
		"OnStartTouch" "!activator,AddOutput,OnUser4 speedmod:ModifySpeed:1.08:0.01:-1,0,-1"
	}
}

add:
{
	"model" "*259"
	"classname" "trigger_brush"
	"targetname" "game_playerdie"
	"StartDisabled" "0"
	"spawnflags" "0"
	"InputFilter" "14"
	"hammerid" "2330845"
	"OnUse" "!activator,AddOutput,OnUser3 speedmod:ModifySpeed:1:0.01:-1,0,-1"
	"OnUse" "!activator,AddOutput,OnUser4 speedmod:ModifySpeed:1.08:0.01:-1,0,-1"
}

;----------------------------------
;Break zm shortcut 2 seconds later
;----------------------------------
modify:
{
	match:
	{
		"origin" "-1040 -9624 220"
		"classname" "func_button"
		"hammerid" "5439"
	}
	delete:
	{
		"OnPressed" "wr_brkdown,Break,,24,1"
	}
	insert:
	{
		"OnPressed" "wr_brkdown,Break,,26,1"
	}
}

;---------------------------------------------------
;Restart round on warmup instead of slaying players
;---------------------------------------------------
modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "warmup_relay"
	}
	delete:
	{
		"OnTrigger" "spawn_nuke,Enable,,60,-1"
		"OnTrigger" "stage1_nuke,Enable,,60,-1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,mp_restartgame 1,60,1"
	}
}

;---------------------------------------------------
;Adds more hp to the first dragon boss on stage 1
;---------------------------------------------------
modify:
{
	match:
	{
		"targetname" "st1_dragonphysbox"
		"origin" "-384 944 832"
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"health" "99999999"
	}
}

;---------------------------------------------------------------------
;Fixes an issue with teamscores being set to 1 on warmup round
;---------------------------------------------------------------------
modify:
{
	match:
	{
		"origin" "-622 -7554 3993"
		"targetname" "LevelLogChecker"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase02" "cmd,Command,sm_setteamscore @ct 0,1,1"
	}
}

;--------------------------------------------------------------------------------
;Sets up the min & max values for zombie spawn for both warmup and rounstart
;--------------------------------------------------------------------------------
modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "warmup_relay"
		"origin" "-1128 2232 288"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,zr_infect_spawntime_min 120,0,-1"
		"OnTrigger" "cmd,Command,zr_infect_spawntime_max 120,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-1112 2232 288"
		"targetname" "stage1_relay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,zr_infect_spawntime_min 8,0,-1"
		"OnTrigger" "cmd,Command,zr_infect_spawntime_max 8,0,-1"
	}
}

;-------------------------------------------------------------------------------------
;Moves the nightgale prop more above ground to prevent feets from sticking into it
;-------------------------------------------------------------------------------------
modify:
{
	match:
	{
		"origin" "-9418 -2252 -5313"
		"targetname" "night"
		"classname" "prop_dynamic"
	}
	replace:
	{
		"origin" "-9420 -2252 -5300"
	}
}

;----------------------------------------------------------------------------------------------------------------
;Adds a game player equip for all loadouts being picked up to avoid spending money & makes all items use this 
;----------------------------------------------------------------------------------------------------------------
add:
{
    "origin" "-6544 -14240 3336"
    "weapon_p90" "1"
    "weapon_hegrenade" "1"
    "weapon_elite" "1"
    "item_assaultsuit" "1"
    "targetname" "map_loadout_items"
    "spawnflags" "1"
    "classname" "game_player_equip"
}
modify:
{
	match:
	{
		"origin" "-9130 -192 -5156"
		"targetname" "mg_knife"
		"classname" "weapon_knife"
	}
	insert:
	{
		"OnPlayerPickup" "map_loadout_items,USE,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9232 -838 -5160"
		"targetname" "doh_knife"
		"classname" "weapon_knife"
	}
	insert:
	{
		"OnPlayerPickup" "map_loadout_items,USE,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9136 -1430 -5233.72"
		"targetname" "dr_knife"
		"classname" "weapon_knife"
	}
	insert:
	{
		"OnPlayerPickup" "map_loadout_items,USE,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-8949 -1984 -5184"
		"targetname" "knife_archmage"
		"classname" "weapon_knife"
	}
	insert:
	{
		"OnPlayerPickup" "map_loadout_items,USE,,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "-9402 -2254 -5274"
		"targetname" "night_knife"
		"classname" "weapon_knife"
	}
	insert:
	{
		"OnPlayerPickup" "map_loadout_items,USE,,0,-1"
	}
}

;----------------------------------------
; Dynamic EntWatch support for Dovahkiin
;----------------------------------------
; Fire attack
modify:
{
	match:
	{
		"origin" "-1160 2200 288"
		"targetname" "level2"
		"classname" "filter_activator_name"
	}
	insert:
	{
		"OnPass" "cmd,Command,sm_setcooldown 6158 60,0,-1"
		"OnPass" "cmd,Command,sm_setcooldown 6158 60,0,-1"
		"OnPass" "dova_gametext,AddOutput,message Left click = Sets zombies on fire & Right click = Fire beam - Insane DPS & slows zombies,0,-1"
		"OnPass" "dova_gametext,Display,,0.5,-1"
	}
}

; Freeze attack
modify:
{
	match:
	{
		"origin" "-1144 2200 288"
		"targetname" "level3"
		"classname" "filter_activator_name"
	}
	insert:
	{
		"OnPass" "cmd,Command,sm_setcooldown 6158 70,0,-1"
		"OnPass" "cmd,Command,sm_setcooldown2 6158 3.5,0,-1"
		"OnPass" "dova_gametext,AddOutput,message Left click = Freezes zombies & Right click = Ice beam - freezes zombies for a while,0,-1"
		"OnPass" "dova_gametext,Display,,0.5,-1"
	}
}

; Push attack
modify:
{
	match:
	{
		"origin" "-1128 2200 288"
		"targetname" "level4"
		"classname" "filter_activator_name"
	}
	insert:
	{
		"OnPass" "cmd,Command,sm_setcooldown 6158 80,0,-1"
		"OnPass" "cmd,Command,sm_setcooldown2 6158 3.25,0,-1"
		"OnPass" "dova_gametext,AddOutput,message Left click = Pushes zombies & Right click = Wind beam - pushes zombies far back,0,-1"
		"OnPass" "dova_gametext,Display,,0.5,-1"
	}
}