WaveSchedule
{
    LuaScriptFile "scripts/shortcircuit_airblast.lua"

    PointTemplates
    {
        giant_intel
        {
            //main flag
            NoFixup 1
            item_teamflag
            {
                "angles" "0 0 0"
                "flag_icon" "../hud/objectives_flagpanel_carried"
                "flag_model" "models\props_moonbase\powersupply_flag.mdl"
                "flag_paper" "player_intel_papertrail"
                "flag_trail" "flagtrail"
                "GameType" "1"
                "NeutralType" "1"
                "PointValue" "0"
                "ReturnBetweenWaves" "1"
                "ReturnTime" "10"
                "ScoringType" "0"
                "ShotClockMode" "0"
                "targetname" "become_giant"
                "TeamNum" "2"
                "trail_effect" "1"
                "VisibleWhenDisabled" "0"
                "origin" "5479 -896 421"


                //pickup
                "OnPickup1" "!activator,$AddCond,32,0,-1"
                "OnPickup1" "!activator,$AddCond,65,0,-1"
                "OnPickup1" "!activator,$Regenerate,,0,-1"
                "OnPickup1" "!activator,$DisplayTextCenter,You have 60 seconds before you automatically die!,5,-1"
                "OnPickup1" "secondhand,SetValue,60,1,-1"
                "OnPickup1" "realtimer,Trigger,,1,-1"

                "OnPickup1" "is_scout,TestActivator,!activator,0,-1"
                "OnPickup1" "is_soldier,TestActivator,!activator,0,-1"
                "OnPickup1" "is_pyro,TestActivator,!activator,0,-1"
                "OnPickup1" "is_demo,TestActivator,!activator,0,-1"
                "OnPickup1" "is_heavy,TestActivator,!activator,0,-1"
                "OnPickup1" "is_medic,TestActivator,!activator,0,-1"
                
                //drop
                "OnDrop1" "!self,ForceReset,,0,-1"
                "OnDrop1" "return,Show,,0,-1"
                "OnDrop1" "generic_killgiant,Hurt,,0.01,-1"

                "OnDrop1" "is_scout_modelset,TestActivator,!activator,0,-1"
                "OnDrop1" "is_soldier_modelset,TestActivator,!activator,0,-1"
                "OnDrop1" "is_pyro_modelset,TestActivator,!activator,0,-1"
                "OnDrop1" "is_demo_modelset,TestActivator,!activator,0,-1"
                "OnDrop1" "is_heavy_modelset,TestActivator,!activator,0,-1"
                "OnDrop1" "is_medic_modelset,TestActivator,!activator,0,-1"
                "OnDrop1" "generic_killgiant,FireUser1,,1,-1"
                //"OnDrop1" "!activator,$RemoveCond,65,0,-1"
            }

            //filters

            //scout
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_scout"
                "tfclass" "1"

                //player
                "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|1475,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.7,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.7,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\scout_boss\bot_scout_boss.mdl,,0,-1"

                //weps
                "OnPass" "random_scout_weapon_grant,PickRandom,,0,-1"
            }
            //soldier
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_soldier"
                "tfclass" "3"

                //player
                "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|3800,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.3,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.3,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\soldier_boss\bot_soldier_boss.mdl,,0,-1"

                //weps
                "OnPass" "random_soldier_weapon_grant,PickRandom,,0,-1"
            }
            //pyro
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_pyro"
                "tfclass" "7"

                //player
                "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|2825,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.55,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.55,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\pyro_boss\bot_pyro_boss.mdl,,0,-1"

                //weps
                "OnPass" "random_pyro_weapon_grant,PickRandom,,0,-1"
            }
            //demo
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_demo"
                "tfclass" "4"

                //player
                "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|2825,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.4,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.4,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\demo_boss\bot_demo_boss.mdl,,0,-1"

                //weps
                "OnPass" "random_demo_weapon_grant,PickRandom,,0,-1"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_heavy"
                "tfclass" "6"

                //player
                "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|4700,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.2,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.2,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\heavy_boss\bot_heavy_boss.mdl,,0,-1"

                //weps
                "OnPass" "random_heavy_weapon_grant,PickRandom,,0,-1"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_medic"
                "tfclass" "5"

                //player
                "OnPass" "!activator,$AddPlayerAttribute,max health additive bonus|4350,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,ammo regen|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,damage force reduction|0.55,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,airblast vulnerability multiplier|0.55,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,is miniboss|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cannot upgrade|1,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,patient overheal penalty|0,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,health from packs decreased|0.5,0,-1"
                "OnPass" "!activator,$AddPlayerAttribute,cancel falling damage|1,0,-1"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\bots\medic\bot_medic.mdl,,0,-1"

                //weps
                "OnPass" "random_medic_weapon_grant,PickRandom,,0,-1"
            }

            //resetmodels
            NoFixup 1
            //scout
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_scout_modelset"
                "tfclass" "1"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\scout.mdl,,0,-1"
            }
            //soldier
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_soldier_modelset"
                "tfclass" "3"

                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\soldier.mdl,,0,-1"
            }
            //pyro
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_pyro_modelset"
                "tfclass" "7"

                //player
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\pyro.mdl,,0,-1"
            }
            //demo
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_demo_modelset"
                "tfclass" "4"
                
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\demo.mdl,,0,-1"
            }
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_heavy_modelset"
                "tfclass" "6"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\heavy.mdl,,0,-1"
            }
            //med
            filter_tf_class
            {
                "Negated" "0"
                "targetname" "is_medic_modelset"
                "tfclass" "5"
                "OnPass" "!activator,SetCustomModelWithClassAnimations,models\player\medic.mdl,,0,-1"
            }

            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                "Case03" "3"
                "Case04" "4"
                "targetname" "random_scout_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Spammer Scout,0,-1"
                "OnCase01" "!activator,$DisplayTextCenter,You are Giant Spammer Scout!,0,-1"
                "OnCase02" "!activator,$GiveItem,FAN Scout,0,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Giant FAN Scout!,0,-1"
                "OnCase03" "!activator,$GiveItem,Armored Sandman Scout,0,-1"
                "OnCase03" "!activator,$WeaponSwitchSlot,2,0.5,-1"
                "OnCase03" "!activator,$DisplayTextCenter,You are Giant Armored Sandman Scout!,0,-1"
                "OnCase04" "!activator,$GiveItem,Shortstop Scout,0,-1"
                "OnCase04" "!activator,$DisplayTextCenter,You are Giant Shortstop Scout!,0,-1"
            }
            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                "Case03" "3"
                "Case04" "4"
                "targetname" "random_soldier_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Spammer Soldier,0,-1"
                "OnCase01" "!activator,$DisplayTextCenter,You are Giant Spammer Soldier!,0,-1"
                "OnCase02" "!activator,$GiveItem,Burst Soldier,0,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Giant Burst Fire Soldier!,0,-1"
                "OnCase03" "!activator,$GiveItem,Black Box Soldier,0,-1"
                "OnCase03" "!activator,$DisplayTextCenter,You are Giant Black Box Soldier!,0,-1"
                "OnCase04" "!activator,$GiveItem,Crit Soldier,0,-1"
                "OnCase04" "!activator,$DisplayTextCenter,You are Giant Crit Soldier!,0,-1"
            }
            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                "Case03" "3"
                "Case04" "4"
                "targetname" "random_pyro_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Flare Pyro,0,-1"
                "OnCase01" "!activator,$DisplayTextCenter,You are Giant Flare Spammer Pyro!,0,-1"
                "OnCase02" "!activator,$GiveItem,Burst Flare Pyro,0,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Giant Burst Flare Pyro!,0,-1"
                "OnCase03" "!activator,$GiveItem,Nuker Pyro,0,-1"
                "OnCase03" "!activator,$DisplayTextCenter,You are Giant Nuker Pyro!,0,-1"
                "OnCase04" "!activator,$GiveItem,Rocket Pyro,0,-1"
                "OnCase04" "!activator,$DisplayTextCenter,You are Circuit Pyro! Fire Orbs that delete projectiles on airblast!,0,-1"
            }
            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                "Case03" "3"
                "Case04" "4"
                "targetname" "random_demo_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Spammer Demo,0,-1"
                "OnCase01" "!activator,$DisplayTextCenter,You are Giant Demo Spammer!,0,-1"
                "OnCase02" "!activator,$GiveItem,Burst Demo,0,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Giant Burst Demo!,0,-1"
                "OnCase03" "!activator,$GiveItem,Demoknight,0,-1"
                //"OnCase03" "!activator,$GiveItem,The Chargin' Targe,0,-1"
                "OnCase03" "!activator,$GiveItem,Ali Baba's Wee Booties,0,-1"
                "OnCase03" "!activator,$GiveItem,Demotarge,0,-1"
                "OnCase03" "!activator,$DisplayTextCenter,You are Demoknight!,0,-1"
                "OnCase04" "!activator,$GiveItem,Sir Nukesalot,0,-1"
                "OnCase04" "!activator,$DisplayTextCenter,You are Sir Nukesalot!,0,-1"
            }
            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                "Case03" "3"
                "Case04" "4"
                "targetname" "random_heavy_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Giant Deflector Heavy,0,-1"
                "OnCase01" "!activator,$DisplayTextCenter,You are Giant Deflector Heavy!,0,-1"
                "OnCase02" "!activator,$GiveItem,Giant Shotgun,0,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Giant Shotgun Heavy!,0,-1"
                "OnCase03" "!activator,$GiveItem,Heater Heavy,0,-1"
                "OnCase03" "!activator,$DisplayTextCenter,You are Giant Heater Heavy!,0,-1"
                "OnCase04" "!activator,$GiveItem,Captain Punch,0,-1"
                "OnCase04" "!activator,$DisplayTextCenter,You are Captain Punch!,0,-1"
            }
            logic_case
            {
                "Case01" "1"
                "Case02" "2"
                "Case03" "3"
                "Case04" "4"
                "targetname" "random_medic_weapon_grant"
	
		        "OnCase01" "!activator,$GiveItem,Giant Medic,0,-1"
                "OnCase01" "!activator,$DisplayTextCenter,You are Giant Medic!,0,-1"
                "OnCase02" "!activator,$GiveItem,Quick-Uber Medic,0,-1"
                "OnCase02" "!activator,$DisplayTextCenter,You are Giant Quick-Uber!,0,-1"
                "OnCase03" "!activator,$GiveItem,Shield Medic,0,-1"
                "OnCase03" "!activator,$DisplayTextCenter,You are Giant Shield Medic!,0,-1"
                "OnCase04" "!activator,$GiveItem,XBow Medic,0,-1"
                "OnCase04" "!activator,$DisplayTextCenter,You are Xbow Medic!,0,-1"
            }

            //timer (courtesy of lite)
			logic_relay
			{
				"targetname" "giant_relay"
				"startdisabled" "1"
				"ontrigger" "generic_killgiant,Hurt,,1,-1"
                "ontrigger" "generic_killgiant,FireUser1,,1,-1"
				"ontrigger" "realtimer,cancelpending,,2,-1"
				//"onspawn" "wave_start*,addoutput,ontrigger realtimer:trigger::0:-1,0,-1"
				//"onspawn" "wave_finish*,addoutput,ontrigger realtimer:cancelpending::0:-1,0,-1"
				//"onspawn" "wave_finish*,addoutput,ontrigger loserelay:cancelpending::0:-1,0,-1"
			}
			math_counter
			{
				"targetname" "minutehand"
				"max" "9999"
				"outvalue" "timerformat,$setkey$case01,,0,-1"
				"onhitmin" "giant_relay,enable,,1,-1"
			}
			math_counter
			{
				"targetname" "secondhand"
				"max" "60"
				"outvalue" "timerformat,$setkey$case02,,0,-1"
				"outvalue" "zerocompare,setvaluecompare,,0,-1"
				"onhitmin" "giant_relay,trigger,,1,-1"
                "onhitmin" "giant_relay,enable,,0,-1"
				//"onhitmin" "!self,setvalue,60,1,-1"
				//"onhitmin" "minutehand,subtract,1,1,-1"
			}
			logic_compare
			{
				"targetname" "zerocompare"
				"comparevalue" "9"
				"onequalto" "timerformat,$setkey$case16,%:0%,0,-1"
				"ongreaterthan" "timerformat,$setkey$case16,%:%,0,-1"
			}
			logic_case
			{
				"targetname" "timerformat"
				"case16" "%:%"
				"ondefault" "timertext,$setkey$message,,0,-1"
				"ondefault" "timertext,display,0,0,-1"
			}
			game_text
			{
				"targetname" "timertext"
				"color" "65 155 255"
				"holdtime" "2"
				"spawnflags" "1"
				"x" "0.48"
                "y" "-0.65"
			}
			logic_relay
			{
				"targetname" "realtimer"
				"spawnflags" "2"
				"ontrigger" "timerformat,$format,,0.01,-1"
				"ontrigger" "secondhand,subtract,1,0,-1"
				"ontrigger" "!self,trigger,,1,-1"
			}
		

            //training annotation
            OnSpawnOutput
            {
                Target info_relay
                Action Trigger 
            }
            logic_relay
            {
                "targetname" "info_relay"
                "spawnflags" "2"

                "OnTrigger" "greeting,Show,,0,-1"
                "OnTrigger" "warning,Show,,5,-1"
                "OnTrigger" "nopickup,Show,,10,-1"
                "OnTrigger" "teleport,Show,,15,-1"
                "OnTrigger" "!self,Trigger,,50,-1"
            }
            logic_auto 
            {
                "targetname" "autothing"
                "OnMapSpawn" "wave_start_relay,AddOutput,OnTrigger info_relay*:Disable:0:-1"
				"OnMapSpawn" "wave_finished_relay,AddOutput,OnTrigger info_relay*:Enable:0:-1"
            }
            training_annotation
            {
                "display_text" "Hi! Pick me up during a wave and become a Giant!"
                "lifetime" "5"
                "offset" "0"
                "targetname" "greeting"
                "origin" "5479 -896 421"
            }
            training_annotation
            {
                "display_text" "If you drop me you will die!"
                "lifetime" "5"
                "offset" "0"
                "targetname" "warning"
                "origin" "5479 -896 421"
            }
            training_annotation
            {
                "display_text" "Some classes cannot pick me up."
                "lifetime" "5"
                "offset" "0"
                "targetname" "nopickup"
                "origin" "5479 -896 421"
            }
            training_annotation
            {
                "display_text" "As a Giant, you can use the teleporter located to your left."
                "lifetime" "5"
                "offset" "0"
                "targetname" "teleport"
                "origin" "5479 -896 421"
            }
            training_annotation
            {
                "display_text" "I have returned! Pick me up!"
                "lifetime" "5"
                "offset" "0"
                "targetname" "return"
                "origin" "5479 -896 421"
            }

            //misc
            point_hurt
            {
                "origin" "-32 0 -824"
                "targetname" "generic_killgiant"
                "spawnflags" "2"
                "damagetype" "64"
                "DamageTarget" "!activator"
                "DamageRadius" "256"
                "DamageDelay" "0"
                "Damage" "99999"

                "OnUser1" "realtimer,$CancelPending,,0,-1"
            }
        }
        CircuitBlast
		{
			OnSpawnOutput
			{
				Target "popscript"
				Action "$CircuitBlast"
			}
		}
        flagdetschizo
        {
            NoFixup 1
            OnSpawnOutput
            {
                Target func_flagdetectionzone
                Action Disable
            }
            trigger_multiple
            {
                "origin" "5944 -880 432"
                "filtername" "check_for_blu_and_bomb"
                "spawnflags" "1"
                "StartDisabled" "0"
                "targetname" "trigger_thingy"
                "mins" "-1304 -1088 -368"
                "maxs" "1304 1088 368"

                "OnStartTouch" "func_flagdetectionzone,Enable,,0,-1"
                "OnEndTouch" "func_flagdetectionzone,Disable,,0,-1"
            }
            filter_multi
            {
                "Filter01" "filter_bluteam" // on map
                "Filter02" "bomb_carrier_filter" // spawned below
                "filtertype" "0"
                "Negated" "0"
                "targetname" "check_for_blu_and_bomb"
                "origin" "5516 -1036 417"
            }
            filter_tf_bot_has_tag
            {
                "Negated" "0"
                "require_all_tags" "1"
                "tags" "bomb_carrier"
                "targetname" "bomb_carrier_filter"
                "origin" "5388 -1207 433"
            }
        }
        teleredgiant
        {
            NoFixup 1
            trigger_teleport
            {
                "filtername" "onlygiant"
                "origin" "5318.5 -1792 501.5"
                "spawnflags" "1"
                "StartDisabled" "0"
                "target" "red_giant_teleport_dest"
                "targetname" "teleport_intel"
                //"OnStartTouch" "player,$DisplayTextCenter,teleported,0,-1"

                "mins" "-61 -45 -86"
                "maxs" "61 45 86"
            }
            info_teleport_destination
            {
                "angles" "0 270 0"
                "targetname" "red_giant_teleport_dest"
                "origin" "775 2454 190.077"
            }
            filter_tf_condition
            {
                "condition" "65"
                "Negated" "0"
                "targetname" "onlygiant"
                "origin" "5376 -1664 553.778"
            }
            prop_dynamic
            {
                "angles" "0 0 0"
                "model" "models/buildables/teleporter_light.mdl"
                "modelscale" "1.0"
                "skin" "0"
                "solid" "0"
                "spawnflags" "0"
                "DefaultAnim" "running"
                "targetname" "teleporter"
                "origin" "5321 -1815 401"
            }
        }
	}

    PlayerItemEquipSpawnTemplate
	{
		Name "CircuitBlast"
		ItemName "Rocket Pyro"
	}

    CustomWeapon   
	{
        //Scout
		"Spammer Scout" 
		{
			OriginalItemName "TF_WEAPON_SCATTERGUN" 
			"fire rate bonus" 0.75
			"mod max primary clip override" -1
            "no double jump" 1
            "damage bonus" 1.5

            "provide on active" 1
            "crit mod disabled" 0
            "disable weapon switch" 1
		}
        "FAN Scout"
        {
            OriginalItemName "The Force-a-Nature"
            "bullets per shot bonus" 2
            "clip size bonus" 2
			"reload time increased" 1.7
			"scattergun knockback mult" 6
			"damage penalty" 0.75		
			"weapon spread bonus" 0.4
            "crit mod disabled" 0
            "no double jump" 1

            "provide on active" 1
            "disable weapon switch" 1
        }
        "Shortstop Scout"
        {
            OriginalItemName "The Shortstop"
            "always crit" 1
            "damage bonus" 1.5
            "move speed bonus" 1.15
            "max health additive bonus" 400
            //"projectile penetration" 1
            "no double jump" 1
            "crit mod disabled" 0
        }
        "Armored Sandman Scout"
        {
            OriginalItemName "The Sandman"
            "no double jump" 1
            "always crit" 1
            "dmg penalty vs players" 5
            "damage penalty" 0.4
            "max health additive bonus" 1400
            "effect bar recharge rate increased" 0.08
            "max health additive penalty" 0
            "provide on active" 1
            "disable weapon switch" 1
            "crit mod disabled" 0
        }
        //soldier
        "Spammer Soldier" 
		{
			OriginalItemName "TF_WEAPON_ROCKETLAUNCHER" 
			"fire rate bonus" 0.5
			"mod max primary clip override" -1
            "crit mod disabled" 0
            "projectile speed decreased" 0.65
		}
        "Burst Soldier"
		{
			OriginalItemName "TF_WEAPON_ROCKETLAUNCHER" 
			"faster reload rate" 0.6
			"fire rate bonus" 0.1
			"clip size upgrade atomic" 5.0
            "Projectile speed decreased" 0.65
            "crit mod disabled" 0
		}
        "Black Box Soldier"
		{
			OriginalItemName "The Black Box"
			"fire rate bonus" 0.001
			"clip size upgrade atomic" 0
			"faster reload rate" 1.6
			"blast radius increased" 1.25
			"projectile spread angle penalty" 2
            "crit mod disabled" 0
            "max health additive bonus" 200
			"heal on hit for rapidfire" 550
		}
        "Crit Soldier"
		{
			OriginalItemName "The Original"
			"always crit" 1
            "damage bonus" 1.5
            "rocket specialist"  1
            "blast radius increased" 1.5
            "mod max primary clip override" -1
            "fire rate penalty" 2
            "crit mod disabled" 0
            "projectile speed decreased" 0.5
		}
        //Pyro
        "PROJECTILE_SHORTCIRCUIT_ORB" // used by shortcituit_airblast.lua to spawn orb
		{
			OriginalItemName "The Iron Bomber"
            "crit mod disabled" 0
			"override projectile type extra" "mechanicalarmorb" 
		}
        "Flare Pyro"
        {
            OriginalItemName "The Flare gun"
			"fire rate bonus" 0.2
            "maxammo secondary increased" 2
            "damage bonus" 2
            "crit mod disabled" 0
        }
        "Burst Flare Pyro"
        {
            OriginalItemName "The Flare gun"
			"mult projectile count" 6
            "projectile spread angle penalty" 3
            "fire rate penalty" 1.35
            "projectile speed increased" 1.25
            "damage penalty" 0.5
            "crit mod disabled" 0
        }
        "Nuker Pyro"
        {
            OriginalItemName "The Detonator"
			"always crit" 1
            "blast radius increased" 2
            "weapon burn dmg increased" 5
            "damage bonus" 2
            "projectile speed decreased" 0.5
            "fire rate penalty" 1.5
            "crit mod disabled" 0
            "self dmg push force increased" 11
        }
        "Rocket Pyro"
        {
            OriginalItemName "The Phlogistinator"
			"increase buff duration" 0.5
            //"crit mod disabled" 0
            "Special Item description" "Airblast fires Short Circuit Orbs!"
        }
        //demo
        "Spammer Demo" 
		{
			OriginalItemName "TF_WEAPON_GRENADELAUNCHER" 
			"fire rate bonus" 0.5
            "maxammo primary increased" 2
			"mod max primary clip override" -1
            "crit mod disabled" 0
		}
        "Burst Demo"
        {
            OriginalItemName "The Iron Bomber"
            "fire rate bonus" 0.1
            "projectile spread angle penalty" 4
            "faster reload rate" 0.65 
            //"damage bonus" 1.5
            "crit mod disabled" 0
            "clip size upgrade atomic" 8.0
        }
        "Demoknight"
        {
            OriginalItemName "The Eyelander"
            "damage bonus" 3
            "critboost on kill" 5
            //"max health additive penalty" 0
            "speed_boost_on_kill" 3
            "dmg from ranged reduced" 0.6
            //"health regen" 50
            "max health additive bonus" 1000
            "charge time increased" 2
        }
        "Demotarge"
        {
            OriginalItemName "The Splendid Screen"
            "attack not cancel charge" 1
            "dmg taken from blast reduced" 0.7
            "dmg taken from fire reduced" 0.5
        }
        "Sir Nukesalot"
        {
            OriginalItemName "The Loose Cannon"
            "grenade explode on impact" 1
            "grenade launcher mortar mode" 0
            "damage bonus" 2
            "blast dmg to self increased" 6
            "override projectile type" 3
            "crit mod disabled" 0
            "Blast radius increased" 2
            "fire rate penalty" 2
            "clip size penalty" 0.25
            "dmg falloff decreased" 0.5
            "explosion particle" hightower_explosion
            "custom projectile model" "models\props_trainyard\cart_bomb_separate.mdl"
            "custom impact sound" "misc/doomsday_missile_explosion.wav"
        }
        //heavy
        "Giant Deflector Heavy"
        {
            OriginalItemName "Deflector"
            "damage bonus" 1.5
            "attack projectiles" 2
            "crit mod disabled" 0
        }
        "Giant Shotgun"
		{
			OriginalItemName "TF_WEAPON_SHOTGUN_HWG"
			"fire rate penalty" 2.5
			"bullets per shot bonus" 10
            "crit mod disabled" 0
			"damage penalty" 0.5
			"faster reload rate" 0.1
            "move speed bonus" 1.2
            "provide on active" 1
            "weapon spread bonus" 0.35
            //"critboost on kill" 3
            "attack projectiles" 2
		}
        "Heater Heavy"
		{
			OriginalItemName "The Huo Long Heatmaker"
			"damage bonus vs burning" 1.75
            "damage bonus" 1.25
            "crit mod disabled" 0
            "ring of fire while aiming" 50
		}
        "Captain Punch"
		{
			OriginalItemName "Fists of Steel"
			"fire rate bonus" 0.6
            //"health regen" 250
            "hidden maxhealth non buffed" 2500
            "damage bonus" 5
            "dmg from ranged reduced" 0.75
            "dmg from melee increased" 5
            "provide on active" 1

            "crit mod disabled" 0 
            "no crit boost" 1
		}
        //medic
        "Giant Medic"
        {
            OriginalItemName "The quick-fix"
            "heal rate bonus" 20
            "alt-fire disabled" 1
            "ubercharge rate bonus" 1
            "ubercharge rate penalty" 0.001
            //"medigun passive attributes owner" "mod_maxhealth_drain_rate|50|self mark for death|1"
        }
        "Quick-Uber Medic"
        {
            OriginalItemName "TF_WEAPON_MEDIGUN"
            "ubercharge rate bonus" 8
            "uber duration bonus" -3
        }
        "Shield Medic" // hes slow so blocking projectiles will be more difficult
        {
            OriginalItemName "TF_WEAPON_MEDIGUN"
            "generate rage on heal"  2 
            "increase buff duration" 8
            "ubercharge rate PENALTY" 0.01
            "alt-fire disabled" 1
        }
        "XBow Medic" // fuck it
        {
            OriginalItemName "The Crusader's Crossbow"
            "can headshot" 1
            "crit mod disabled" 0
            "fire rate bonus" 0.6
            "mod max primary clip override" -1
        }
	}
}