module Base
{
	model 74amgeneralM151A2bumper1
	{
		mesh = vehicles/Vehicles_74amgeneralM151A2_Body|m151_bumper,
		shader = damn_vehicle_noreflect_shader,
		scale = 0.1,
	}

	model 92amgeneralM998bullbarX
	{
		mesh = vehicles/Vehicles_74amgeneralM151A2_Body|HMMWV_smallbullbar,
		texture = Vehicles/Parts_92amgeneralM998_Backup,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 74amgeneralM151A2bumperRear
	{
		mesh = vehicles/Vehicles_74amgeneralM151A2_Body|m151_bumperettes,
		shader = damn_vehicle_noreflect_shader,
		scale = 0.1,
	}

	template vehicle M151A2Bumpers
		{
		part M151A2Bumper
        	{

			model Bumper1
				{
                		file = 74amgeneralM151A2bumper1,
				}

			model Bumper2
				{
                		file = 92amgeneralM998bullbarX,
				}

			area = Engine,
			category = bodywork,
			specificItem = false,
			itemType = Base.M151A2Bumper1_Item;Base.M998Bullbar1_Item,
			mechanicRequireKey = false,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Wrench,
                        	count = 1,
                        	keep = true,
				equip = primary,
                    		}
                	}

                	time = 750,
                	skills = Mechanics:3,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = M151A2.InstallComplete.Bumper,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
  				type = Base.Wrench,
				count = 1,
				keep = true,
				equip = primary,
                    		}
                	}

			time = 650,
			skills = Mechanics:3,
			recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
			complete = M151A2.UninstallComplete.Bumper,
            		}

            		lua
            		{
			create = M151A2.Create.Bumper,
			init = M151A2.Init.Bumper,
			}
		}

        part M151A2BumperRear
        	{

			model BumperRear0
				{
                		file = 74amgeneralM151A2bumperRear,
				}

				area = TruckBed,
				category = bodywork,
				specificItem = false,
				itemType = Base.M151A2BumperRear,
				mechanicRequireKey = false,

				table install
				{
                	items
                	{
                    	1
                    		{
                        	type = Base.Wrench,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 450,
                	skills = Mechanics:3,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = M151A2.InstallComplete.BumperRear,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				type = Base.Wrench,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

					time = 500,
					skills = Mechanics:3,
					recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
					complete = M151A2.UninstallComplete.BumperRear,
            		}

            		lua
            		{
					create = M151A2.Create.BumperRear,
					init = M151A2.Init.BumperRear,
					}
		}
	}
}