module Base
{

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

	template vehicle OLD84RoofrackSedan
	{
		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 = OLD84.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 = OLD84.UninstallComplete.RoofrackSedan,
					requireEmpty = true,

            		}

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