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

; Water Spawn

add:
{
	"model" "*265"
	"targetname" "boss_masstele2"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-3584 -1392 -48"
	"classname" "trigger_teleport"
}

; Above Door

add:
{
	"model" "*299"
	"targetname" "boss_masstele2"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-3968 -5632 528"
	"classname" "trigger_teleport"
}


; Rick Astley Boss

modify:
{
	match:
	{
		"origin" "-980 -13136 -1984"
		"classname" "trigger_hurt"
		"hammerid" "2423"
	}
	replace:
	{
		"origin" "-980 -13136 -1968"
	}
}

;------------------------------
;FIX BOSS STAGE 2 FALLING DOWN
;------------------------------

add:
{
	"origin" "12256 -8960 -256"
	"targetname" "FILTER_CY01Physic3"
	"Negated" "Allow entities that match criteria"
	"filtername" "CY01Physic3"
	"classname" "filter_activator_name"
}
add:
{
	"origin" "12256 -8960 -256"
	"targetname" "DESTINATION_CY01Physic3"
	"angles" "0 0 0"
	"classname" "info_teleport_destination"
}
add:
{
	"model" "*543"
	"origin" "12256 -8960 -800"
	"targetname" "TELEPORT_CY01Physic3"
	"target" "DESTINATION_CY01Physic3"
	"filtername" "FILTER_CY01Physic3"
	"spawnflags" "1088"
	"StartDisabled" "0"
	"classname" "trigger_teleport"
}

;--------------------------
;FIX STAGE 3 TP GLITCH END
;--------------------------

; Original tp is at -10304 -3840 1088
; Adding 3 below

add:
{
	"model" "*261"
	"targetname" "stage_2_endtele"
	"target" "stage_2_end"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-10304 -3840 448"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*261"
	"targetname" "stage_2_endtele"
	"target" "stage_2_end"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-10304 -3840 -192"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*261"
	"targetname" "stage_2_endtele"
	"target" "stage_2_end"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-10304 -3840 -832"
	"classname" "trigger_teleport"
}

;----------------------------------------------
;PREVENTS WALL SKIPS /STAGE 2 BEFORE THE BOSS/
;----------------------------------------------

add:
{
	"model" "*331"
	"wait" "1"
	"targetname" "break_wall"
	"StartDisabled" "0"
	"spawnflags" "1"
	"filtername" "blockade_filter"
	"origin" "8032 -6136 144"
	"classname" "trigger_multiple"
	"OnStartTouch" "blockade*,Break,,0,-1"
}


;----------------------------
;FIX STAGE 2 NUKE GLITCH END
;----------------------------

; Original hurt is at 12256 -8960 -224
; Adding 2 below

add:
{
	"model" "*541"
	"targetname" "stage_3_nuke"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "12256 -8960 -1248"
	"nodmgforce" "0"
	"damagetype" "0"
	"damagemodel" "0"
	"damagecap" "999999"
	"damage" "999999"
	"classname" "trigger_hurt"
}
add:
{
	"model" "*541"
	"targetname" "stage_3_nuke"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "12256 -8960 -2272"
	"nodmgforce" "0"
	"damagetype" "0"
	"damagemodel" "0"
	"damagecap" "999999"
	"damage" "999999"
	"classname" "trigger_hurt"
}

