;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;FIX NUKE TRIGGER
;------------------

modify:
{
	match:
	{
		"targetname" "murfin"
		"classname" "func_wall"
	}
	replace:
	{
		"classname" "func_wall_toggle"
	}
}

;----------------
;FIX BUTTON SPAM
;----------------

modify:
{
	match:
	{
		"targetname" "gen elec 3"
		"classname" "func_button"
		"hammerid" "3527"
	}
	delete:
	{
		"OnDamaged" "etincelles 3,StartSpark,,0,-1"
		"OnDamaged" "murfin,Kill,,43,1"
		"OnDamaged" "truck,StartForward,,40,-1"
		"OnDamaged" "serverc,Command,say Explosion of the nuclear plant imminent !,2,-1"
		"OnDamaged" "radiationalarm,PlaySound,,0,-1"
		"OnDamaged" "serverc,Command,say Truck departure in 40 seconds,0,-1"
		"OnDamaged" "serverc,Command,say Warning! Overloading of reactor.,1.5,-1"
		"OnDamaged" "evacuate,PlaySound,,1,-1"
		"OnDamaged" "baisse fairy tail,Trigger,,0,-1"
		"OnDamaged" "Ladder,Break,,0,-1"
	}
	insert:
	{
		"OnDamaged" "etincelles 3,StartSpark,,0,1"
		"OnDamaged" "murfin,Kill,,43,1"
		"OnDamaged" "truck,StartForward,,40,1"
		"OnDamaged" "serverc,Command,say Explosion of the nuclear plant imminent !,2,1"
		"OnDamaged" "radiationalarm,PlaySound,,0,1"
		"OnDamaged" "serverc,Command,say Truck departure in 40 seconds,0,1"
		"OnDamaged" "serverc,Command,say Warning! Overloading of reactor.,1.5,1"
		"OnDamaged" "evacuate,PlaySound,,1,1"
		"OnDamaged" "baisse fairy tail,Trigger,,0,1"
		"OnDamaged" "Ladder,Break,,0,1"
	}
}

;------------------
;REMOVE AFK KILLER
;------------------

filter:
{
	"targetname" "afk killer"
	"classname" "trigger_hurt"
}
add:
{
	"model" "*133"
	"targetname" "AFK_Tp1"
	"target" "AFK_Dest1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-1961.5 -926 -333"
	"classname" "trigger_teleport"
}
add:
{
	"origin" "1130 -2121 -399"
	"targetname" "AFK_Dest1"
	"angles" "0 135 0"
	"classname" "info_teleport_destination"
}

modify:
{
	match:
	{
		"origin" "-2040 -1003.6 -348"
		"classname" "logic_auto"
		"hammerid" "3309"
	}
	delete:
	{
		"OnMapSpawn" "afk killer,Enable,,80,-1"
		"OnMapSpawn" "serverc,Command,say AFK KILLER enabled,60,-1"
	}
	insert:
	{
		"OnMapSpawn" "AFK_Tp1,Enable,,80,1"
		"OnMapSpawn" "serverc,Command,say AFK Teleport Enabled,60,1"
	}
}
modify:
{
	match:
	{
		"origin" "-1895 -2560.5 10"
		"classname" "trigger_once"
		"hammerid" "3502"
	}
	delete:
	{
		"OnStartTouch" "serverc,Command,say AFK killer disabled,0,-1"
		"OnStartTouch" "afk killer,Disable,,0,-1"
	}
	insert:
	{
		"OnStartTouch" "serverc,Command,say Shortcut at spawn open,0,1"
		"OnStartTouch" "AFK_Tp1,Disable,,0,1"
	}
}

;--------------------
;INCREASE NUKE DAMAGE
;--------------------
modify:
{
	match:
	{
		"targetname" "death"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "50000"
	}
}
;------------------------------------------------
;------Stripper sent by encapsulation_dot1q------
;------------------------------------------------
modify:
{
	match:
	{
		"targetname" "truck"
	}
	replace:
	{
		"orientationtype" "2"
		"spawnflags" "514"
	}
}
 
modify:
{
	match:
	{
		"hammerid" "3309"
	}
	insert:
	{
		"OnMapSpawn" "block bullet 1,Enable,,0,-1"
		"OnMapSpawn" "block bullet 2,Enable,,0,-1"
	}
}
 
modify:
{
	match:
	{
		"targetname" "block bullet 1"
	}
	replace:
	{
		"classname" "func_brush"
	}
	insert:
	{
		"spawnflags" "2"
		"StartDisabled" "0"
		"InputFilter" "0"
		"Solidity" "0"
		"solidbsp" "0"	
	}
}
 
modify:
{
	match:
	{
		"targetname" "gen elec 1"
	}
	delete:
	{
		"OnDamaged" "block bullet 1,Kill,,0,-1"
	}
	insert:
	{
		"OnDamaged" "block bullet 1,Disable,,0,-1"
	}
}
 
modify:
{
	match:
	{
		"targetname" "block bullet 2"
	}
	replace:
	{
		"classname" "func_brush"
	}
	insert:
	{
		"spawnflags" "2"
		"StartDisabled" "0"
		"InputFilter" "0"
		"Solidity" "0"
		"solidbsp" "0"	
	}
}
 
modify:
{
	match:
	{
		"targetname" "gen elec 2"
	}
	delete:
	{
		"OnDamaged" "block bullet 2,Kill,,0,-1"
	}
	insert:
	{
		"OnDamaged" "block bullet 2,Disable,,0,-1"
	}
}
 
modify:
{
	add:
	{
		"model" "*120"
		"classname" "func_brush"
		"rendermode" "10"
		"spawnflags" "2"
		"StartDisabled" "0"
		"InputFilter" "0"
		"Solidity" "0"
		"solidbsp" "0"
		"origin" "1472.5 -1097 -10"
	}
}
