module Base
{

	model 86oshkoshP19Aroofrack1
	{
		mesh = vehicles/Vehicles_86oshkoshP19A_mk2_Body|p19a_roofrack1,
		texture = vehicles/Vehicles_86oshkoshP19A_Wheel_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}

	template vehicle P19ARoofrackCompartment
	{
		part P19ARoofrack
		{

			model Roofrack1
				{
                		file = 86oshkoshP19Aroofrack1,
				}

			category = bodywork,
			area = Roofrack,
			specificItem = false,
			itemType = Base.P19ARoofrack1_Item,
			mechanicRequireKey = false,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = P19A.ContainerAccess.Roofrack,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Wrench,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 1500,
                	skills = Mechanics:1,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
            		}

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

					time = 1500,
					skills = Mechanics:1,
					recipes = Intermediate Mechanics,
            		test = Vehicles.UninstallTest.Default,
					complete = P19A.UninstallComplete.Roofrack,
					requireEmpty = true,

            		}

            		lua
            		{
					create = P19A.Create.Roofrack,
					init = P19A.Init.Roofrack,
					}
		}
	}
}

