;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;FIX ZM TP LVL2
;-----------------

modify:
{
	match:
	{
		"targetname" "Stage2_Gate_Bridge_Extra"
		"classname" "func_door_rotating"
	}
	insert:
	{
		"OnFullyOpen" "Stage2_Boss_Zombie_Tp,Kill,,0,1"
	}
}



;; _

;; stage 2 - fix key getting stuck in the air (no idea, for now just trigger it automatically)

filter:
{
	"targetname" "Crow_Key_Trigger"
	"classname" "trigger_once"
	"hammerid" "17691608"
}

modify:
{
	match:
	{
		"targetname" "BigAss_Crow_Path_2"
		"classname" "path_track"
	}
	insert:
	{
		"OnPass" "Crow_Key,EnableMotion,,0.5,1"

		"OnPass" "Map_Command,Command,say ***This Must Be The Key To The Village***,5,1"
		"OnPass" "Crow_Key,Kill,,5,1"
		"OnPass" "Stage2_Tp_4,Enable,,25,1"
		"OnPass" "Stage2_Tp_5,Disable,,16.3,1"
		"OnPass" "Luffy_thunder_model_02,Kill,,16.3,1"
		"OnPass" "Stage2_Arrow_Guide,AddOutput,angles 0 0 0,16.02,1"
		"OnPass" "Stage2_Arrow_Guide,AddOutput,origin -7352 -5552 2456,16,1"
		"OnPass" "Luffy_thunder_model_02,Disable,,16,1"
		"OnPass" "Stage2_Tp_5,Enable,,16,1"
		"OnPass" "Map_Fade_Out,FireUser1,,15,1"
		"OnPass" "Luffy_thunder_model_02,Enable,,15,1"
		"OnPass" "Lighting_Sound,PlaySound,,15,1"
		"OnPass" "Map_Command,Command,say ***Defend This Area For 10 Seconds***,7,1"
		"OnPass" "Crow_Key_Sprite,Kill,,5,1"
	}
}

;; effects volume

modify:
{
	match:
	{
		"targetname" "Spawn_Fire_Sound"
		"classname" "ambient_generic"
	}
	replace:
	{
		"health" "2"
	}
}
modify:
{
	match:
	{
		"noise1" "plats/elevator_loop1.wav"
		"speed" "20"
		"classname" "func_door"
	}
	replace:
	{
		"loopmovesound" "0"
	}
}