;
; STRIPPER CFG BY KOEN (STEAM_1:1:114921174)
;

; Stripper message
modify:
{
	match:
	{
		"classname" "logic_auto"
	}
	insert:
	{
		"OnMapSpawn" "Server,Command,say ++ Map Modified ++,10,-1"
	}
}

; Remove mp_restartgame
modify:
{
	match:
	{
		"targetname" "Warmup_Mode"
		"classname" "logic_relay"
		"hammerid" "11379325"
	}
	delete:
	{
		"OnUser2" "Server,Command,mp_restartgame 1,60,1"
	}
	insert:
	{
		"OnUser2" "Global_Nuke_Control,Trigger,,60,1"
	}
}

; Fix players spawning with no knives
modify:
{
	match:
	{
		"targetname" "Global_Reset_Zone"
		"classname" "game_zone_player"
		"hammerid" "12394818"
	}
	insert:
	{
		"OnPlayerOutZone" "Knife,Use,,0,-1"
	}
}

; Fix shelf stuck spot that people fall into
add:
{
	"origin" "-4882 13911 -93"
	"targetname" "shitter"
	"spawnflags" "0"
	"solid" "6"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"modelscale" "1.0"
	"model" "models/objects/m_ortel/woodenbox01.mdl"
	"fadescale" "1"
	"fademindist" "-1"
	"disableshadows" "1"
	"DisableBoneFollowers" "1"
	"angles" "90 30 0"
	"classname" "prop_dynamic"
}

; Give items more ammo
modify:
{
	match:
	{
		"classname" "weapon_elite"
	}
	insert:
	{
		"ammo" "5000"
	}
}

; Fix incorrect targetname being reset
modify:
{
	match:
	{
		"classname" "weapon_elite"
		"targetname" "Esper_Zodiark_Pistol"
	}
	delete:
	{
		"OnPlayerPickup" "Holder_Esper_Zalera,AddOutput,targetname Nothing,0,-1"
	}
	insert:
	{
		"OnPlayerPickup" "Holder_Esper_Zodiark,AddOutput,targetname Nothing,0,-1"
	}
}

; Remove missing entities
filter:
{
	"classname" "chicken"
}
filter:
{
	"classname" "logic_eventlistener"
}
filter:
{
	"classname" "vgui_world_text_panel"
}
filter:
{
	"classname" "postprocess_controller"
}

; Revmove vscript outputs
modify:
{
	match:
	{
		"OnSpawn" "/.*,RunScriptCode,.*/"
	}
	delete:
	{
		"OnSpawn" "/.*,RunScriptCode,.*/"
	}
}