;  __  __  ____  _____ _____ ________     __
; |  \/  |/ __ \|  __ \_   _|  ____\ \   / /
; | \  / | |  | | |  | || | | |__   \ \_/ /
; | |\/| | |  | | |  | || | |  __|   \   /
; | |  | | |__| | |__| || |_| |       | |
; |_|  |_|\____/|_____/_____|_|       |_|
;		Stripper by Malgo 10.10.2024

;---------------------------------------
; Make triggers a little faster
;---------------------------------------
modify:
{
	match:
	{
		"targetname" "spawn_bomb_button"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "Spawn_bomb_model,Kill,,13,1"
		"OnPressed" "Spawn_bomb_wall,Break,,13,1"
		"OnPressed" "!self,Kill,,13.05,1"
		"OnPressed" "Explosion_Temp_Huge,ForceSpawn,,13,1"
		"OnPressed" "Explosion_Temp_Huge,AddOutput,origin 6675 6647 -2276,12.5,1"
		"OnPressed" "spawn_bomb_ambient_002,PlaySound,,8,1"
	}
	insert:
	{
		"OnPressed" "Spawn_bomb_model,Kill,,10,1"
		"OnPressed" "Spawn_bomb_wall,Break,,10,1"
		"OnPressed" "!self,Kill,,10.05,1"
		"OnPressed" "Explosion_Temp_Huge,ForceSpawn,,10,1"
		"OnPressed" "Explosion_Temp_Huge,AddOutput,origin 6675 6647 -2276,9.5,1"
		"OnPressed" "spawn_bomb_ambient_002,PlaySound,,5,1"
	}
}
modify:
{
	match:
	{
		"targetname" "spawn_door_button"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "Spawn_door_model,Kill,,15,1"
		"OnPressed" "Spawn_door_wall,Break,,15,1"
		"OnPressed" "!self,Kill,,14.05,1"
		"OnPressed" "Explosion_Temp_Huge,ForceSpawn,,15,1"
		"OnPressed" "Explosion_Temp_Huge,AddOutput,origin 8117 8970 -2431,14.5,1"
		"OnPressed" "cmd,Command,say **Bomb has been planted! Hold here for 15 seconds!**,0,1"
		"OnPressed" "explosion_oy_yeah.mp3,PlaySound,,15,1"
		"OnPressed" "Room_fire,StartFire,,14.5,1"
	}
	insert:
	{
		"OnPressed" "Spawn_door_model,Kill,,10,1"
		"OnPressed" "Spawn_door_wall,Break,,10,1"
		"OnPressed" "!self,Kill,,10.05,1"
		"OnPressed" "Explosion_Temp_Huge,ForceSpawn,,10,1"
		"OnPressed" "Explosion_Temp_Huge,AddOutput,origin 8117 8970 -2431,9.5,1"
		"OnPressed" "cmd,Command,say **Bomb has been planted! Hold here for 10 seconds!**,0,1"
		"OnPressed" "explosion_oy_yeah.mp3,PlaySound,,10,1"
		"OnPressed" "Room_fire,StartFire,,9.5,1"
	}
}
modify:
{
	match:
	{
		"targetname" "trigger_001"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,say **A bridge has appeared!**Move across!**,20,1"
		"OnTrigger" "!self,Kill,,20.5,1"
		"OnTrigger" "bridge_001,Toggle,,20,1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say **A bridge has appeared!**Move across!**,12,1"
		"OnTrigger" "!self,Kill,,12.5,1"
		"OnTrigger" "bridge_001,Toggle,,12,1"
	}
}
modify:
{
	match:
	{
		"targetname" "trigger_002"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,say **Gates will open in 20 seconds!**,0,1"
		"OnTrigger" "Gates_001,Break,,20,1"
		"OnTrigger" "TeleportAFK_Room_001,Enable,,35,1"
		"OnTrigger" "Wall_002P,Kill,,35,1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say **Gates will open in 10 seconds!**,0,1"
		"OnTrigger" "Gates_001,Break,,10,1"
		"OnTrigger" "TeleportAFK_Room_001,Enable,,30,1"
		"OnTrigger" "Wall_002P,Kill,,30,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage3_Relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "trigger_002,AddOutput,OnTrigger Gates_001_side:Break::20.00:1,0,-1"
	}
	insert:
	{
		"OnTrigger" "trigger_002,AddOutput,OnTrigger Gates_001_side:Break::10.00:1,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage1_once"
		"hammerid" "205951"
	}
	delete:
	{
		"OnTrigger" "!self,Kill,,20.5,1"
		"OnTrigger" "Gates_002,Break,,20,1"
		"OnTrigger" "cmd,Command,say **Get back bomb explode in 10 seconds!**,10,10"
		"OnTrigger" "Zombie_Short_Lego_City,Break,,10,1"
		"OnTrigger" "Explosion_Temp,ForceSpawn,,20,1"
		"OnTrigger" "explosion_oy_yeah.mp3,PlaySound,,20,1"
		"OnTrigger" "stage1_get_rolled_on.mp3,FireUser1,,20,1"
	}
	insert:
	{
		"OnTrigger" "!self,Kill,,13.5,1"
		"OnTrigger" "Gates_002,Break,,17,1"
		"OnTrigger" "cmd,Command,say **Get back bomb explode in 12 seconds!**,5,10"
		"OnTrigger" "Zombie_Short_Lego_City,Break,,0,1"
		"OnTrigger" "Explosion_Temp,ForceSpawn,,17,1"
		"OnTrigger" "explosion_oy_yeah.mp3,PlaySound,,17,1"
		"OnTrigger" "stage1_get_rolled_on.mp3,FireUser1,,17,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage1_once"
		"hammerid" "636419"
	}
	delete:
	{
		"OnTrigger" "Stage1_PaperFactory_Vents_003,Break,,17,1"
		"OnTrigger" "cmd,Command,say **Hold this area for 15 seconds,2,1"
	}
	insert:
	{
		"OnTrigger" "Stage1_PaperFactory_Vents_003,Break,,10,1"
		"OnTrigger" "cmd,Command,say **Hold this area for 8 seconds,2,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage1_once"
		"hammerid" "654888"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,say **Main Doors of Paper Reactor! Hold this area for 15 seconds!**,0,0"
		"OnTrigger" "Stage1_PaperFactory_door_005,Open,,15,1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say **Main Doors of Paper Reactor! Hold this area for 12 seconds!**,0,0"
		"OnTrigger" "Stage1_PaperFactory_door_005,Open,,12,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage1_once2"
		"hammerid" "217189"
	}
	delete:
	{
		"OnTrigger" "Stage1_PaperFactory_Vents_002,Open,,30,1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say **Hold this area for 20 seconds until roof is open!**,0,0"
		"OnTrigger" "Stage1_PaperFactory_Vents_002,Open,,20,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage1_once"
		"hammerid" "220301"
	}
	delete:
	{
		"OnTrigger" "Stage1_PaperFactory_Vents_002,Close,,2,1"
		"OnTrigger" "Stage1_TeleportAFK_003,Enable,,3.05,1"
		"OnTrigger" "Stage1_TeleportAFK_004,Enable,,3.05,1"
	}
	insert:
	{
		"OnTrigger" "Stage1_PaperFactory_Vents_002,Close,,10,1"
		"OnTrigger" "Stage1_TeleportAFK_003,Enable,,12.05,1"
		"OnTrigger" "Stage1_TeleportAFK_004,Enable,,12.05,1"
	}
}
modify:
{
	match:
	{
		"targetname" "once_001"
		"hammerid" "244333"
	}
	delete:
	{
		"OnTrigger" "TeleportAFK_Room_002,Enable,,20,1"
		"OnTrigger" "Room_Teleporter1_Part,Kill,,20,1"
		"OnTrigger" "Stage3_map_fire,Kill,,20,1"
		"OnTrigger" "RandomEvent_Bridge_Part,Kill,,20,1"
		"OnTrigger" "RandomEvent_Bridge_phsybox,Kill,,20,1"
		"OnTrigger" "RandomEvent_Crane_road,Kill,,20,1"
	}
	insert:
	{
		"OnTrigger" "TeleportAFK_Room_002,Enable,,30,1"
		"OnTrigger" "Room_Teleporter1_Part,Kill,,30,1"
		"OnTrigger" "Stage3_map_fire,Kill,,30,1"
		"OnTrigger" "RandomEvent_Bridge_Part,Kill,,30,1"
		"OnTrigger" "RandomEvent_Bridge_phsybox,Kill,,30,1"
		"OnTrigger" "RandomEvent_Crane_road,Kill,,30,1"
	}
}
modify:
{
	match:
	{
		"targetname" "bridge_002_trigger"
		"hammerid" "655060"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,say **A bridge has appeared!**Move across!**,15,1"
		"OnTrigger" "!self,Kill,,15.5,1"
		"OnTrigger" "bridge_002,Toggle,,15,1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say **A bridge has appeared!**Move across!**,12,1"
		"OnTrigger" "!self,Kill,,12.5,1"
		"OnTrigger" "bridge_002,Toggle,,12,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage2_once"
		"hammerid" "247203"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,say **Teleporter will enable in 15 seconds!**,0,1"
		"OnTrigger" "Stage2_Teleporter2_Part,FireUser1,,15,1"
		"OnTrigger" "Stage2_Music_case_002,PickRandom,,15,1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say **Teleporter will enable in 10 seconds!**,0,1"
		"OnTrigger" "Stage2_Teleporter2_Part,FireUser1,,10,1"
		"OnTrigger" "Stage2_Music_case_002,PickRandom,,10,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage2_once"
		"hammerid" "253231"
	}
	delete:
	{
		"OnTrigger" "Stage2_PaperCity_Door_001,Open,,18,1"
		"OnTrigger" "cmd,Command,say **Garage is open! Keep running!**,18,18"
		"OnTrigger" "Stage2_window_001,Break,,20,18"
	}
	insert:
	{
		"OnTrigger" "Stage2_PaperCity_Door_001,Open,,13,1"
		"OnTrigger" "cmd,Command,say **Garage is open! Keep running!**,13,18"
		"OnTrigger" "Stage2_window_001,Break,,14,18"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage2_once"
		"hammerid" "253335"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,say **Gate will open in 15 seconds!**,10,1"
		"OnTrigger" "Stage2_PaperCity_Door_002,Open,,15,1"
		"OnTrigger" "Stage2_TeleportAFK_003,Enable,,30,1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say **Gate will open in 10 seconds!**,10,1"
		"OnTrigger" "Stage2_PaperCity_Door_002,Open,,20,1"
		"OnTrigger" "Stage2_TeleportAFK_003,Enable,,32,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage2_once"
		"hammerid" "382409"
	}
	delete:
	{
		"OnTrigger" "Stage2_PaperCity_Door_003,Open,,20,1"
		"OnTrigger" "cmd,Command,say **We are very close,0,0"
		"OnTrigger" "cmd,Command,say **Gates will open in 15 seconds!**,5,1"
	}
	insert:
	{
		"OnTrigger" "Stage2_PaperCity_Door_003,Open,,20,1"
		"OnTrigger" "cmd,Command,say **We are very close! Paper King gonna die! Lets go comrades!**,0,0"
		"OnTrigger" "cmd,Command,say **Gates will open in 15 seconds!**,5,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage2_PaperCity_Chopper_HP"
		"hammerid" "437252"
	}
	delete:
	{
		"OnHitMin" "Stage2_PaperCity_Wall_002,Kill,,18,-1"
		"OnHitMin" "cmd,Command,say **Well done,0,0"
	}
	insert:
	{
		"OnHitMin" "Stage2_PaperCity_Wall_002,Kill,,14,-1"
		"OnHitMin" "cmd,Command,say **Well done! Chopper has been destroyed! Escape from this empty city!**,0,0"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage1_FalseTriggerZombie"
		"hammerid" "217341"
	}
	delete:
	{
		"OnTrigger" "cmd,Command,say **zombies escaped,0,0"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say **zombies escaped! You lose!**,0,0"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage2_PaperCity_Door_003"
		"hammerid" "76086"
	}
	delete:
	{
		"OnFullyOpen" "cmd,Command,say **Wait,0,7"
		"OnFullyOpen" "cmd,Command,say **he should be at the landing site,0,0"
	}
	insert:
	{
		"OnFullyOpen" "cmd,Command,say **Wait! Its a trap get out of here fast!,7,1"
		"OnFullyOpen" "cmd,Command,say **What the hell!? he should be at the landing site!**,0,1"
	}
}
;---------------------------------------
; Balance MLG Duck
;---------------------------------------
modify:
{
    match:
    {
        "classname" "trigger_hurt"
		"hammerid" "578091"
    }
    replace:
    {
		"damagecap" "15"
		"damage" "45"
    }
}
modify:
{
	match:
	{
		"targetname" "Stage3_Teleporter_trigger_005"
		"hammerid" "512103"
	}
	delete:
	{
		"OnEndTouch" "Stage3_MLG_Duck_HP,Add,535,0,-1"
	}
	insert:
	{
		"OnEndTouch" "Stage3_MLG_Duck_HP,Add,375,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage3_BossAttack_Jacek_Hurt"
		"hammerid" "557160"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,health 25,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,health 75,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage3_BossAttackCase"
		"hammerid" "191669"
	}
	delete:
	{
		"OnCase03" "Stage3_MLG_Duck_HP,Add,185,0,-1"
		"OnCase03" "cmd,Command,say **MLG Duck opens a pack of crips! Duck has healed 185  hp**,0,-1"
		"OnCase05" "cmd,Command,say **MLG Duck summons Sans!**,0,-1"
		"OnCase07" "Stage3_Boss_Func,FireUser2,,0,-1"
		"OnCase07" "Stage3_Boss_Func,FireUser1,,5,-1"
		"OnCase07" "Stage3_BossAttack_Shield_Particle,Stop,,5,-1"
		"OnCase10" "cmd,Command,say **MLG Duck summons Jackie (onii) Chan!**,0,-1
		"OnCase10" "Stage3_BossAttack_Jacek_Part,FireUser1,,0,-1"
	}
	insert:
	{
		"OnCase03" "cmd,Command,say **MLG Duck opens a pack of crips! Duck has healed 350 hp**,0,-1"
		"OnCase03" "Stage3_MLG_Duck_HP,Add,350,0,-1"
		"OnCase05" "cmd,Command,say **MLG Duck summons Sans!**,0,-1"
		"OnCase07" "Stage3_Boss_Func,FireUser2,,0,-1"
		"OnCase07" "Stage3_Boss_Func,FireUser1,,13,-1"
		"OnCase07" "Stage3_BossAttack_Shield_Particle,Stop,,13,-1"
		"OnCase10" "cmd,Command,say **MLG Duck summons Jackie (onii) Chan!**,0,1"
		"OnCase10" "Stage3_BossAttack_Jacek_Part,FireUser1,,0,1"
		"OnCase15" "Stage3_BossAttack_Doritos_Case,PickRandom,,0,-1"
		"OnCase16" "Stage3_BossAttack_Doritos_Case,PickRandom,,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage3_BossAttack_Doritos_Case"
		"hammerid" "525969"
	}
	delete:
	{
		"OnCase04" "cmd,Command,say **MLG Duck summons Doritos Cheese,0,0"
	}
	insert:
	{
		"OnCase04" "Stage3_BossAttackTimer,Disable,,0,0"
		"OnCase04" "cmd,Command,say **MLG Duck summons Doritos Cheese**,0,0"
		"OnCase04" "cmd,Command,say **Destroy Doritos Cheese before is too late!**,2,0"
	}
}
modify:
{
    match:
    {
	    "targetname" "Stage3_BossAttack_DoritosCheese_fade_all"
        "classname" "env_fade"
    }
    replace:
    {
		"renderamt" "115"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage3_BossAttack_Shrek_hurt"
        "classname" "trigger_hurt"
    }
    replace:
    {
		"damage" "40"
    }
}
modify:
{
	match:
	{
		"targetname" "Stage3_BossAttack_DoritosMTN_Hurt"
		"hammerid" "540803"
	}
	delete:
	{
		"OnStartTouch" "speed,ModifySpeed,6.00,0,-1"
	}
	insert:
	{
		"OnStartTouch" "speed,ModifySpeed,8.00,0,-1"
	}
}
modify:
{
    match:
    {
	    "targetname" "Stage3_BossAttack_DoritosFlames_Hurt"
        "classname" "trigger_hurt"
    }
    replace:
    {
		"damage" "8"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage3_BossAttack_PringlesBomb_hurt"
        "classname" "trigger_hurt"
    }
    replace:
    {
		"damagecap" "15"
		"damage" "15"
    }
}
modify:
{
	match:
	{
		"targetname" "Stage3_MLG_Duck_HP"
		"hammerid" "191665"
	}
	delete:
	{
		"OnHitMin" "Stage3_TeleportAFK_010,Enable,,13,-1"
	}
	insert:
	{
		"OnHitMin" "Stage3_TeleportAFK_010,Enable,,10,-1"
	}
}
;---------------------------------------
;Fix chopper boss bugs
;---------------------------------------
modify:
{
    match:
    {
	    "targetname" "Stage2_Boss_MainBody_DoorR"
        "classname" "func_movelinear"
    }
    replace:
    {
		"origin" "9034 13634.5 -622.5"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_Boss_MainBody_DoorL"
        "classname" "func_movelinear"
    }
    replace:
    {
		"origin" "9034 13523.5 -622.5"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_Boss_MainBody_DoorR"
        "classname" "func_movelinear"
    }
	delete:
	{
		"OnUser1" "Stage2_Boss_MainBody_DoorR,Open,,0,-1"
		"OnUser1" "Stage2_Boss_MainBody_DoorR,Close,,9,-1"
	}
}
modify:
{
    match:
    {
	    "targetname" "Stage2_Boss_MainBody_DoorL"
        "classname" "func_movelinear"
    }
	delete:
	{
		"OnUser1" "Stage2_Boss_MainBody_DoorL,Open,,0,-1"
		"OnUser1" "Stage2_Boss_MainBody_DoorL,Close,,9,-1"
	}
}
;---------------------------------------
;Open electric cherry doors
;---------------------------------------
modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "178791"
	}
	insert:
	{
		"OnNewGame" "electric cherry_model_door,Open,,5,-1"
	}
}
;---------------------------------------
;Balance gersh device item
;---------------------------------------
modify:
{
    match:
    {
	    "targetname" "mine_hurt2"
        "classname" "trigger_hurt"
    }
    replace:
    {
		"damagecap" "200"
		"damage" "750"
    }
}
;---------------------------------------
;Balance Serious Bomb item
;---------------------------------------
modify:
{
    match:
    {
	    "targetname" "Item_Serious_Bomb_hurt"
        "classname" "trigger_hurt"
    }
    replace:
    {
		"damagecap" "1"
		"damage" "1"
    }
}
modify:
{
    match:
    {
	    "targetname" "Item_Serious_Bomb_hurt"
        "classname" "trigger_hurt"
    }
   insert:
	{
		"OnStartTouch" "!activator,AddOutput,health 250,0,-1"
	}
}
;---------------------------------------
;Balance and fix Nuke item
;---------------------------------------
modify:
{
    match:
    {
	    "targetname" "Item_Nuke_Fade_002"
        "classname" "env_fade"
    }
    replace:
    {
		"renderamt" "100"
    }
}
modify:
{
    match:
    {
	    "targetname" "Nuke_secret_counter"
        "classname" "math_counter"
    }
    replace:
    {
		"max" "4"
    }
}
;---------------------------------------
;Balance M4 item
;---------------------------------------
modify:
{
    match:
    {
	    "targetname" "Weapon_m4_hurt"
        "classname" "trigger_hurt"
    }
    replace:
    {
		"damage" "550"
    }
}
modify:
{
    match:
    {
	    "targetname" "Weapon_m4_hurt"
        "classname" "trigger_hurt"
    }
	delete:
	{
		"OnStartTouch" "speed,ModifySpeed,0.35,0,-1"
	}
	insert:
	{
		"OnStartTouch" "speed,ModifySpeed,0.79,0,-1"
	}
}
;---------------------------------------
;Balance Doritos item
;---------------------------------------
modify:
{
    match:
    {
	    "targetname" "Weapon_doritosS_hurt"
        "classname" "trigger_multiple"
    }
	delete:
	{
		"OnStartTouch" "speed,ModifySpeed,1.80,0,-1"
	}
	insert:
	{
		"OnStartTouch" "speed,ModifySpeed,2.35,0,-1"
	}
}
;---------------------------------------
;Balance Perk Cola items
;---------------------------------------
modify:
{
	match:
	{
		"targetname" "Weapon_Stamina_Up_hurt"
		"hammerid" "916947"
	}
	delete:
	{
		"OnStartTouch" "speed,ModifySpeed,2.15,0,-1"
	}
	insert:
	{
		"OnStartTouch" "speed,ModifySpeed,2.22,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_electric cherry_hurt"
		"hammerid" "1110120"
	}
	delete:
	{
		"OnStartTouch" "speed,ModifySpeed,0.68,0,-1"
	}
	insert:
	{
		"OnStartTouch" "speed,ModifySpeed,0.68,0,-1"
	}
}
modify:
{
    match:
    {
	    "targetname" "Item_phd_flopper_fade2"
        "classname" "env_fade"
    }
    replace:
    {
		"renderamt" "85"
    }
}
modify:
{
    match:
    {
	    "targetname" "Item_raygun_Spawner"
        "classname" "env_entity_maker"
    }
    replace:
    {
		"origin" "8695 6085 -4236"
    }
}
;---------------------------------------
;Better songs have bigger chance to play 
;---------------------------------------
modify:
{
	match:
	{
		"targetname" "Stage3_Music_case_001"
		"hammerid" "1428166"
	}
	insert:
	{
		"OnCase04" "stage3_harder_better_faster_stronger.mp3,FireUser1,,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Stage3_Music_case_002"
		"hammerid" "999681"
	}
	insert:
	{
		"OnCase03" "stage3_reflections.mp3,FireUser1,,0,-1"
	}
}
;---------------------------------------
;Fix Sans sprite
;---------------------------------------
modify:
{
    match:
    {
	    "targetname" "Stage3_BossAttack_Sans_Sprite"
        "classname" "env_sprite"
    }
    replace:
    {
		"scale" "0.25"
		"model" "malgo/particle/sans_001.vmt"
    }
}
;---------------------------------------
;Nerf last defend stage 3
;---------------------------------------
modify:
{
	match:
	{
		"targetname" "Stage3_heli_track_13"
		"hammerid" "786012"
	}
	delete:
	{
		"OnPass" "Stage3_TeleportAFK_012,Enable,,3,-1"
	}
	insert:
	{
		"OnPass" "Stage3_TeleportAFK_012,Enable,,5,-1"
	}
}
;---------------------------------------
;Faster spawn items from mystery box
;---------------------------------------
modify:
{
	match:
	{
		"targetname" "Mysterybox_case_move2"
		"hammerid" "1272839"
	}
	delete:
	{
		"OnCase01" "Mysterybox_gun_*,Kill,,7.01,-1"
		"OnCase01" "Mysterybox_spawner,ForceSpawn,,7.01,-1"
		"OnCase02" "Mysterybox_gun_*,Kill,,7.01,-1"
		"OnCase02" "Mysterybox_spawner,ForceSpawn,,7.01,-1"
		"OnCase03" "Mysterybox_gun_*,Kill,,7.01,-1"
		"OnCase03" "Mysterybox_spawner,ForceSpawn,,7.01,-1"
		"OnCase04" "Mysterybox_gun_*,Kill,,7.01,-1"
		"OnCase04" "Mysterybox_spawner,ForceSpawn,,7.01,-1"
		"OnCase05" "Mysterybox_gun_*,Kill,,7.01,-1"
		"OnCase05" "Mysterybox_spawner,ForceSpawn,,7.01,-1"
		"OnCase06" "Mysterybox_gun_*,Kill,,7.01,-1"
		"OnCase06" "Mysterybox_spawner,ForceSpawn,,7.01,-1"
	}
	insert:
	{
		"OnCase01" "Mysterybox_gun_*,Kill,,5.01,-1"
		"OnCase01" "Mysterybox_spawner,ForceSpawn,,5.01,-1"
		"OnCase02" "Mysterybox_gun_*,Kill,,5.01,-1"
		"OnCase02" "Mysterybox_spawner,ForceSpawn,,5.01,-1"
		"OnCase03" "Mysterybox_gun_*,Kill,,5.01,-1"
		"OnCase03" "Mysterybox_spawner,ForceSpawn,,5.01,-1"
		"OnCase04" "Mysterybox_gun_*,Kill,,5.01,-1"
		"OnCase04" "Mysterybox_spawner,ForceSpawn,,5.01,-1"
		"OnCase05" "Mysterybox_gun_*,Kill,,5.01,-1"
		"OnCase05" "Mysterybox_spawner,ForceSpawn,,5.01,-1"
		"OnCase06" "Mysterybox_gun_*,Kill,,5.01,-1"
		"OnCase06" "Mysterybox_spawner,ForceSpawn,,5.01,-1"
	}
}
;---------------------------------------
;Fix Chopper boss shoot ambient and boost his attacks
;---------------------------------------
modify:
{
    match:
    {
	    "targetname" "Stage2_Boss_MainBody_MinigunRot2RHurt"
        "classname" "trigger_hurt"
    }
    replace:
    {
	"damage" "115"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_chopper_laser"
        "classname" "env_laser"
    }
    replace:
    {
	"damage" "35"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424721"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424737"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424740"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424746"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424758"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424761"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424770"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424773"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424776"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_Gas_Hurt"
        "classname" "trigger_hurt"
		"hammerid" "424785"
    }
    replace:
    {
	"damage" "25"
    }
}
modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_chopper_attack_timer"
        "classname" "logic_timer"
    }
    replace:
    {
	"RefireTime" "4"
    }
}

