module Base
{
    model 84buickElectraSpare
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|84c-platform_spare,
		texture = Vehicles/Vehicles_84buickElectra_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

	template vehicle ELE84SpareTires
	{
		part DAMNSpareTire
        	{
                model devSpareAll
                {
                    file = 84buickElectraSpare,
                }

			category = Other,
			area = TruckBed,
			specificItem = false,
			itemType = Base.85gmBbodyTire0;Base.85gmBbodyTire1;Base.85gmBbodyTire3;Base.85gmBbodyTire4;Base.85gmBbodyTire5;damnCraft.SteelTire1,
			mechanicRequireKey = false,
            durability = 3,

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

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

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

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

            		}

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