//Ty BetaM!
//econ_item_schema.cpp - line 4421
#base items_rebalance.txt
//#base items_dev.txt

"items_game"
{

	"prefabs"
	{
		"weapon_nailgun"
		{
			"tags"
			{
				"can_deal_damage"			"1"
				"can_deal_posthumous_damage"	"1"
				"can_deal_long_distance_damage"	"1"
			}
			"show_in_armory"			"1"
			"item_class"				"tf_weapon_nailgun"
			"item_type_name"			"Nailgun"
			"item_name"					"Nailgun"
			"item_description"			"A great tool that should be in every handy-mans toolbox.
			
not sure if it should be used as a weapon"
			"item_slot"					"secondary"
			"anim_slot"					"secondary"
			"item_iconname"				"nailgun"
			"item_quality"				"unique"
			"image_inventory"			"backpack/weapons/custommade/w_nailgun"
			"image_inventory_size_w"	"128"
			"image_inventory_size_h"	"82"
			"inspect_panel_dist"		"44"			
			"attach_to_hands"			"0"
			"model_world"				"models/weapons/w_models/w_nailgun.mdl"
			"model_player"				"models/weapons/v_models/v_nailgun_scout.mdl"
			"used_by_classes"
			{
				"scout"					"1"
			}
			"static_attrs"
			{
				"min_viewmodel_offset"	"5 0 -6"
			}	
			"attributes"
			{
				"hidden secondary max ammo penalty"
				{
					"attribute_class"	"mult_maxammo_secondary"
					"value"				"5.55555555556" // 200 max ammo																Old Value used for primary ammo is 3.47222222223
				}
			}
			"visuals"
			{	
			}
			"mouse_pressed_sound"		"#ui/item_light_gun_pickup.wav"
			"drop_sound"				"#ui/item_light_gun_drop.wav"
		}
	}
	"attributes"
	{
		//RESTORED ONES
		"342"
		{
			"name"	"see cash through walls"
			"attribute_class"	"see_cash_through_walls"
			"description_string"	"#Attrib_CashXray"
			"description_format"	"value_is_additive"
			"hidden"	"0"
			"effect_type"	"positive"
		}
		"480"
		{
			"name"	"radius stealth"
			"attribute_class"	"radius_stealth"
			"description_string"	"#Attrib_Radius_Stealth"
			"description_format"	"value_is_percentage"
			"hidden"	"0"
			"effect_type"	"negative"
			"stored_as_integer"	"0"
		}
		"483"
		{
			"name"	"medigun heals buildings"
			"attribute_class"	"medic_machinery_beam"
			"description_string"	"#Attrib_Heal_EngiBuildings"
			"description_format"	"value_is_additive"
			"hidden"	"1"
			"effect_type"	"negative"
			"stored_as_integer"	"0"
		}
		"523"
		{
			"name"	"arrow mastery"
			"attribute_class"	"arrow_mastery"
			"description_string"	"#Attrib_Arrow_Mastery"
			"description_format"	"value_is_additive"
			"hidden"	"1"
			"effect_type"	"negative"
			"stored_as_integer"	"0"		
		}
		// CUSTOM ONES 
		"4001"
		{
			"name"	"sniperrifle has laser pointer"
			"attribute_class"	"sniper_has_laserdot"
			"description_string"	"#Attrib_SniperLaser"
			"description_format"	"value_is_additive"
			"hidden"	"1"
			"effect_type"	"negative"
			"stored_as_integer"	"0"
		}
		"4002"
		{
			"name"	"drops reviver machine"
			"attribute_class"	"drops_reviver_machine"
			"description_format"	"value_is_additive"
			"hidden"	"1"
			"effect_type"	"negative"
			"stored_as_integer"	"0"
		}
		"4003"
		{
			"name"	"mod pda builds minidispenser"
			"attribute_class"	"pda_builds_minidispenser"
			"description_string"	"#Attrib_WrenchBuildsMiniDispenser"
			"description_format"	"value_is_additive"
			"hidden"	"0"
			"effect_type"	"negative"
			"stored_as_integer"	"0"
		}
		"4004"
		{
			"name"	"custom sticky trail"
			"attribute_class"	"custom_sticky_trail"
			"description_format"	"value_is_additive"
			"hidden"	"1"
			"effect_type"	"positive"
			"stored_as_integer" "0"
		}
		"4005"
		{
			"name"	"override hand model index"
			"attribute_class"	"override_hand_model_index"
			"description_format"	"value_is_additive"
			"hidden"	"1"
			"effect_type"	"positive"
			"stored_as_integer"	"0"
		}
		"4007"
		{
			"name"	"engy sentry rockets firerate bonus"
			"attribute_class"	"mult_engy_sentry_rockets_firerate"
			"description_format"	"value_is_additive"
			"hidden"	"1"
			"effect_type"	"neutral"
			"stored_as_integer"	"0"
		}
		"4013"
		{
			"name"	"airblast pushes teammates"
			"attribute_class"	"airblast_pushes_teammates"
			"description_string"	"#Attrib_AirblastYourTeam"
			"description_format"	"value_is_additive"
			"hidden"	"0"
			"effect_type"	"positive"
			"stored_as_integer"	"1"
		}
		"4011"
		{
			"name"	"has infinite ammo"
			"attribute_class"	"has_infinite_ammo"
			"description_format"	"value_is_additive"
			"hidden"	"1"
			"effect_type"	"positive"
			"stored_as_integer"	"1"
		}
		"4015"
		{
			"name"	"projectile has gravity"
			"attribute_class"	"projectile_has_gravity"
			"description_string"	"#Attrib_RocketGravity"
			"description_format"	"value_is_additive"
			"hidden"	"0"
			"effect_type"	"neutral"
			"stored_as_integer"	"1"
		}
		// GRUB FORTRESS ATTRIBUTES
		"5000"
		{
			"name"	"grenade no stick"
			"attribute_class"	"grenade_no_stick"
			"description_string"	"#Attrib_GrenadeNoStick"
			"description_format"	"value_is_additive_percentage"
			"hidden"	"0"
			"effect_type"	"neutral"
			"stored_as_integer"	"0"
		}
		"5001"
		{
			"name"	"grenade no bounce stickless"
			"attribute_class"	"grenade_no_bounce"
			"description_string"	"Attrib_grenade_no_bounce_stickless"
			"description_format"	"value_is_additive"
			"hidden"	"0"
			"effect_type"	"positive"
		}
	}
	"items"
	{
		// New Weapons
		// Nailgun 
		"32001"
		{
			"name"						"Nailgun"
			"prefab"					"weapon_nailgun"
			"moditem"					"1"
		}
		// RPG 
		"32002"
		{
			"name"						"RPG"
			"item_quality"				"unique"
			"item_name"					"RPG"
			"prefab"					"weapon_rocketlauncher"
			"model_player"				"models/weapons/c_models/c_rpg/c_rpg.mdl"
			"show_in_armory"			"1"
			"moditem"					"1"
			"attributes"
			{
				"projectile has gravity"
				{
					"attribute_class"	"projectile_has_gravity"
					"value"				"1"
				}
				"damage bonus"
				{
					"attribute_class"	"mult_dmg"
					"value"				"1.20"
				}
				"clip size penalty"
				{
					"attribute_class"	"mult_clipsize"
					"value"				"0.50"
				}
			}
		}
		// Leadpipe 
		"32003"
		{
			"name"	"Leadpipe"
			"item_class"	"saxxy"
			"prefab"	"weapon_melee_allclass"
			"tags"
			{
				"can_deal_damage"			"1"
				"can_deal_critical_damage"	"1"
				"can_be_equipped_by_soldier_or_demo"	"1"
			}
			"item_logname"	"leadpipe"
			"item_iconname"	"leadpipe"
			"show_in_armory"	"1"
			"moditem"			"1"
			"item_type_name"	"#TFGRUB_Weapon_Leadpipe"
			"item_name"	"#TFGRUB_Weapon_Leadpipe"
			"item_slot"	"melee"
			"image_inventory"	"backpack/weapons/custommade/c_leadpipe"
			"image_inventory_size_w"		"128"
			"image_inventory_size_h"		"82"
			"model_player"	"models/weapons/c_models/c_leadpipe/c_leadpipe.mdl"
			"attach_to_hands"	"1"
			"inspect_panel_dist" "40"
			"item_quality"	"unique"
			"propername"	"1"
			"min_ilevel"	"5"
			"max_ilevel"	"5"
			"anim_slot" "MELEE_ALLCLASS"
			"used_by_classes"
			{
				"heavy"	"1"
			}
			"static_attrs"
			{
				"min_viewmodel_offset"		"10 0 -7"
			}
			"attributes"
			{
				"damage bonus" 
				{
					"attribute_class"	"mult_dmg"
					"value"				"1.5"
				}
				"fire rate penalty"
				{
					"attribute_class"	"mod_firerate"
					"value"				"1.2"
				}
				"crit mod disabled"
				{
					"attribute_class"	"mod_crit_chance"
					"value"				"0"
				}
			}
			"visuals"
			{
			}
			"mouse_pressed_sound"	"ui/item_metal_weapon_pickup.wav"
			"drop_sound"		"ui/item_metal_weapon_drop.wav"
		}
		// Pipebomb Launcher (Old name : Not So Sticky Bomb Launcher)
		"32004"
		{
			"name"						"The Pipebomb Launcher"
			"item_quality"				"unique"
			"item_name"					"The Pipebomb Launcher"
			"prefab"					"weapon_stickybomb_launcher"
			"item_description"			"(Credits : Haau, Extra Ram)"
			"image_inventory"			"backpack/weapons/w_models/w_construction_launcher"
			"image_inventory_size_w"	"128"
			"image_inventory_size_h"	"82"
			"model_player"				"models/weapons/c_models/c_construction_launcher/c_construction_launcher.mdl"
			"show_in_armory"			"1"
			"moditem"					"1"
			"attributes"
			{
				"grenade no stick"
				{
					"attribute_class"	"grenade_no_stick"
					"value"				"1"
				}
				"grenade no bounce"
				{
					"attribute_class"	"grenade_no_bounce"
					"value"	"1"
				}
				"override projectile type"
				{
					"attribute_class"	"override_projectile_type"
					"value"				"31" // w_grenade_grenadelauncher_remote
				}
			}
		}
		// Not So Sticky Jumper 
// 		"32005"
// 		{
// 			"name"						"TF_WEAPON_STICKLESS_PRACTICE"
// 			"item_quality"				"unique"
// 			"item_name"					"Not So Sticky Jumper"
// 			"prefab"					"weapon_stickybomb_launcher"
// 			"image_inventory"			"backpack/weapons/c_models/c_sticky_jumper/c_sticky_jumper"
// 			"image_inventory_size_w"	"128"
// 			"image_inventory_size_h"	"82"
// 			"inspect_panel_dist"		"50"
// 			"model_player"				"models/weapons/c_models/c_sticky_jumper/c_sticky_jumper.mdl"
// 			"show_in_armory"			"1"
// 			"moditem"					"1"
// 			"attributes"
// 			{
// 				"grenade no stick"
// 				{
// 					"attribute_class"	"grenade_no_stick"
// 					"value"				"1"
// 				}
// 				"grenade no bounce"
// 				{
// 					"attribute_class"	"grenade_no_bounce"
// 					"value"	"1"
// 				}
// 				"override projectile type"
// 				{
// 					"attribute_class"	"override_projectile_type"
// 					"value"				"31"
// 				}
// 				"damage penalty"
// 				{
// 					"attribute_class"	"mult_dmg"
// 					"value"				"0.002"
// 				}
// 				"crit mod disabled"
// 				{
// 					"attribute_class"	"mult_crit_chance"
// 					"value"				"0"
// 				}
// 				"no self blast dmg"
// 				{
// 					"attribute_class"	"no_self_blast_dmg"
// 					"value"				"2"
// 				}
// 				"maxammo secondary increased"
// 				{
// 					"attribute_class"	"mult_maxammo_secondary"
// 					"value"				"3.0"
// 				}
// 				"max pipebombs decreased"
// 				{
// 					"attribute_class"	"add_max_pipebombs"
// 					"value"				"-6"
// 				}
// 				"cannot pick up intelligence"
// 				{
// 					"attribute_class"	"cannot_pick_up_intelligence"
// 					"value"				"1"
// 				}
// 			}
//		}
		// The Under Pressure
		"32006"
		{
			"name"						"The Under Pressure"
			"item_quality"				"unique"
			"prefab"					"weapon_syringegun"		
			"item_description"			"(Credits : Haau, Dim)"				
			"show_in_armory"			"1"	
			"moditem"					"1"
			"item_slot"					"primary"
			"propername"				"1"
			"item_name"					"The Under Pressure"	
			"item_logname"				"under_pressure"
			"item_iconname"				"under_pressure"
			"image_inventory"			"backpack\weapons\c_models\c_underpressure\c_underpressure"
			"image_inventory_size_w"	"128"
			"image_inventory_size_h"	"82"
			"inspect_panel_dist"		"44"					
			"model_player"				"models\weapons\c_models\c_underpressure/c_underpressure.mdl"
			"attach_to_hands"			"1"
			"used_by_classes"
			{
				"medic"					"1"
			}
			"attributes"	
			{			
				"fire rate bonus"
				{
					"attribute_class"	"mult_postfiredelay"
					"value"				"0.5"
				}			
				"clip size penalty"
				{
					"attribute_class"	"mult_clipsize"
					"value"				"0.25"			
				}			
				"damage penalty"
				{
					"attribute_class"	"mult_dmg"
					"value"				"0.75"			
				}					
			}
			"visuals"
			{
			}
			"mouse_pressed_sound"		"#ui/item_heavy_gun_pickup.wav"
			"drop_sound"				"#ui/item_heavy_gun_drop.wav"			
		}		
		// The Perforator
		"32007"
		{
			"name"						"The Perforator"
			"item_quality"				"unique"
			"prefab"					"weapon_minigun"	
			"show_in_armory"			"1"	
			"moditem"					"1"
			"item_description"			"Shoots nail projectiles
			
			(Credits : Haau, kibbleknight)"
			"propername"				"0"
			"item_name"					"The Perforator"
			"item_logname"				"perforator"
			"item_iconname"				"perforator"
			"image_inventory"			"backpack/weapons/w_models/w_nail_minigun"
			"model_player"				"models/weapons/c_models/c_nail_minigun/c_nail_minigun.mdl"
			"attach_to_hands"			"1"
			"used_by_classes"
			{
				"heavy"				"1"
			}
			"attributes"
			{
				"override projectile type"
				{
					"attribute_class"	"override_projectile_type"
					"value"				"32"
				}
				"damage bonus" 
				{
					"attribute_class"	"mult_dmg"
					"value"				"2"
				}			
//				"fire rate penalty"
//				{
//					"attribute_class"	"mult_postfiredelay"
//					"value"				"1.5"
//				}		
				"maxammo primary reduced" 
				{
					"attribute_class"	"mult_maxammo_primary"
					"value"				"0.5"
				}			
				"minigun spinup time increased"
				{
					"attribute_class"	"mult_minigun_spinup_time"
					"value"				"1.15"
				}	
//				"max health additive penalty" 
//				{
//					"attribute_class"	"add_maxhealth"
//					"value"				"-50"
//				}							
			}
			"visuals"
			{		
			}
			"static_attrs"
			{	
			}	
			"mouse_pressed_sound"		"#ui/item_heavy_gun_pickup.wav"
			"drop_sound"				"#ui/item_heavy_gun_drop.wav"
		}
		// The Big Owen
		"32008"
		{
			"name"						"The Big Owen"
			"item_quality"				"unique"
			"prefab"					"weapon_minigun"	
			"item_class"				"tf_weapon_minigun_singleshot"
			"show_in_armory"			"1"	
			"moditem"					"1"
			"item_description"			"(Credits : Haau, kibbleknight)"
			"propername"				"0"
			"anim_slot"					"primary"
			"item_name"					"The Big Owen"
			"item_logname"				"bigowen"
			"item_iconname"				"bigowen"
			"image_inventory"			"backpack/workshop/weapons/c_models/c_bigOwen/c_bigOwen"
			"model_player"				"models/workshop/weapons/c_models/c_bigOwen/c_bigOwen.mdl"
			"attach_to_hands"			"1"
			"used_by_classes"
			{
				"heavy"					"1"
			}
			"attributes"
			{
				"weapon spread bonus"
				{
					"attribute_class"	"mult_spread_scale"
					"value"				"0"
				}
				"fire rate penalty"
				{
					"attribute_class"	"mult_postfiredelay"
					"value"				"2.5"
				}
				"minigun spinup time decreased"
				{
					"attribute_class"	"mult_minigun_spinup_time"
					"value"				"0.5"
				}
				"damage penalty"
				{
					"attribute_class"	"mult_dmg"
					"value"				"0.85"
				}	
				"maxammo primary reduced"
				{
					"attribute_class"	"mult_maxammo_primary"
					"value"				"0.25"
				}
				"minigun no spin sounds"
				{
					"attribute_class"	"minigun_no_spin_sounds"
					"value" "1"
				}
				"dmg penalty vs buildings"
				{
					"attribute_class"	"mult_dmg_vs_buildings"
					"value" "0.50"
				}
			}
			"visuals"
			{
				"sound_special1"	"Weapon_Tomislav.WindUp"
				"sound_special2"	"Weapon_Tomislav.WindDown"
			}
			"static_attrs"
			{	
			}	
			"mouse_pressed_sound"		"#ui/item_heavy_gun_pickup.wav"
			"drop_sound"				"#ui/item_heavy_gun_drop.wav"
		}
		// Metal Backpack
		"32009"
		{
			"name"						"Metal Backpack"
			"item_class"				"tf_wearable"
			"show_in_armory"			"1"
			"moditem"					"1"
			"item_type_name"			"#TF_Wearable_Backpack"
			"item_name"					"Metal Backpack"
			"item_description"			"#TF_CozyCamper_Desc"
			"item_slot"					"secondary"
			"equip_region"				"back"
			"anim_slot"					"FORCE_NOT_USED"
			"item_quality"				"unique"
			"propername"				"1"
			"image_inventory"			"backpack/workshop/player/items/sniper/xms_sniper_commandobackpack/xms_sniper_commandobackpack"
			"image_inventory_size_w"	"128"
			"image_inventory_size_h"	"82"
			"model_player"				"models/workshop/player/items/sniper/xms_sniper_commandobackpack/xms_sniper_commandobackpack.mdl"
			"extra_wearable"			"models/workshop/player/items/sniper/xms_sniper_commandobackpack/xms_sniper_commandobackpack.mdl"
			"used_by_classes"
			{
				"engineer"				"1"
			}
			"attributes"
			{
				"maxammo metal increased"
				{
					"attribute_class"	"mult_maxammo_metal"
					"value"				"1.25"
				}
			}
			"mouse_pressed_sound"		"ui/item_pack_pickup.wav"
			"drop_sound"				"ui/item_pack_drop.wav"
		}
	}
}