module Base
{

	model 84gmCbodyRoofrack0
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|84c-platform_roofrack0,
		texture = Vehicles/Items_85gmBbody_Roofrack,
		shader = vehiclewheel,
		scale = 0.1,
	}

	template vehicle ELE84RoofrackSedan
	{
		part GM85Roofrack
		{
            model Roofrack0
				{
                		file = 84gmCbodyRoofrack0,
                		offset = 0.0000 0.0000 0.0000,
				}

			category = Other,
			area = Roofrack,
			itemType = Base.85gmBbodyRoofrack,
			mechanicRequireKey = false,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = DAMN.ContainerAccess.Roofrack,
			}

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

                	time = 1500,
                	skills = Mechanics:1,
                	recipes = Intermediate Mechanics,
                	complete = ELE84.InstallComplete.RoofrackSedan,
                	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 = ELE84.UninstallComplete.RoofrackSedan,
					requireEmpty = true,

            		}

            lua
            	{
					create = ELE84.Create.RoofrackSedan,
					init = ELE84.Init.RoofrackSedan,
				}
		}
	}
}