module Base
{
	template vehicle PRS82SpareTire
		{
		part DAMNSpareTireTrunk
        	{

				area = TruckBed,
				category = Other,
				specificItem = false,
				itemType = Base.82porsche911TurboTire;damnCraft.SmallTire1;Base.82porsche911SCTire,
				mechanicRequireKey = false,
                durability = 3,

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

                	time = 800,
                	skills = Mechanics:1,
                	door = TrunkDoor,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = PRS82.InstallComplete.SpareTire,
            		}

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

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

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

    template vehicle PRS82SpareTireRWB
		{
		part DAMNSpareTireTrunk
        	{

				area = TruckBed,
				category = Other,
				specificItem = false,
				itemType = Base.82porsche911RWBTire;damnCraft.SmallTire1,
				mechanicRequireKey = false,
                durability = 3,

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

                	time = 800,
                	skills = Mechanics:1,
                	door = TrunkDoor,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = PRS82.InstallComplete.SpareTireRWB,
            		}

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

					time = 750,
					skills = Mechanics:1,
					recipes = Intermediate Mechanics,
		            test = Vehicles.UninstallTest.Default,
		            complete = PRS82.UninstallComplete.SpareTireRWB,
            		}

            		lua
            		{
            			init = PRS82.Init.SpareTireRWB,
						create = PRS82.Create.SpareTireRWB,
					}

			}
	}
}