WaveSchedule					//Custom extended upgrades by Mo, for Rappy and Schwabbel (and whoever else wants to, but I can easily say no to any moron.)
{ 								//You judges are fucking worthless so you need my balancing to pass an already good mission...
UpgradeStationKeepWeapons 		1
FixHuntsmanDamageBonus 0 //THE FIXED DMG BONUS IS SO STUPID WITH ARROW MASTERY FUCK OFF
NoRomevisionCosmetics 1 //THEY FIXED IT NOW SO I'VE TO REMOVE THE RETARDED UPGRADE FUCK OFF MAN GIVE ME A BREAK
	CustomWeapon   //Allows you to use an alias for items with custom attributes
	{
		"Budget TMP"
		{
			OriginalItemName "The Cleaner's Carbine"
			"can headshot" 1
			"hidden primary max ammo bonus" 0.1
			"move speed bonus"	1.1
			"maxammo secondary increased" 3.195
			"weapon spread bonus" 0.31
			"clip size bonus upgrade" 1.2
			"clip size penalty" 1
			"accuracy scales damage" 2.20
			"cannot be upgraded" 1
			"fire rate bonus"	0.75
			"fire rate penalty" 1
			"special item description 2"		"Wake up like you were booting up Call of Duty again."
			"custom weapon fire sound" "=75|tmp-2.wav"
		}
	}
	ExtraLoadoutItems   // Extra loadout items available after typing !missionitems in chat
	{
		Sniper
		{
			Secondary "Budget TMP"
		}
	}
	ItemAttributes  			//Any silent change towards this will be documented by yours truly. I won't be changing anything unless it hinders balancing.
	{							//I'm always watching :)
		ItemName "The Gunboats"
		"health regen" 2
		"max health additive bonus" 25
		"cancel falling damage" 1
		"move speed bonus" 1.2
		"special item description 2"		"ayo brother i got my J's on"
	}
	ItemAttributes
	{
		ItemName "The Market Gardener"
		"provide on active" 1
		"mult crit dmg" 0.75
		"damage bonus" 1.93
		"mult dmg vs tanks"	0.692
		"hand scale" 2.69
		"special item description 2"		"ayo dog can I get some ice cream?"
//	} 
//	ItemAttributes  //FRAGMENT PLAYTEST FOR LATER, HOLDING OFF FOR NOW
//	{
//		ItemName "Sharpened Volcano Fragment"
//		"crit mod disabled" 0
//		"crit mod disabled hidden" 0
//		"hidden primary max ammo bonus" -2
//		"maxammo secondary increased" 0.25
//		"attack_minicrits_and_consumes_burning" 1
//		"attach particle effect" 3042
//		"fire rate penalty" 1.4
//		"damage penalty" 1
//		"mult crit dmg" 0.5
//		"max health additive bonus" 25
//		"dmg taken from blast reduced" 0.8
//		"dmg taken from fire reduced" 0.5
	}
	ItemAttributes
	{
		ItemName "Duel MiniGame"	
		"head scale" 1.4
		"torso scale" 0.5
		"voice pitch scale" 1.69
	}
	ItemAttributes
	{
		ItemName "The B.A.S.E. Jumper"
		"parachute redeploy" 1
		"increased air control" 4
		"max health additive bonus" 25
		"special item description 2"		"Old base jumper with additive health on top"
	}
	ItemAttributes
	{
		ItemName "The Liberty Launcher"
		"clip size bonus"	1
		"damage penalty" 1
		"clip size penalty" 0.75
		"rocket jump damage reduction" 1
		"special item description 2"		"Old Liberty Launcher"
	}
	ItemAttributes  
	{
		SimilarToItem "Gloves of Running Urgently"
		"damage penalty" 0.75
		"self mark for death" 1
		"mod_maxhealth_drain_rate" 0
		"special item description 2"		"Old GRU"
		"mult_player_movespeed_active" 1.3
		"single wep holster time increased" 1
	}
	ItemAttributes  
	{
		ItemName "The Gunslinger"
		"max health additive bonus" 75
		"construction rate increased" 2
		"mult dispenser rate" 1.75
		"engy sentry damage bonus" 1.3
		"building cost reduction" 0.5
		"engy disposable sentries" 1
		"mult teleporter recharge rate" 0.5
		"move speed bonus"	1.1
		"special item description 2"		"+1 Disposable Sentry"
		"damage bonus" 1.25
//	}
//	ItemAttributes 
//	{
//		ItemName "The Cleaner's Carbine"
//		"can headshot" 1
//		"hidden primary max ammo bonus" 0.1
//		"move speed bonus"	1.1
//		"maxammo secondary increased" 3.195
//		"weapon spread bonus" 0.31
//		"clip size bonus upgrade" 1.5
//		"accuracy scales damage" 1.69
//		"cannot be upgraded" 1
//		"fire rate bonus"	0.75
//		"fire rate penalty" 1
//		"special item description 2"		"Wake up like you were booting up Call of Duty again."
	}
	ItemAttributes
	{
		ItemName "The Classic"
		"fire rate bonus" 0.07
		"sniper charge per sec" 0
		"aiming movespeed increased" 4
		"hidden primary max ammo bonus" 4
		"sniper fires tracer HIDDEN" 0
		"damage penalty" 0.5
		"can headshot" 1
		"sniper no headshot without full charge" 0
		"cannot be upgraded" 1
		"special item description 2"		"Automatic ''''Sniper'''' Rifle. Clever, we know."
	}
    ExtendedUpgrades  
	{
		Shotgun_Dmg_Generic
		{
			Name "Damage Bonus"
			Attribute "damage bonus"
			Cap 1.4
			Increment 0.1
			Cost 200
			Description "10% damage bonus" 
			AllowPlayerClass Pyro
			AllowPlayerClass Heavyweapons	
			AllowedWeapons
			{
				Slot "Secondary"
			}
			DisallowedWeapons // Disallow those weapons
			{
				ItemName "The Panic Attack"
				ItemName "The Gas Passer"
				ItemName "The Manmelter"
				ItemName "The Detonator"
				ItemName "The Thermal Thruster"
				ItemName "The Flare Gun"
				ItemName "The Scorch Shot"
				ItemName "The Reserve Shooter"
				ItemName "The Dalokohs Bar"
				ItemName "The Buffalo Steak Sandvich"
				ItemName "The Sandvich"
				ItemName "Fishcake"
				ItemName "The Robo-Sandvich"
				ItemName "Festive Sandvich"
				ItemName "The Second Banana"
			} //FRAGMENT PLAYTEST FOR LATER, HOLDING THIS OFF FOR NOW
//		}
//		Melee_Dmg_Generic
//		{
//			Name "Damage Bonus"
//			Attribute "damage bonus"
//			Cap 2
//			Increment 0.25
//			Cost 400
//			Description "25% damage bonus" 
//			AllowPlayerClass Pyro
//			AllowedWeapons
//			{
//				ItemName	"Sharpened Volcano Fragment"
//				SimilarToItem "Sharpened Volcano Fragment"
//			}
		}
		MiniCritSniper
		{
			Name "Mini-Crit on kill"
			Attribute "minicritboost on kill"
			Cap 6
			Increment 3
			Cost 200
			Description "On Kill: Mini-Crits for 3 seconds" 
			AllowPlayerClass Sniper
			AllowedWeapons
			{
				ItemName "The Tribalman's Shiv"
			}
		}
		Shotgun_Dmg_Generic_Engi
		{
			Name "Damage Bonus"
			Attribute "damage bonus"
			Cap 1.4
			Increment 0.1
			Cost 200
			Description "10% damage bonus" 
			AllowPlayerClass Engineer
			AllowedWeapons
			{
				Slot "Primary"
			}
			DisallowedWeapons // Disallow those weapons
			{
				ItemName "The Panic Attack"
				ItemName "The Widowmaker"
			}
		}
		Shotgun_Dmg_Generic_Soldier
		{
			Name "Damage Bonus"
			Attribute "damage bonus"
			Cap 1.4
			Increment 0.1
			Cost 200
			Description "10% damage bonus" 
			AllowPlayerClass Soldier
			AllowedWeapons
			{
				Slot "Secondary"
				ItemName "The Reserve Shooter"
			}
			DisallowedWeapons // Disallow those weapons
			{
				ItemName "The Panic Attack"
				ItemName "The Righteous Bison"
				ItemName "The Buff Banner"
				ItemName "The Concheror"
				ItemName "The Battalion's Backup"
				ItemName "The Mantreads"
				ItemName "The Gunboats"
				ItemName "The B.A.S.E. Jumper"
			}
		}
		MaxUpgradesTier // For tiered upgrades: Specify how many upgrades can be bought per tier. (1 by default)
		{
			1 1 // Max 2 upgrades on tier 1
		}
		LaserWall
		{
			Name "Weapon Type: Rainbow Wall"
			Attribute "energy weapon penetration"
			Cap 600 //funny
			Increment 600 //idfk
			Cost 1000
			SecondaryAttributes 
			{
				"clip size upgrade atomic"	11
				"fire rate bonus"	-1
            	"reload time increased" 7
				"reload full clip at once" 1
				"override projectile type" 13
				"projectile spread angle penalty"	3
				"projectile speed increased" -0.2
				"particle color rainbow" 200
				"attach particle effect" 3097
				"mult dmg vs tanks" -0.65
				"no primary ammo from dispensers while active" 1
				"crits_become_minicrits"		1
				"mult dmg vs giants" -0.5
			}
			Description "A version of the Laser Wall Rocket Launcher that won't blow your arms off. Can't rocket jump. Rocket Specialist and Damage also do not work" 
			Tier 1
			AllowedWeapons
			{
				ItemName "TF_WEAPON_ROCKETLAUNCHER"
				SimilarToItem "TF_WEAPON_ROCKETLAUNCHER"
			}
			DisallowedWeapons // Disallow those weapons
			{
				ItemName "Rocket Jumper"
				ItemName "The Cow Mangler 5000"
				ItemName "The Air Strike"
				ItemName "The Direct Hit"
				ItemName "The Liberty Launcher"
				ItemName "The Black Box"
				ItemName "The Beggar's Bazooka"
				ItemName "The Original"
			}
		}
		ShivKnight
		{
			Name "Weapon Type: Tribal Knight"
			Attribute "lunchbox adds minicrits"
			Cap 1
			Increment 1
			Cost 0
			SecondaryAttributes //Secondary attributes applied when upgrade is applied, for each upgrade level
			{
				"damage penalty" 0.5
				"mult bleeding dmg" .25
				"hidden primary max ammo bonus" -2
				"max health additive bonus" 75
				"maxammo secondary increased" -2
				"move speed bonus"	0.1
				"damage bonus" .54
				"mult dmg vs tanks" -0.25
				"crit mod disabled" -1
				"crit mod disabled hidden" -1
				"special item description 2"		"It's like christmas morning."
			}
			Description "Increased health, damage, and movespeed. Disables Primary & Secondary. PAIRS WELL WITH RAZORBACK." 
			Tier 1
            Allowplayerclass Sniper
			AllowedWeapons
			{
				ItemName "The Tribalman's Shiv"
			}
            DisallowedWeapons
			{	
				ItemName "The Bushwacka"
				ItemName "The Shahanshah"
			}
		}
		AssProtection
		{
			Name "Weapon Type: Tribal's Shield"
			Attribute "lunchbox adds minicrits"
			Cap 1
			Increment 1
			Cost 0
			SecondaryAttributes //Secondary attributes applied when upgrade is applied, for each upgrade level
			{
				"dmg taken from blast reduced" -0.5
				"dmg taken from bullets reduced" -0.3
				"dmg taken from fire reduced" -0.6
				"move speed bonus" -.1
				"damage force reduction" -0.4
				"patient overheal penalty" 0.25
				"hidden primary max ammo bonus" -0.8
				"special item description 2"		"Pairs well with the Tribalman's Shiv."
			}
			Description "Free resistances at the cost of -80% Primary ammo. PAIRS WELL WITH TRIBALMAN'S SHIV." 
			Tier 1
            Allowplayerclass Sniper
			AllowedWeapons
			{
				ItemName "The Razorback"
			}
            DisallowedWeapons
			{	
				ItemName "The Darwin's Danger Shield"
				ItemName "TF_WEAPON_SMG"
				ItemName "The Cozy Camper"
				ItemName "The Jarate"
			}
//		}
//		MemeWeapon
//		{
//			Name "Weapon Type: Reverse Blast Module"
//			Attribute	"lunchbox adds minicrits"
//			Cap 1
//			Increment 1
//			Cost 42069
//			SecondaryAttributes //Secondary attributes applied when upgrade is applied, for each upgrade level
//			{
//				"clip size upgrade atomic" 5.0
//				"damage causes airblast" 1
//				"damage bonus" .33
//				"fire rate bonus" -0.99
//				"faster reload rate" -.5
//				"blast radius increased" .5
//				"projectile spread angle penalty" 5
//				"Projectile speed increased" -0.5
//				"apply z velocity on damage" -1150
//				"cancel falling damage"	1
//			}
//			Description "You thought I was going to enable this? Are you fucking nuts?" 
//			Tier 1
//			AllowedWeapons
//			{
//				ItemName "The Liberty Launcher"
//			}
		}
		HuoLongHeater
		{
			Name "Weapon Type: Huo Long - 'Upgraded'"
			Attribute "mod minigun can holster while spinning"
			Cap 1
			Increment 1
			Cost 600
			SecondaryAttributes
			{
				"uses ammo while aiming" 4
				"damage bonus vs burning" 0.18
				"Set DamageType Ignite"	1
				"no primary ammo from dispensers while active" 1
			}
			Description "Bullets burn on hit and do more damage if targets are on fire. Consumes more ammo."
			Tier 1
			AllowedWeapons
			{
				ItemName "The Huo Long Heatmaker"
			}
		}
		ShotgunBurst
		{
			Name "Weapon Type: Burst Shotgun"
			Attribute "auto fires full clip"
			Cap 1
			Increment 1
			Cost 0
			Description	"Beggars styled reload." 
			Tier 1
			SecondaryAttributes
			{
				"clip size penalty" -0.33
				"fire rate bonus" -0.7
				"mult crit dmg" -0.33
			}
			DisallowedWeapons
			{
				Itemname "Panic Attack Shotgun"
				Itemname "The Reserve Shooter"
				ItemName "the family business"
				ItemName "The Widowmaker"
			}
			AllowedWeapons
			{
				ClassName TF_WEAPON_SHOTGUN_PRIMARY
				ClassName TF_WEAPON_SHOTGUN_HWG
				ClassName TF_WEAPON_SHOTGUN_SOLDIER
				ClassName TF_WEAPON_SHOTGUN_PYRO 
			}
		}
		FamilyBusinessBurst
		{
			Name "Weapon Type: Burst Shotgun"
			Attribute "auto fires full clip"
			Cap 1
			Increment 1
			Cost 0
			Description "Beggars styled reload." 
			AllowPlayerClass Heavy
			Tier 1
			SecondaryAttributes
			{
				"fire rate bonus" -0.55
				"mult crit dmg" -0.33
			}
			DisallowedWeapons
			{
				Itemname "Panic Attack Shotgun"
			}
			AllowedWeapons
			{
				ItemName "the family business"
			}
		}
		FrontierJusticeBurstOnly
		{
			Name "Weapon Type: Burst Shotgun"
			Attribute "auto fires full clip"
			Cap 1
			Increment 1
			Cost 0
			Description "Beggars styled reload." 
			Tier 1
			SecondaryAttributes
			{
				"fire rate bonus" -0.7
				"mult crit dmg" -0.33
			}
			DisallowedWeapons
			{
				ClassName TF_WEAPON_SHOTGUN_PRIMARY
				ClassName TF_WEAPON_SHOTGUN_HWG
				ClassName TF_WEAPON_SHOTGUN_SOLDIER
				ClassName TF_WEAPON_SHOTGUN_PYRO 
				Itemname "Panic Attack Shotgun"
				Itemname "The Widowmaker"
			}
			AllowedWeapons
			{
				ItemName "The Frontier Justice"
			}
		}
		FlameSpreader
		{
			Name "Weapon Type: Fire Spreader"
			Attribute "dmg pierces resists absorbs"
			Cap 1
			Increment 1
			Cost 0
			SecondaryAttributes
			{
				"flame life bonus" 3.25
			    "flame size bonus" 3.25
				"flame_spread_degree" 24
				"flame_drag"	3.5
				"lunchbox adds minicrits" 2
				"special item description 2"		"I don't know what's happening but everything is definitely burning!"
			}
			Description "Pierces resistances, and has spreaded flame particles." 
			Tier 1
            AllowedWeapons
			{
				ItemName "TF_WEAPON_FLAMETHROWER"
				SimilarToItem "TF_WEAPON_FLAMETHROWER"
			}
		}
		HaveFunAsKnightForOnce
		{
			Name "Melee Resistance"
			Description "+15% melee damage reduction"
			PlayerUpgrade 1
			Cost 100
			Attribute "mult dmgtaken from melee"
			Increment -0.15
			Cap 0.5
		}
		ReserveShooter
		{
			Name "Incendiary Bullets"
			Attribute "Set DamageType Ignite"
			Cap 1
			Increment 1
			Cost 250
			Description "Shotgun lights robots on fire and does more damage vs burning targets. Lowers flamethrower ammo." 
			Tier 1
			AllowPlayerClass Pyro
			SecondaryAttributes
			{
				"crit vs burning players" 1
				"fire rate penalty" 0.3
				"damage bonus vs burning" 0.60
				"hidden primary max ammo bonus" -0.65
				"weapon burn dmg reduced" -0.55
				"mult dmg vs tanks" 0.55
				"clip size penalty" -0.16
			}
			DisallowedWeapons
			{
				Itemname "Panic Attack Shotgun"
				Itemname "TF_WEAPON_SHOTGUN_PYRO"
			}
			AllowedWeapons
			{
				ItemName "The Reserve Shooter"
			}
		}
		PPJumper
		{
			Name "Weapon Type: PP Jumper"
			Attribute "maxammo grenades1 increased"
			Cap 3
			Increment 3
			Cost 0
			SecondaryAttributes
			{
				"self dmg push force increased" 10
				"override projectile type" 2
				"no self blast dmg" 2
				"damage bonus hidden"	0
			}
			Description "...Explosive jarate... For jumping?" 
			Tier 1
			AllowPlayerClass Sniper
            AllowedWeapons
			{
				ItemName "Jarate"
				SimilarToItem "Jarate"
			}
		}
		WingedHussarScatter
		{
			Name "Weapon Type: Winged Hussar"
			Attribute "lunchbox adds minicrits"
			Cap 1
			Increment 1
			Cost 0
			SecondaryAttributes
			{
				"provide on active" 1
				"health drain"	-3
				"heal on hit for rapidfire"	8
				"damage penalty" -0.3
				"clip size penalty hidden" -0.33
				"air dash count" 1
				"mult dmg while midair"	0.69
				"cancel falling damage" 1
				"mult dmg vs tanks" -0.2
			}
			Description "Health on hit + mini-crit and increased damage while airborne. Drains health periodically while active." 
			Tier 1
			AllowPlayerClass Scout
            AllowedWeapons
			{
				SimilarToItem "tf_weapon_scattergun"
				ItemName "tf_weapon_scattergun"
			}
		}
		MarbleLauncher
		{
			Name "Weapon Type: Marble Launcher"
			Attribute "lunchbox adds minicrits"
			Cap 1
			Increment 1
			Cost 0
			SecondaryAttributes
			{
				"special item description" "I AM F%$#£NG BALLIN!"
				"fuse bonus"	0.8
				"grenade bounce speed" 0.89
				"grenade bounce damage" 0.28
				"damage penalty" -0.1
				"custom projectile model"	models/weapons/c_models/c_xms_festive_ornament.mdl
			}
			Description "Grenades bounce off walls whilst also applying damage bonus if said grenades bounce off any surface. Slight damage reduction in return." 
			Tier 1
			AllowedWeapons
			{
				ItemName "The Iron Bomber"
				SimilarToItem "The Iron Bomber"
			}
		}
		BurstLauncherB
		{
			Name "Weapon Type: Burst Pitcher"
			Attribute "projectile spread angle penalty"
			Cap 3
			Increment 3
			Cost 750
			SecondaryAttributes
			{
				"custom projectile model"	"models/weapons/w_models/w_baseball.mdl"
				"special item description" "Balls."
				"damage penalty"	-.35
				"reload time increased" 0.25
				"fire rate bonus HIDDEN"	-.99
				//"clip size penalty" -.25
				"force fire full clip"		1
				"hidden primary max ammo bonus" 0.5
				"mult crit dmg" -0.33
			}
			Description "Burst of explosive (sandman) balls. Literally. Has extra ammo but comes with a damage penalty." 
			Tier 1
			AllowedWeapons
			{
				ItemName "TF_WEAPON_GRENADELAUNCHER"
				SimilarToItem "TF_WEAPON_GRENADELAUNCHER"
			}
			DisallowedWeapons // Disallow those weapons
			{
				ItemName "The Loch-n-Load"
				ItemName "The Iron Bomber"
			}
		}
		KGBKnight
		{
			Name "Weapon Type: Cage-y Bee"
			Attribute "turn to gold"
			Cap 1
			Increment 1
			Cost 0
			SecondaryAttributes
			{
				"hidden primary max ammo bonus" -1
				"damage bonus"	0.44
				"dmg bonus while half dead" 0.39
				"mult_dmgtaken_active"	-0.25
				"heal on hit for rapidfire" 15
				"critboost on kill" -2
				"patient overheal penalty" -0.69
				"fire rate penalty" -0.2
				"move speed bonus"	0.2
				"crit mod disabled" -1
				"crit mod disabled hidden" -1
			}
			Description "Restricted to melee & secondary only. More resistant than usual." 
			Tier 1
			AllowPlayerClass Heavyweapons
			AllowedWeapons
			{
				ItemName "The Killing Gloves of Boxing"
				SimilarToItem "The Killing Gloves of Boxing"
			}
		}
	}
}