module Base
{
	model 88chevyS10BedCover
	{
		mesh = vehicles/Vehicles_88chevyS10_Body|chevyS10_cover_rear,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

	template vehicle CH88BedCover
		{
		part CH88BedCover
        	{

			model BackCover488734
				{
                		file = 88chevyS10BedCover,
				}

			area = TireRearRight,
			category = bodywork,
			specificItem = false,
			itemType = Base.88ChevyS10BedCover,
			mechanicRequireKey = false,
            durability = 2,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Wrench,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 2000,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = DAMN.InstallTest.Default,
                	complete = Vehicles.InstallComplete.Default,
                	requireUninstalled = CH88Rollbar,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Wrench,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

					time = 2000,
					skills = Mechanics:4,
					recipes = Intermediate Mechanics,
                	test = DAMN.UninstallTest.Default,
					complete = Vehicles.UninstallComplete.Default,
					requireUninstalled = CH88Roofrack;CH88TrunkDoorTop,
            		}

            		lua
            		{
            		create = DAMN.Create.Blank,
					}
		}
	}

		
}
