;--------------------------------------
;STRIPPER FOR EVENT TO SPAWN LESS ITEMS
;--------------------------------------

modify:
{
	match:
	{
		"classname"	"point_template"
		"targetname"	"TempLvl1"
	}
	delete:
	{
		"OnUser1"	"ItemTemp_Lvl1,PickRandomShuffle,,0.1,1"
		"OnUser1"	"ItemOrigin_Lvl1,PickRandomShuffle,,0.13,1"
		"OnUser1"	"ItemSpawner_Lvl1,ForceSpawn,,0.16,1"
	}
}

modify:
{
	match:
	{
		"classname"	"point_template"
		"targetname"	"TempLvl2"
	}
	delete:
	{
		"OnUser1"	"ItemTemp_Lvl2,PickRandomShuffle,,0.1,1"
		"OnUser1"	"ItemOrigin_Lvl2,PickRandomShuffle,,0.13,1"
		"OnUser1"	"ItemSpawner_Lvl2,ForceSpawn,,0.16,1"
	}
}

modify:
{
	match:
	{
		"classname"	"point_template"
		"targetname"	"TempLvl3"
	}
	delete:
	{
		"OnUser1"	"ItemTemp_Lvl3,PickRandomShuffle,,0.1,1"
		"OnUser1"	"ItemOrigin_Lvl3,PickRandomShuffle,,0.13,1"
		"OnUser1"	"ItemSpawner_Lvl3,ForceSpawn,,0.16,1"
	}
}

modify:
{
	match:
	{
		"classname"	"point_template"
		"targetname"	"TempLvl7"
	}
	delete:
	{
		"OnUser1"	"ItemTemp_Lvl7,PickRandomShuffle,,0.1,1"
		"OnUser1"	"ItemOrigin_Lvl7,PickRandomShuffle,,0.13,1"
		"OnUser1"	"ItemSpawner_Lvl7,ForceSpawn,,0.16,1"
		"OnUser1"	"ItemTemp_Lvl7,PickRandomShuffle,,0.2,1"
		"OnUser1"	"ItemOrigin_Lvl7,PickRandomShuffle,,0.23,1"
		"OnUser1"	"ItemSpawner_Lvl7,ForceSpawn,,0.26,1"
	}
}

;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;LVL1: ANTISHORTCUT BIGGER
;--------------------------

add:
{
	"model" "*322"
	"targetname" "Lvl1_AntiShortcut"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-0.41 -7555.6 561"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "10"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "0"
	"disablereceiveshadows" "0"
	"classname" "func_breakable"
	"OnUser1" "!self,Kill,,6,1"
}

;------------------
;EXT3: POKEMON GUN
;-------------------

modify:
{
	match:
	{
		"targetname" "Item_Bulbasaur_Pistol"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "!self,AddOutput,targetname Item_Bulbasaur_Pistol,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_Charmander_Pistol"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "!self,AddOutput,targetname Item_Charmander_Pistol,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_Squirtle_Pistol"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "!self,AddOutput,targetname Item_Squirtle_Pistol,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_Pikachu_Pistol"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "!self,AddOutput,targetname Item_Pikachu_Pistol,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Item_Ditto_Pistol"
		"classname" "weapon_elite"
	}
	insert:
	{
		"OnPlayerPickup" "!self,AddOutput,targetname Item_Ditto_Pistol,0,-1"
	}
}

;-----------------------
;EXT3: BATTERIES HEALTH
;-----------------------

modify:
{
	match:
	{
		"targetname" "House_ClockBattery_Break"
		"origin" "9601 -2997 5272"
		"classname" "func_breakable"
	}
	replace:
	{
		"targetname" "House_ClockBattery_Break1"
	}
}

modify:
{
	match:
	{
		"targetname" "House_ClockBattery_Break"
		"origin" "9601 -2997 5312"
		"classname" "func_breakable"
	}
	replace:
	{
		"targetname" "House_ClockBattery_Break2"
	}
}

modify:
{
	match:
	{
		"targetname" "Ext3_BatteryHealth"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "House_ClockBattery_Break,AddHealth,200,0,-1"
	}
	insert:
	{
		"OnStartTouch" "House_ClockBattery_Break1,AddHealth,90,0,-1"
		"OnStartTouch" "House_ClockBattery_Break2,AddHealth,90,0,-1"
	}
}


;------------------------
;TIMELOOP: SHORTCUT CADE
;------------------------

modify:
{
	match:
	{
		"targetname" "Lvl7_Wood1_Trig"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "Lvl7_ClipAntiShortcut,FireUser1,,30,1"
	}
	insert:
	{
		"OnStartTouch" "Lvl7_ClipAntiShortcut,FireUser1,,25,1"
	}
}

