; add buyzone
add:
{
	"model" "*134"
	"targetname" "buyzone_ct"
	"TeamNum" "3"
	"origin" "1040 -14528 -5728"
	"classname" "func_buyzone"
}
add:
{
	"model" "*134"
	"targetname" "buyzone_t"
	"TeamNum" "2"
	"origin" "1040 -14528 -5728"
	"classname" "func_buyzone"
}


modify:
{
    match:
    {
        "classname" "logic_auto"
        "hammerid" "1644"
    }
    insert:
    {
        "OnMapSpawn" "buyzone_ct,AddOutput,origin 1040 -14528 -5728,0,1"
        "OnMapSpawn" "buyzone_t,AddOutput,origin 1040 -14528 -5728,0,1"
    }
}

; modify max health on heal

modify:
{
    match:
    {
        "targetname" "human_heal_hurt"
        "classname" "trigger_hurt"
    }
    delete:
    {
		"OnStartTouch" "!activator,AddOutput,max_health 170,0,-1"
    }
    insert:
    {
		"OnStartTouch" "!activator,AddOutput,max_health 200,0,-1"
    }
}

; fix stacking entities

modify:
{
    match:
    {
        "targetname" "pads_door1"
        "classname" "func_door"
    }
    insert:
    {
		"OnFullyOpen" "pads_hurt,Kill,,0,-1"
    }
}

modify:
{
    match:
    {
        "targetname" "pads_door1"
        "classname" "func_door"
    }
    replace:
    {
		"lip" "1620"
    }
}

modify:
{
    match:
    {
        "targetname" "abxz_relay"
        "classname" "logic_relay"
    }
    insert:
    {
		"OnSpawn" "abxz_case,Kill,,0.4,-1"
    }
}

modify:
{
    match:
    {
        "targetname" "phase3_att11"
        "classname" "logic_relay"
    }
    insert:
    {
		"OnTrigger" "phase3_timer_ball,RefireTime,0.3,13,-1"
    }
}


modify:
{
    match:
    {
        "targetname" "abxz_door1"
        "classname" "func_door"
    }
    replace:
    {
		"lip" "1800"
    }
}
