module Base
{

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

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

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

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

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

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

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

            		}

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