;---------
;Fix nuke
;---------

modify:
{
	match:
	{
		"targetname" "sheild_counter_1"
		"classname" "math_counter"
	}
	insert:
	{
		"OnHitMax" "end_kill2,AddOutput,damage 9999999,65,1"
	}
}

;-----------------
;Fix Item message
;-----------------

modify:
{
	match:
	{
		"parentname" "healing_pistol1"
		"classname" "func_button"
		"hammerid" "123327"
	}
	delete:
	{
		"OnPressed" "messeges,Command,sau ****Zombies close by will burn!****,0,-1"
		"OnPressed" "messeges,Command,sau ****Zombie burner will reset in 40 secounds****,0,-1"
	}
	insert:
	{
		"OnPressed" "messeges,Command,say ****Zombies close by will burn!****,0,-1"
		"OnPressed" "messeges,Command,say ****Zombie burner will reset in 40 secounds****,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "deagle2"
		"classname" "weapon_deagle"
		"hammerid" "124212"
	}
	delete:
	{
		"OnPlayerPickup" "consolemess,Command,say ***THE BOW HAS BEEN PICKED UP***,0,1"
	}
	insert:
	{
		"OnPlayerPickup" "messeges,Command,say ***THE BOW HAS BEEN PICKED UP***,0,1"
	}
}



;; _

;; fix teleport evading spots
 
add:
{
	"model" "*215"
	"targetname" "camper_3"
	"target" "t6"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "1920 2680 -704"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*160"
	"targetname" "end_portal1"
	"target" "end_spot1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-2240 4768 88"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*165"
	"targetname" "end_portal1"
	"target" "end_spot1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-2240 2112 -104"
	"classname" "trigger_teleport"
}
 
modify:
{
	match:
	{
		"classname" "trigger_push"
		"hammerid" "103346"
	}
	replace:
	{
		"speed" "300"
	}
}
 
;; fix trap at the Citadel
 
modify:
{
	match:
	{
		"targetname" "trap_floor1"
		"classname" "func_breakable"
	}
	replace:
	{
		"spawnflags" "6"
	}
}
 
;; increase nuke damage
 
modify:
{
	match:
	{
		"targetname" "end_kill1"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "100000"
	}
}

;; fix teleport angles

modify:
{
	match:
	{
		"targetname" "t2"
		"classname" "info_teleport_destination"
	}
	replace:
	{
		"angles" "0 -90 0"
	}
}

;; fix afk teleport

add:
{
	"model" "*135"
	"targetname" "afk3"
	"target" "t3"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "4608 -928 0"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"targetname" "ice_bridge_counter1"
		"classname" "math_counter"
	}
	insert:
	{
		"OnHitMax" "afk3,Enable,,15,1"
	}
}

;; music volume

modify:
{
	match:
	{
		"message" "gods_wrath_music/black  white music - creature big fight (320 x 240).mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "3gods_wrath_music/black  white music - creature big fight (320 x 240).mp3"
	}
}
modify:
{
	match:
	{
		"message" "gods_wrath_music/black  white music - nemesis (320 x 240).mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#gods_wrath_music/black  white music - nemesis (320 x 240).mp3"
	}
}
modify:
{
	match:
	{
		"message" "gods_wrath_music/black  white music - script 2 (320 x 240).mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#gods_wrath_music/black  white music - script 2 (320 x 240).mp3"
	}
}
modify:
{
	match:
	{
		"message" "gods_wrath_music/black & white music - gregorian.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#gods_wrath_music/black & white music - gregorian.mp3"
	}
}
modify:
{
	match:
	{
		"message" "gods_wrath_music/black & white music - script 3.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#gods_wrath_music/black & white music - script 3.mp3"
	}
}