modify:
{
	match:
	{
		"targetname" "Lvl7_ClipAntiShortcut"
		"classname" "func_wall_toggle"
		"hammerid" "1293595"
	}
	delete:
	{
		"OnUser1" "!self,Kill,,0,1"
	}
	insert:
	{
		"OnUser1" "!self,Kill,,5,1"
	}
}


modify:
{
	match:
	{
		"targetname" "Lvl7_ClipAntiShortcut"
		"classname" "func_wall_toggle"
		"hammerid" "1293599"
	}
	delete:
	{
		"OnUser1" "!self,Kill,,10,1"
	}
	insert:
	{
		"OnUser1" "!self,Kill,,8,1"
	}
}

modify:
{
	match:
	{
		"targetname" "Lvl7_ClipAntiShortcut"
		"classname" "prop_dynamic"
	}
	delete:
	{
		"OnUser1" "!self,Kill,,10,1"
	}
	insert:
	{
		"OnUser1" "!self,Kill,,8,1"
	}
}

;--------------------------------------
;TIMELOOP: BREAK GRID TO PORTAL FASTER
;--------------------------------------

modify:
{
	match:
	{
		"targetname" "Hitler_Boss_SatanMove"
		"classname" "func_movelinear"
	}
	delete:
	{
		"OnFullyOpen" "Lvl7_Boss_Grid2,Break,,6,1"
	}
}

modify:
{
	match:
	{
		"targetname" "Hitler_Boss_SatanArm"
		"classname" "func_door_rotating"
	}
	insert:
	{
		"OnFullyOpen" "Lvl7_Boss_Grid2,Break,,6,1"
	}
}


;-----------------------------
;TIMELOOP: SATAN TP BEAM WORK
;-----------------------------

modify:
{
	match:
	{
		"targetname" "Hitler_Boss_SatanBeam1"
		"classname" "path_track"
	}
	delete:
	{
		"parentname" "Hitler_Boss_SatanArm"
	}
	replace:
	{
		"origin" "2877 8183 -7366"
	}
}

modify:
{
	match:
	{
		"targetname" "Hitler_Boss_SatanGoDown"
		"classname" "func_movelinear"
	}
	insert:
	{
		"OnFullyOpen" "Hitler_Boss_SatanBeam1,SetParent,Hitler_Boss_SatanArm,0.1,1"
	}
}

;------------------------------------
;TIMELOOP: MINES ATTACK INSTANT KILL
;------------------------------------

add:
{
	"origin" "9784 1480 6204"
	"targetname" "Satan_Boss_PointHurt"
	"DamageTarget" "!activator"
	"DamageRadius" "256"
	"DamageDelay" "1"
	"DamageType" "64"
	"Damage" "2000"
	"classname" "point_hurt"
}

modify:
{
	match:
	{
		"targetname" "Attack_Mines_Trigger"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnStartTouch" "Satan_Boss_PointHurt,Hurt,,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "Attack_Mines_Exp"
		"classname" "env_explosion"
	}
	replace:
	{
		"iRadiusOverride" "0"
		"iMagnitude" "0"
	}
}

modify:
{
	match:
	{
		"targetname" "BossEnds_Case"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase05" "Satan_Boss_PointHurt,Kill,,0,1"
	}
}

;--------------------------------
;TIMELOOP: FILTER NPC TO CT ONLY
;--------------------------------

modify:
{
	match:
	{
		"targetname" "MinionNpc_Trigger"
		"classname" "trigger_multiple"
	}
	insert:
	{
		"filtername" "Map_Filter_CT"
	}
}

;------------------------------------------
;TIMELOOP: KILL BEAM HURT AFTER SATAN BOSS
;------------------------------------------

modify:
{
	match:
	{
		"targetname" "BossEnds_Case"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase05" "GridHurt*,Kill,,0,1"
	}
}

;--------------------------------------------
;TIMELOOP: TRYING TO FIX SATAN GOING UP/DOWN
;--------------------------------------------

modify:
{
	match:
	{
		"targetname" "Satan_Boss_MoveUp"
		"classname" "func_door"
	}
	replace:
	{
		"ignoredebris" "1"
		"forceclosed" "1"
		"spawnflags" "8"
	}
}

;-------------------------------------------------
;THANKS ENTWATCH FOR PREVENTING AMMO INFINITE USE 
;-------------------------------------------------

modify:
{
	match:
	{
		"targetname" "Item_Ammo_Filter"
	}
	insert:
	{
		"OnPass" "Item_Ammo_Button,Lock,,0,-1"
		"OnPass" "Item_Ammo_Button,Unlock,,45,-1"
	}
}
