module Base
{
    model 84cadillacDeVilleSpare
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_spare,
		texture = Vehicles/Vehicles_84cadillacDeVille_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}

	template vehicle DEV84SpareTires
	{
		part DAMNSpareTire
        	{
                model devSpareAll
                {
                    file = 84cadillacDeVilleSpare,
                }

			category = Other,
			area = TruckBed,
			specificItem = false,
			itemType = Base.85gmBbodyTire0;Base.85gmBbodyTire1;Base.85gmBbodyTire3;Base.85gmBbodyTire4;Base.85gmBbodyTire5;damnCraft.SteelTire1,
			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 = DEV84.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 = DEV84.UninstallComplete.SpareTire,

            		}

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