module Base
{

	template vehicle DGC89SpareTire
		{
		part DAMNSpareTire
        	{

				area = TruckBed,
				category = tire,
				specificItem = false,
				itemType = Base.89dodgeCaravanTire1;Base.89dodgeCaravanTireOffroad2;damnCraft.SmallTire1,
				mechanicRequireKey = false,
                durability = 3,

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

                	time = 500,
                	skills = Mechanics:1,
                	recipes = Intermediate Mechanics,
                	test = DAMN.InstallTest.Default,
                	complete = DGC89.InstallComplete.SpareTire,
            		}

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

					time = 750,
					skills = Mechanics:1,
					recipes = Intermediate Mechanics,
		            test = DAMN.UninstallTest.Default,
		            complete = DGC89.UninstallComplete.SpareTire,
            		}

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