// Upgrades edited by Ian Hunter.
// Assign attribs to groups
// Assign items to groups

// upgrades.txt
"upgrades"
{
	// ITEM UPGRADES
	// Attributes generated by these will be attached to the chosen item.
	// This means the player can potentially invest in the same attribute on multiple items.
	// Best to not use passives that affect player stats, because they'll stack on the player.
	"ItemUpgrades"
	{
		"1"
		{
			"attribute"	"damage bonus"
			"icon"		"achievements/tf_demoman_kill_x_with_directpipe"
			"increment"	"0.25"
			"cap"		"2"
			"cost"		"400"
		}
		"1.1"
		{
			"attribute"	"damage bonus"
			"icon"		"achievements/tf_demoman_kill_x_with_directpipe"
			"increment"	"0.25"
			"cap"		"2"
			"cost"		"500"
			"quality"	"1"
		}
		"2"
		{
			"attribute"	"fire rate bonus"
			"icon"		"achievements/tf_scout_dodge_damage"
			"increment"	"-0.1"
			"cap"		"0.6"
			"cost"		"200"
		}
		"2.1"
		{
			"attribute"	"fire rate bonus"
			"icon"		"achievements/tf_heavy_kill_while_spunup"
			"increment"	"-0.15"
			"cap"		"0.55"
			"cost"		"500"
			"quality"	"1"
		}
		"2.2"
		{
			"attribute"	"melee attack rate bonus"
			"icon"		"mvm/upgradeicons/upgrade_attackspeed"
			"increment"	"-0.1"
			"cap"		"0.6"
			"cost"		"200"
		}
		"3"
		{
			"attribute"	"clip size bonus upgrade"
			"icon"		"achievements/tf_scout_destroy_sentry_with_pistol"
			"increment"	"0.5"
			"cap"		"3"
			"cost"		"400"
		}
		"4"
		{
			"attribute"	"maxammo primary increased"
			"icon"		"achievements/tf_heavy_assist_grind"
			"increment"	"0.5"
			"cap"		"2.5"
			"cost"		"250"
		}
		"4.1"
		{
			"attribute"	"maxammo secondary increased"
			"icon"		"achievements/tf_heavy_assist_grind"
			"increment"	"0.5"
			"cap"		"2.5"
			"cost"		"250"
		}
		"4.2"
		{
			"attribute"	"maxammo grenades1 increased"
			"icon"		"achievements/tf_scout_stun_uber_enemies"
			"increment"	"2"
			"cap"		"9"
			"cost"		"150"
		}
		"4.3"
		{
			"attribute"	"maxammo metal increased"
			"icon"		"mvm/upgradeicons/upgrade_metalcapacity"
			"increment"	"0.5"
			"cap"		"3"
			"cost"		"200"
		}
		"5"
		{
			"attribute"	"bleeding duration"
			"icon"		"achievements/tf_sniper_kill_invis_spy"
			"increment"	"10"
			"cap"		"10"
			"cost"		"200"
		}
		"6"
		{
			"attribute"	"heal on kill"
			"icon"		"achievements/tf_medic_kill_healed_spy"
			"increment"	"25"
			"cap"		"100"
			"cost"		"200"
		}
		"7"
		{
			"attribute"	"projectile penetration"
			"icon"		"achievements/tf_sniper_headshot_post_invuln"
			"increment"	"1"
			"cap"		"1"
			"cost"		"400"
		}
		"7.1"
		{
			"attribute"	"projectile penetration heavy"
			"icon"		"achievements/tf_sniper_headshot_post_invuln"
			"increment"	"1"
			"cap"		"3"
			"cost"		"400"
			"quality"	"1"
		}
//		"8"
//		{
//			"attribute"	"critboost"
//			"icon"		"mvm/upgradeicons/bottle_kritz"
//			"increment"	"1"
//			"cap"		"1"
//			"cost"		"100"
//			"ui_group"	"2"
//		}
//		"9"
//		{
//			"attribute"	"ubercharge"
//			"icon"		"mvm/upgradeicons/bottle_ubercharge"
//			"increment"	"1"
//			"cap"		"1"
//			"cost"		"75"
//			"ui_group"	"2"
//		}
		"10"
		{
			"attribute"	"bidirectional teleport"
			"icon"		"mvm/upgradeicons/upgrade_teleporter"
			"increment"	"1"
			"cap"		"1"
			"cost"		"150"
		}
		"11"
		{
			"attribute"	"srifle charge rate increased"
			"icon"		"achievements/tf_sniper_kill_at_roundstart"
			"increment"	"0.25"
			"cap"		"2"
			"cost"		"100"
		}
		"12"
		{
			"attribute"	"effect bar recharge rate increased"
			"icon"		"achievements/tf_win_well_minimumtime"
			"increment"	"-0.15"
			"cap"		"0.4"
			"cost"		"250"
		}
		"13"
		{
			"attribute"	"ubercharge rate bonus"
			"icon"		"achievements/tf_medic_assist_demoman"
			"increment"	"0.25"
			"cap"		"2"
			"cost"		"300"
		}
		"14"
		{
			"attribute"	"engy building health bonus"
			"icon"		"achievements/tf_engineer_repair_sentry_w_medic"
			"increment"	"1"
			"cap"		"4"
			"cost"		"400"
		}
		"15"
		{
			"attribute"	"engy sentry fire rate increased"
			"icon"		"achievements/tf_engineer_sentry_kill_lifetime_grind"
			"increment"	"-0.2"
			"cap"		"0.8"
			"cost"		"400"
		}
		"16"
		{
			"attribute"	"engy dispenser radius increased"
			"icon"		"achievements/tf_engineer_dispenser_heal_grind"
			"increment"	"1"
			"cap"		"4"
			"cost"		"100"
		}
		"17"
		{
			"attribute"	"engy disposable sentries"
			"icon"		"achievements/tf_engineer_freezecam_sentry"
			"increment"	"1"
			"cap"		"2"
			"cost"		"250"
		}
		"18"
		{
			"attribute"	"airblast pushback scale"
			"icon"		"achievements/tf_soldier_crouch_rocket_jump"
			"increment"	"0.25"
			"cap"		"2"
			"cost"		"100"
		}
//		"19"
//		{
//			"attribute"	"recall"
//			"icon"		"mvm/upgradeicons/bottle_teleport"
//			"increment"	"1"
//			"cap"		"1"
//			"cost"		"10"
//			"ui_group"	"2"
//		}
		"20"
		{
			"attribute"	"applies snare effect"
			"icon"		"achievements/tf_sniper_jarate_extinguish"
			"increment"	"-0.35"
			"cap"		"0.65"
			"cost"		"200"
		}
		"21"
		{
			"attribute"	"charge recharge rate increased"
			"icon"		"achievements/tf_demoman_charge_kill"
			"increment"	"1"
			"cap"		"5"
			"cost"		"150"
		}
		"22"
		{
			"attribute"	"uber duration bonus"
			"icon"		"mvm/upgradeicons/upgrade_medigun_duration"
			"increment"	"2"
			"cap"		"6"
			"cost"		"250"
		}
//		"23"
//		{
//			"attribute"	"refill_ammo"
//			"icon"		"mvm/upgradeicons/bottle_ammoresupply"
//			"increment"	"1"
//			"cap"		"1"
//			"cost"		"25"
//			"ui_group"	"2"
//		}
		"24"
		{
			"attribute"	"weapon burn dmg increased"
			"icon"		"achievements/tf_pyro_burn_spies_as_you"
			"increment"	"0.5"
			"cap"		"3"
			"cost"		"150"
		}
		"25"
		{
			"attribute"	"increase buff duration"
			"icon"		"achievements/tf_soldier_buff_teammates"
			"increment"	"0.25"
			"cap"		"1.5"
			"cost"		"250"
		}
		"26"
		{
			"attribute"	"projectile speed increased"
			"icon"		"achievements/tf_soldier_kill_airborne_target_while_airborne"
			"increment"	"0.25"
			"cap"		"2"
			"cost"		"150"
		}
//		"27"
//		{
//			"attribute"	"building instant upgrade"
//			"icon"		"mvm/upgradeicons/bottle_instantbuild"
//			"increment"	"1"
//			"cap"		"1"
//			"cost"		"50"
//			"ui_group"	"2"
//		}
		"28"
		{
			"attribute"	"faster reload rate"
			"icon"		"achievements/tf_heavy_survive_crocket"
			"increment"	"-0.2"
			"cap"		"0.4"
			"cost"		"250"
		}
		"29"
		{
			"attribute"	"critboost on kill"
			"icon"		"achievements/tf_engineer_revenge_crit_sentry_killer"
			"increment"	"2"
			"cap"		"4"
			"cost"		"300"
		}
		"30"
		{
			"attribute"	"robo sapper"
			"icon"		"achievements/tf_engineer_remove_sapper_long_dist"
			"increment"	"1"
			"cap"		"3"
			"cost"		"250"
		}
		"31"
		{
			"attribute"	"attack projectiles"
			"icon"		"achievements/tf_soldier_kill_sniper_while_dead"
			"increment"	"1"
			"cap"		"2"
			"cost"		"250"
		}
		"32"
		{
			"attribute"	"generate rage on damage"
			"icon"		"achievements/tf_mvm_heavy_rage_push_deploying_robot"
			"increment"	"3"
			"cap"		"3"
			"cost"		"500"
		}
		"33"
		{
			"attribute"	"explosive sniper shot"
			"icon"		"achievements/tf_maps_snakewater_double_air_deaths"
			"increment"	"1"
			"cap"		"3"
			"cost"		"350"
		}
		"34"
		{
			"attribute"	"armor piercing"
			"icon"		"achievements/tf_spy_sap_building_backstab_engy"
			"increment"	"25"
			"cap"		"99"
			"cost"		"400"
		}
		"35"
		{
			"attribute"	"mark for death"
			"icon"		"achievements/tf_scout_stun_scout_with_their_ball"
			"increment"	"1"
			"cap"		"1"
			"cost"		"400"
		}
		"36"
		{
			"attribute"	"clip size upgrade atomic"
			"icon"		"achievements/tf_scout_destroy_sentry_with_pistol"
			"increment"	"2"
			"cap"		"8"
			"cost"		"400"
		}
		"37"
		{
			"attribute"	"canteen specialist"
			"icon"		"achievements/tf_mvm_medic_share_bottles"
			"increment"	"1"
			"cap"		"3"
			"cost"		"200"
		}
		"38"
		{
			"attribute"	"overheal expert"
			"icon"		"achievements/tf_scout_assist_medic"
			"increment"	"1"
			"cap"		"4"
			"cost"		"250"
		}
		"39"
		{
			"attribute"	"mad milk syringes"
			"icon"		"achievements/tf_medic_heal_huge"
			"increment"	"1"
			"cap"		"1"
			"cost"		"200"
		}
		"40"
		{
			"attribute"	"rocket specialist"
			"icon"		"achievements/tf_pyro_reflect_crocket_kill"
			"increment"	"2"
			"cap"		"2"
			"cost"		"400"
		}
		"41"
		{
			"attribute"	"healing mastery"
			"icon"		"achievements/tf_heavy_heal_medikits"
			"increment"	"1"
			"cap"		"4"
			"cost"		"250"
		}
		"42"
		{
			"attribute"	"generate rage on heal"
			"icon"		"achievements/tf_demoman_kill_x_defending"
			"increment"	"1"
			"cap"		"2"
			"cost"		"300"
		}
		"43"
		{
			"attribute"	"damage force reduction"
			"icon"		"achievements/tf_melee_kill_classic_rifle_sniper"
			"increment"	"-0.3"
			"cap"		"0.1"
			"cost"		"100"
		}
		"44"
		{
			"attribute"	"falling_impact_radius_stun"
			"icon"		"achievements/tf_soldier_kill_airborne_with_direct_hit"
			"increment"	"1"
			"cap"		"1"
			"cost"		"300"
		}
		"45"
		{
			"attribute"	"thermal_thruster_air_launch"
			"icon"		"achievements/tf_maps_doomsday_solo_capture"
			"increment"	"1"
			"cap"		"1"
			"cost"		"100"
		}
		"46"
		{
			"attribute"	"mult_item_meter_charge_rate"
			"icon"		"achievements/tf_win_well_minimumtime"
			"increment"	"-0.15"
			"cap"		"0.4"
			"cost"		"100"
		}
		"47"
		{
			"attribute"	"explode_on_ignite"
			"icon"		"achievements/tf_pyro_achieve_progress3"
			"increment"	"1"
			"cap"		"1"
			"cost"		"1000"
		}
	}
	
	// PLAYER UPGRADES
	// Attributes generated by these will be attached to the player.
	"PlayerUpgrades"
	{
		"1"
		{
			"attribute"	"dmg taken from fire reduced"
			"icon"		"mvm/upgradeicons/upgrade_resistance_fire"
			"increment"	"-0.25"
			"cap"		"0.25"
			"cost"		"150"
		}
		"2"
		{
			"attribute"	"dmg taken from blast reduced"
			"icon"		"achievements/tf_demoman_kill_x_heavies_fullhp_onedet"
			"increment"	"-0.25"
			"cap"		"0.25"
			"cost"		"300"
		}
		"3"
		{
			"attribute"	"dmg taken from bullets reduced"
			"icon"		"mvm/upgradeicons/upgrade_resistance_bullet"
			"increment"	"-0.25"
			"cap"		"0.25"
			"cost"		"300"
		}
		"4"
		{
			"attribute"	"dmg taken from crit reduced"
			"icon"		"achievements/tf_soldier_shoot_mult_crits"
			"increment"	"-0.3"
			"cap"		"0.1"
			"cost"		"150"
		}
		"5"
		{
			"attribute"	"move speed bonus"
			"icon"		"achievements/tf_scout_long_distance_runner"
			"increment"	"0.1"
			"cap"		"1.3"
			"cost"		"200"
		}
		"6"
		{
			"attribute"	"health regen"
			"icon"		"achievements/tf_pyro_burn_medicpair"
			"increment"	"3"
			"cap"		"9"
			"cost"		"200"
		}
		"7"
		{
			"attribute"	"dmg from melee increased"
			"icon"		"achievements/tf_demoman_crit_sword_kill"
			"increment"	"-0.2"
			"cap"		"0.4"
			"cost"		"150"
		}
		"8"
		{
			"attribute"	"increased jump height"
			"icon"		"achievements/tf_scout_double_jumps"
			"increment"	"0.2"
			"cap"		"1.6"
			"cost"		"100"
		}
	}
}