module Base
{
	model 78amgeneralM35A2tarp1
	{
		mesh = vehicles/Vehicles_78amgeneralM35A2_Body|m35_tarp1,
		texture = Vehicles/Vehicles_78amgeneralM35A2_Wheel_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}
	model 78amgeneralM35A2tarp2
	{
		mesh = vehicles/Vehicles_78amgeneralM35A2_Body|m35_tarp2,
		shader = damn_vehicle_noreflect_shader,
		scale = 0.1,
	}

	model 78amgeneralM35A2tarp3
	{
		mesh = vehicles/Vehicles_78amgeneralM35A2_Body|m35_tarp3,
		texture = Vehicles/Vehicles_78amgeneralM35A2_Wheel_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}

	template vehicle M35A2Tarps
		{
		part M35A2Tarp
        	{

			model M35Tarp1
				{
                		file = 78amgeneralM35A2tarp1,
				}

			model M35Tarp2
				{
                		file = 78amgeneralM35A2tarp2,
				}

			model M35Tarp3
				{
                		file = 78amgeneralM35A2tarp3,
				}

			area = TireRearRight,
			category = bodywork,
			specificItem = false,
			itemType = Base.M35A2Tarp1_Item;Base.M35A2Tarp2_Item;Base.M35A2Tarp3_Item,
			mechanicRequireKey = false,

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

                	time = 1500,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = M35A2.InstallComplete.Tarp,
            		}

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

				time = 1700,
				skills = Mechanics:4,
				recipes = Intermediate Mechanics,
                test = Vehicles.UninstallTest.Default,
				complete = M35A2.UninstallComplete.Tarp,
            		}

            		lua
            		{
				create = M35A2.Create.Tarp,
				init = M35A2.Init.Tarp,
			}
		}
	}

		
}