modify:
{
    match:
    {
	    "targetname" "Stage2_BossAttack_chopper_gun_sound"
        "classname" "ambient_generic"
    }
    replace:
    {
	"message" "npc/attack_helicopter/aheli_weapon_fire_loop3.wav"
    }
}
;---------------------------------------
;Change spawn of 2 secret nuke boxes
;---------------------------------------
modify:
{
	match:
	{
		"targetname" "Nuke_secret_start_relay"
		"hammerid" "892408"
	}
	delete:
	{
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 6853 5513 -2413,1.05,-1"
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 11811 7988 -2488,3.05,-1"
	}
	insert:
	{
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 9556 9113 -1163.87,1.05,-1"
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 9480.22 8156.56 -2497.5,3.05,-1"
	}
}
;---------------------------------------
;Change spawn of 3 secret serious bomb boxes
;---------------------------------------
modify:
{
	match:
	{
		"targetname" "Serious_secret_start_relay"
		"hammerid" "892412"
	}
	delete:
	{
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 10348.1 9799.48 -2504,1.05,-1"
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 5796 9070 -2482,3.05,-1"
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 9507.22 8281.3 -2384,4.05,-1"
	}
	insert:
	{
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 10053 8173 -2009.87,1.05,-1"
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 12317 8452 -2383.85,3.05,-1"
		"OnTrigger" "Map_Special3_Spawner,AddOutput,origin 9498 8185 -2511.87,4.05,-1"
	}
}
;---------------------------------------
;Boost MTN items
;---------------------------------------
modify:
{
	match:
	{
		"targetname" "Weapon_mtn_hurt"
		"hammerid" "828605"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,max_health 185,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,max_health 205,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Weapon_mtnS_hurt"
		"hammerid" "829358"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,max_health 255,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,max_health 295,0,-1"
	}
}

