;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;EVENT BOSS ALL THE TIME
;PERMANENT BRANCH TO TOGGLE IT
;------------------------------

add:
{
	"origin" "0 0 0"
	"spawnflags" "1"
	"classname" "logic_auto"
	"OnMapSpawn" "Stripper_Event_Init,FireUser1,,0,1"
}
add:
{
	"targetname" "Stripper_Event_Init"
	"origin" "0 0 0"
	"classname" "info_target"
	"OnUser1" "Template_PermStripperEventMode,ForceSpawn,,0,1"
	"OnUser1" "Stripper_Event_Branch,AddOutput,classname info_target,0.03,1"
	"OnUser1" "!self,Kill,,0.06,1"
}

add:
{
	"targetname" "Template_PermStripperEventMode"
	"origin" "0 0 0"
	"Template01" "Stripper_Event_Branch"
	"spawnflags" "2"
	"classname" "point_template"
	"OnEntitySpawned" "!self,Kill,,0,-1"
}

add:
{
	"targetname" "Stripper_Event_Branch"
	"origin" "0 0 0"
	"InitialValue" "0"
	"classname" "logic_branch"
	"OnFalse" "bossendings,PickRandom,,0,-1"
	"OnTrue" "bossendings,InValue,door3,0,-1"
	"OnUser1" "!self,SetValue,1,0,-1"
	"OnUser2" "!self,SetValue,0,0,-1"
}

modify:
{
	match:
	{
		"origin" "4822.98 1745.53 -2333.5"
		"classname" "trigger_multiple"
		"hammerid" "101418"
	}
	delete:
	{
		"OnStartTouch" "bossendings,PickRandomShuffle,,25,1"
	}
	insert:
	{
		"OnStartTouch" "Stripper_Event_Branch,Test,,25,1"
	}
}
