;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;Remove Invalid Spawnpoint
;--------------------------

filter:
{
	"origin" "15776 -16272 -15712"
	"classname" "info_player_terrorist"
}

filter:
{
	"origin" "15776 -16272 -15696"
	"classname" "func_brush"
}

;---------------------------------
;Interstellar Escape Shortcut Fix
;---------------------------------

add:
{
	"model" "*136"
	"targetname" "ZomCarT2"
	"target" "ZomCarT"
	"StartDisabled" "0"
	"spawnflags" "1"
	"parentname" "ZomCar"
	"origin" "2734 11280 -170"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*136"
	"targetname" "ZomCarT2"
	"target" "ZomCarT"
	"StartDisabled" "0"
	"spawnflags" "1"
	"parentname" "ZomCar"
	"origin" "2734 11248 -170"
	"classname" "trigger_teleport"
}

;-------------------------------
;Interstellar Escape No Camping
;-------------------------------

add:
{
	"targetname" "InterstellarClip"
	"model" "*161"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "2192 11464 64"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_brush"
}
add:
{
	"angles" "0 90 0"
	"targetname" "InterstellarClip"
	"model" "*161"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "2376 11616 64"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_brush"
}

;----------------------
;Night City Real Fix ?
;----------------------

modify:
{
	match:
	{
		"classname" "func_illusionary"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

modify:
{
	match:
	{
		"parentname" "LS"
		"model" "models/props/de_nuke/lifepreserver.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}
modify:
{
	match:
	{
		"parentname" "FL"
		"model" "models/props/cs_assault/forklift.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}
modify:
{
	match:
	{
		"parentname" "VM"
		"model" "models/props/cs_office/vending_machine.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}
modify:
{
	match:
	{
		"parentname" "PT"
		"model" "models/props/de_dust/palm_tree_head_skybox.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}
modify:
{
	match:
	{
		"parentname" "bush"
		"model" "models/props/de_inferno/bushgreenbig.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}
modify:
{
	match:
	{
		"parentname" "Box"
		"model" "models/props/de_nuke/crate_small.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}
modify:
{
	match:
	{
		"parentname" "gyro"
		"model" "models/props/de_inferno/ceiling_fan_blade.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}
modify:
{
	match:
	{
		"parentname" "tv"
		"model" "models/props_c17/tv_monitor01.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}
modify:
{
	match:
	{
		"parentname" "broom"
		"model" "models/props_c17/pushbroom.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

;-------------------------------
;Night City Elevator Collisions
;-------------------------------

modify:
{
	match:
	{
		"targetname" "Elevator"
		"origin" "-16177 -14576 -15733"
		"classname" "func_tracktrain"
	}
	replace:
	{
		"spawnflags" "667" ;-> Unsolid
	}
}

add:
{
	"model" "*44"
	"targetname" "Elevator_Collisions"
	"parentname" "Elevator"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-16177 -14576 -15733"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}

;--------------------------------------
;Night City Fix Crash (Old WorkAround)
;--------------------------------------

;modify:
;{
;	match:
;	{
;		"targetname" "GP1"
;		"classname" "path_track"
;	}
;	delete:
;	{
;		"OnPass" "CITT,Disable,,15,1"
;		"OnPass" "CIT,Disable,,15,1"
;	}
;	insert:
;	{
;		"OnPass" "CITT,Disable,,0.00,1"
;		"OnPass" "CIT,Disable,,0.00,1"
;		"OnPass" "InBetween,Unlock,,3.00,1"
;	}
;}

;modify:
;{
;	match:
;	{
;		"targetname" "BT"
;		"classname" "trigger_teleport"
;	}
;	replace:
;	{
;		"target" "TargetSpawnT"
;	}
;}

;add:
;{
;	"model" "*108"
;	"StartDisabled" "0"
;	"spawnflags" "1"
;	"origin" "-14968 -14448 -12362"
;	"target" "TargetSpawn"
;	"filtername" "FilterC"
;	"classname" "trigger_teleport"
;	"hammerid" "648347"
;}

;add:
;{
;	"model" "*108"
;	"StartDisabled" "0"
;	"spawnflags" "1"
;	"origin" "-14968 -14448 -12361"
;	"target" "TargetSpawnT"
;	"filtername" "FilterT"
;	"classname" "trigger_teleport"
;	"hammerid" "648347"
;}

;-------------------------
;C4 Button - Zombies Only
;-------------------------

add:
{
	"origin" "15210 12272 15408"
	"targetname" "C4Filter"
	"Negated" "0"
	"filterteam" "2"
	"classname" "filter_activator_team"
	"hammerid" "812826"
	"OnPass" "c4,Kill,,25,1"
	"OnPass" "C4B,Kill,,25,1"
	"OnPass" "com,Command,say ***C4 set to go off in 25secs!***,0,1"
	"OnPass" "SE,Explode,,25,1"
	"OnPass" "C4X,Break,,25,1"
}

modify:
{
	match:
	{
		"targetname" "C4B"
		"classname" "func_button"
	}
	replace:
	{
		"wait" "1"
	}
	delete:
	{
		"OnPressed" "c4,Kill,,25,1"
		"OnPressed" "C4B,Kill,,25,1"
		"OnPressed" "com,Command,say ***C4 set to go off in 25secs!***,0,1"
		"OnPressed" "SE,Explode,,25,1"
		"OnPressed" "C4X,Break,,25,1"
	}
	insert:
	{
		"OnPressed" "C4Filter,TestActivator,,0,-1"
	}
}


;----------------------------
;Couch Escape - No Soft Lock
;----------------------------

modify:
{
	match:
	{
		"origin" "16256 -16256 -15928"
		"classname" "logic_auto"
		"hammerid" "812830"
	}
	insert:
	{
		"OnMapSpawn" "CouchFixBrush,Enable,,0,-1"
		"OnMapSpawn" "CouchFixBrush2,Enable,,0,-1"
	}
}

add:
{
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12736 -12536 16146"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}
add:
{
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12672 -12416 16202"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}

;++++++++++
;First Box
;++++++++++

add:
{
	"targetname" "CouchFixBrush"
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12640 -12096 16106"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}
add:
{
	"targetname" "CouchFixBrush"
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12736 -12096 16106"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}
add:
{
	"targetname" "CouchFixBrush"
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12816 -12032 16226"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}
add:
{
	"targetname" "CouchFixBrush"
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12560 -12032 16226"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}
add:
{
	"targetname" "CouchFixBrush"
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12736 -12032 16194"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}
add:
{
	"targetname" "CouchFixBrush"
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12608 -12032 16194"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}

modify:
{
	match:
	{
		"origin" "12672 -12088 16032"
		"classname" "func_physbox"
		"hammerid" "1030495"
	}
	insert:
	{
		"OnBreak" "CouchFixBrush,Disable,,0,-1"
	}
}

;+++++++++++
;Second Box
;+++++++++++

add:
{
	"angles" "0 90 0"
	"targetname" "CouchFixBrush2"
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12640 -12704 16146"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}
add:
{
	"targetname" "CouchFixBrush2"
	"model" "*304"
	"vrad_brush_cast_shadows" "0"
	"StartDisabled" "0"
	"spawnflags" "2"
	"Solidity" "0"
	"solidbsp" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "12736 -12536 16146"
	"invert_exclusion" "0"
	"InputFilter" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_brush"
}

modify:
{
	match:
	{
		"origin" "12576 -12608 15944"
		"classname" "func_physbox"
		"hammerid" "1034252"
	}
	insert:
	{
		"OnBreak" "CouchFixBrush2,Disable,,0,-1"
	}
}


;------------------------------------------
;Slender - Spawn on players (like in b7.3)
;------------------------------------------

; "model" "*374" = Slender Hurt
; "model" "*28" = Trigger Around the whole area

; Remove all current slenderman entities

filter:
{
	"model" "models/3d/slender/slender.mdl"
	"DisableBoneFollowers" "0"
	"classname" "prop_dynamic"
}
filter
{
	"targetname" "/SlenderHurt.*/"
	"classname" "trigger_hurt"
}
filter
{
	"targetname" "/SlenderTemp.*/"
	"classname" "point_template"
}

filter:
{
	"parentname" "Sman"
	"classname" "trigger_hurt"
}
filter:
{
	"targetname" "SlenderCase"
	"classname" "logic_case"
}

; Add the new slender

add:
{
	"origin" "-10160 9564 -16032"
	"Template03" "CoolSlenderRelay"
	"Template02" "CoolSlenderModel"
	"Template01" "CoolSlenderHurt"
	"targetname" "CoolSlenderTemplate"
	"spawnflags" "0"
	"classname" "point_template"
}

add:
{
	"origin" "-10160 9564 -16096"
	"targetname" "CoolSlenderRelay"
	"classname" "logic_relay"
	"OnSpawn" "CoolSlenderHurt,Kill,,5,1"
	"OnSpawn" "CoolSlenderRelay,Kill,,0,1"
	"OnSpawn" "CoolSlenderModel,Kill,,5,1"
}
add:
{
	"origin" "-10160 9564 -16096"
	"targetname" "CoolSlenderModel"
	"StartDisabled" "0"
	"spawnflags" "0"
	"solid" "0"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "116 96 196 200"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"model" "models/3d/slender/slender.mdl"
	"mindxlevel" "0"
	"MinAnimTime" "5"
	"maxdxlevel" "0"
	"MaxAnimTime" "10"
	"fadescale" "1"
	"fademindist" "-1"
	"fademaxdist" "0"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"DisableBoneFollowers" "1"
	"angles" "0 90 0"
	"classname" "prop_dynamic"
}
add:
{
	"model" "*374"
	"targetname" "CoolSlenderHurt"
	"StartDisabled" "0"
	"spawnflags" "1"
	"parentname" "CoolSlenderModel"
	"origin" "-10160 9568 -16048"
	"nodmgforce" "0"
	"filtername" "FilterC"
	"damagetype" "64"
	"damagemodel" "0"
	"damagecap" "20"
	"damage" "100000"
	"classname" "trigger_hurt"
}

add:
{
	"origin" "-10160 9564 -16096"
	"targetname" "OpenField_Maker"
	"spawnflags" "0"
	"PostSpawnInheritAngles" "0"
	"PostSpawnDirectionVariance" "0.15"
	"PostSpawnDirection" "0 0 0"
	"EntityTemplate" "CoolSlenderTemplate"
	"angles" "0 0 0"
	"classname" "env_entity_maker"
}
add:
{
	"model" "*28"
	"wait" "8"
	"targetname" "OpenField_Maker_Trigger"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-10160 10160 -15856"
	"filtername" "FilterC"
	"classname" "trigger_multiple"
	"OnTrigger" "OpenField_Maker,SetParent,!activator,0,-1"
	"OnTrigger" "OpenField_Maker,SetParentAttachment,primary,0.05,-1"
	"OnTrigger" "OpenField_Maker,ClearParent,,0.1,-1"
	"OnTrigger" "OpenField_Maker,AddOutput,angles 0 0 0,0.15,-1"
	"OnTrigger" "OpenField_Maker,ForceSpawn,,1,-1"
}

modify:
{
	match:
	{
		"origin" "-10160 10160 -15856"
		"classname" "trigger_once"
		"hammerid" "18641"
	}
	delete:
	{
		"OnStartTouch" "SlenderCase,Kill,,90,1"
		"OnStartTouch" "SlenderCase,PickRandomShuffle,,0,1"
		"OnStartTouch" "Sman,Kill,,3,1"
		"OnStartTouch" "SlenderTemp15,Kill,,90,1"
		"OnStartTouch" "SlenderTemp14,Kill,,90,1"
		"OnStartTouch" "SlenderTemp13,Kill,,90,1"
		"OnStartTouch" "SlenderTemp12,Kill,,90,1"
		"OnStartTouch" "SlenderTemp11,Kill,,90,1"
		"OnStartTouch" "SlenderTemp10,Kill,,90,1"
		"OnStartTouch" "SlenderTemp9,Kill,,90,1"
		"OnStartTouch" "SlenderTemp8,Kill,,90,1"
		"OnStartTouch" "SlenderTemp7,Kill,,90,1"
		"OnStartTouch" "SlenderTemp6,Kill,,90,1"
		"OnStartTouch" "SlenderTemp5,Kill,,90,1"
		"OnStartTouch" "SlenderTemp4,Kill,,90,1"
		"OnStartTouch" "SlenderTemp3,Kill,,90,1"
		"OnStartTouch" "SlenderTemp2,Kill,,90,1"
		"OnStartTouch" "SlenderTemp1,Kill,,90,1"
		"OnStartTouch" "SlenderTemp,Kill,,90,1"
	}
	insert:
	{
		"OnStartTouch" "CoolSlenderTemplate,ForceSpawn,,0,1"
		"OnStartTouch" "CoolSlenderModel*,Kill,,3,1"
		"OnStartTouch" "OpenField_Maker_Trigger,Enable,,10,1"
		"OnStartTouch" "OpenField_*,Kill,,90,1"
		"OnStartTouch" "CoolSlender*,Kill,,90,1"
	}
}

;--------------------------------
;UNLOZE: Disable Fail Nade Spawn
;--------------------------------

modify:
{
	match:
	{
		"origin" "15776 -15776 -15744"
		"classname" "trigger_once"
		"hammerid" "373456"
	}
	insert:
	{
		"OnStartTouch" "com,Command,exec nadekboff,0,1"
		"OnStartTouch" "com,Command,zr_unrestrict awp,1,1"
		"OnStartTouch" "com,Command,exec nadekbon,26,1"
	}
}



;; _

;; music volume

modify:
{
	match:
	{
		"message" "mysounds/dusty desert.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/dusty desert.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/feels so good.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/feels so good.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/final boss.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/final boss.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/forest entrance.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/forest entrance.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/ge 999 op.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/ge 999 op.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/inbound.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/inbound.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/kingdom valley.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/kingdom valley.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/new quack city.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/new quack city.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/nightfall.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/nightfall.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/rusty_ruins_2.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/rusty_ruins_2.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/sa icecap.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/sa icecap.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/shadowy woods.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/shadowy woods.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/the fall.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/the fall.mp3"
	}
}
modify:
{
	match:
	{
		"message" "mysounds/yakety sax.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#mysounds/yakety sax.mp3"
	}
}

;; tp zm from nadebox after bossfight

add:
{
	"model" "*375"
	"targetname" "NadeTS_T"
	"target" "ZMTargetT"
	"filtername" "FilterT"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "14568 15232 -16108"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"targetname" "FBK"
		"classname" "func_breakable"
	}
	insert:
	{
		"OnBreak" "NadeTS_T,Enable,,0,1"
	}
}

;; kill nadecrate on final attack

modify:
{
	match:
	{
		"targetname" "FA"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnStartTouch" "NadeSP,Kill,,0,1"
		"OnStartTouch" "NadeSB,Kill,,0,1"
	}
}

;; classic - fix zombie teleport

modify:
{
	match:
	{
		"targetname" "CTT"
		"classname" "trigger_teleport"
	}
	replace:
	{
		"origin" "10368 -15464 -16071"
	}
}

;; couch, city - deduct points for shooting breakables

add:
{
	"origin" "-15935 -14668 -15736"
	"targetname" "DeductScore"
	"spawnflags" "1"
	"points" "-1"
	"classname" "game_score"
}
modify:
{
	match:
	{
		"targetname" "/EBC.*/"
		"classname" "func_breakable"
	}
	insert:
	{
		"OnHealthChanged" "DeductScore,ApplyScore,,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "ZCB"
		"classname" "func_breakable"
	}
	insert:
	{
		"OnHealthChanged" "DeductScore,ApplyScore,,0,-1"
	}
}

;; apply score for triggering last switches

modify:
{
	match:
	{
		"origin" "15232 15232 -16064"
		"classname" "trigger_once"
		"hammerid" "434542"
	}
	insert:
	{
		"OnStartTouch" "DeductScore,AddOutput,points 25,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "/filterboss.*/"
		"classname" "filter_activator_team"
	}
	insert:
	{
		"OnPass" "DeductScore,ApplyScore,,0,1"
	}
}