;---------------------------------------
;Change stage 3 ending
;---------------------------------------
modify:
{
	match:
	{
		"targetname" "Duck laser relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Duck laser template,ForceSpawn,,4,-1"
		"OnTrigger" "Duck laser timer,Enable,,6,-1"
		"OnTrigger" "Stage3_Laser_Duck_Multi,Enable,,4,-1"
		"OnTrigger" "Stage3_Laser_Duck_Multi,Disable,,4.1,-1"
		"OnTrigger" "Stage3_TeleportAFK_013,Enable,,3,-1"
		"OnTrigger" "cmd,Command,say **Get ready for the last battle!**,2,-1"
		"OnTrigger" "Explosion_Temp_huge,ForceSpawn,,4.05,-1"
		"OnTrigger" "Explosion_Temp_huge,AddOutput,origin 13159 8394 -1215,4,-1"
		"OnTrigger" "cmd,Command,say **Paper King is here!?**,0,0"
		"OnTrigger" "cmd,Command,say **Wait?! MLG Duck is still alive! Shoot!**,4,-1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say **Paper King is here!?**,0,-1"
		"OnTrigger" "cmd,Command,say **I was sure he died in the helicopter!**,2,-1"
		"OnTrigger" "cmd,Command,say **Doesn't matter! We'll get him next time! In Ratescape2!**,4,-1"
		"OnTrigger" "Stage3_WinTriggerCt,Enable,,6,-1"
	}
}

modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "178791"
	}
	delete:
	{
		"OnNewGame" "cmd,Command,say **Map Status: No Stripper!**,0,-1"
	}
	insert:
	{
		"OnNewGame" "cmd,Command,say **Map Status: Stripper #7  Enable!**,0,-1"
	}
}





;; _

;; music volume

modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage1_colours.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage1_colours.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage1_infiltrate.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage1_infiltrate.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage1_propane_nightmares.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage1_propane_nightmares.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage2_assaulting.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage2_assaulting.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage2_dont_stay.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage2_dont_stay.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage2_energy.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage2_energy.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage2_faint.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage2_faint.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage2_gravity.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage2_gravity.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage2_papercut.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage2_papercut.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage3_bones.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage3_bones.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage3_downtown_tokyo.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage3_downtown_tokyo.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage3_finale.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage3_finale.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage3_harder_better_faster_stronger.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage3_harder_better_faster_stronger.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage3_mlg_song.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage3_mlg_song.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage3_propane_nightmares_[celldweller_remix].mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage3_propane_nightmares_[celldweller_remix].mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage3_reflections.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage3_reflections.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/stage3_transcend.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/stage3_transcend.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/zm_miracle.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/zm_miracle.mp3"
	}
}
modify:
{
	match:
	{
		"message" "malgo/music/ratescape new/remake/zm_wojna.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#malgo/music/ratescape new/remake/zm_wojna.mp3"
	}
}

