module Base
{
	template vehicle CVPI99SpareTires
	{
		part CVPI99SpareTire
        	{

			model SpareTire1
				{
                		file = 99fordCVPIWheel,
                        offset = -0.3151 0.0111 -1.6444,
				        rotate = 0.0000 0.0000 90.0000,
				}

			category = Other,
			area = TruckBed,
			itemType = Base.fordCVPITire,
			mechanicRequireKey = false,

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

                	time = 750,
                	skills = Mechanics:1,
                	recipes = Basic Mechanics,
                	door = TrunkDoor,
                	test = Vehicles.InstallTest.Default,
                	complete = CVPI99.InstallComplete.SpareTire,
            		}

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

					time = 800,
					skills = Mechanics:1,
					recipes = Basic Mechanics,
	            	test = Vehicles.UninstallTest.Default,
	            	complete = CVPI99.UninstallComplete.SpareTire,

            		}

	            lua
	            {
				create = CVPI99.Create.SpareTire,
				init = CVPI99.Init.SpareTire,
				}
		}
	}
}

