

;-------------------------
; Admin room plugin
; Add entities to execute
;-------------------------

add:
{
	"origin" "0 0 0"
	"targetname" "Stripper_AdminRoom_Level1"
	"StartDisabled" "0"
	"spawnflags" "0"
	"classname" "logic_relay"
	"hammerid" "200001"
	"OnTrigger" "Level_Counter,SetValue,1,0,-1"
	"OnTrigger" "Server,Command,say Admin selected Level 1,0,-1"
}
add:
{
	"origin" "0 0 0"
	"targetname" "Stripper_AdminRoom_Level2"
	"StartDisabled" "0"
	"spawnflags" "0"
	"classname" "logic_relay"
	"hammerid" "200002"
	"OnTrigger" "Level_Counter,SetValue,2,0,-1"
	"OnTrigger" "Server,Command,say Admin selected Level 2,0,-1"
}


;------------------
; Reduce hold time
;------------------

modify:
{
	match:
	{
		"targetname" "st2_trigger_boss_start_fight"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "glassa,Start,,105,1"
		"OnTrigger" "Server,Command,say Advice friend didn't left us. . .,105,1"
		"OnTrigger" "heal_trigger,Enable,,110,1"
		"OnTrigger" "healing,Start,,110,1"
		"OnTrigger" "Server,Command,say Advice friend used Heal Magic and ending in 12s. . .,110,1"
		"OnTrigger" "poison_swamp_light2,TurnOn,,110,1"
		"OnTrigger" "heal_trigger,Disable,,122,1"
		"OnTrigger" "glassa,Stop,,122,1"
		"OnTrigger" "healing,Stop,,122,1"
		"OnTrigger" "poison_swamp_light2,TurnOff,,122,1"
	}
	insert:
	{
		"OnTrigger" "glassa,Start,,75,1"
		"OnTrigger" "Server,Command,say Advice friend didn't left us. . .,75,1"
		"OnTrigger" "heal_trigger,Enable,,80,1"
		"OnTrigger" "healing,Start,,80,1"
		"OnTrigger" "Server,Command,say Advice friend used Heal Magic and ending in 12s. . .,80,1"
		"OnTrigger" "poison_swamp_light2,TurnOn,,80,1"
		"OnTrigger" "heal_trigger,Disable,,90,1"
		"OnTrigger" "glassa,Stop,,90,1"
		"OnTrigger" "healing,Stop,,90,1"
		"OnTrigger" "poison_swamp_light2,TurnOff,,90,1"
	}
}


;------------------
; Increase Heal
;------------------

modify:
{
	match:
	{
		"targetname" "st2_health"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,health 120,0.02,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,health 230,0.02,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "heal_trigger"
		"classname" "trigger_hurt"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,max_health 120,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,max_health 230,0,-1"
	}
}

;------------------
; Reduce Damage
;------------------

modify:
{
	match:
	{
		"targetname" "40_ballhurt1"
		"classname" "trigger_hurt"
		; "damage" "160"
	}
	replace:
	{
		"damage" "100"
	}
}


;------------------
; Move Output
;------------------

modify:
{
	match:
	{
		"targetname" "bossdeth_case"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase01" "st2_trigger_tpzm,Disable,,14,1"
	}
}

modify:
{
	match:
	{
		"targetname" "end_trigger"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "st2_trigger_tpzm,Disable,,100,1"
	}
}
