;---------------------------------------------
; Creates an auto logic to remove targetnames
;---------------------------------------------
add:
{
		"origin" "14336 -12224 2056"
		"spawnflags" "0"
		"classname" "logic_auto"
		"OnMapSpawn" "reservoir-important-server,Command,mp_roundtime 20,0,-1"
		"OnMapSpawn" "player,AddOutput,targetname default,0,-1"
}
;----------------------------
; Fixes boss hp add function
;----------------------------
modify:
{
    match:
    {
        "origin" "6344 544 -13360"
    }
    delete:
    {
        "OnStartTouch" "reservoir-boss-health,Multiply,6.5,0,-1"
    }
    insert:
    {
        "OnStartTouch" "reservoir-boss-health,Add,1500,0,-1"
    }
}
;----------------------------------
; Fixes red pickaxe trigger issues
;----------------------------------
filter:
{
	"targetname" "reservoir-triggers-1"
}
add:
{
	"model" "*11"
	"wait" "1"
	"targetname" "reservoir-triggers-1"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "-1200 5216 -2770.96"
	"filtername" "reservoir-items-red1filter"
	"classname" "trigger_multiple"
	"OnStartTouch" "reservoir-items-red1button,Unlock,,0,-1"
	"OnEndTouch" "reservoir-items-red1button,Lock,,0,-1"
}
;----------------------------------
; Fixes blue pickaxe trigger issues
;----------------------------------
filter:
{
	"targetname" "reservoir-triggers-2"
}
add:
{
	"model" "*25"
	"wait" "1"
	"targetname" "reservoir-triggers-2"
	"StartDisabled" "0"
	"spawnflags" "1"
	"origin" "3080 5200 -5184"
	"filtername" "reservoir-items-blu1filter"
	"classname" "trigger_multiple"
	"OnStartTouch" "reservoir-items-blu1button,Unlock,,0,-1"
	"OnEndTouch" "reservoir-items-blu1button,Lock,,0,-1"
}