module Base
{
	template vehicle BikeHeadlight
	{
		part Headlight
		{
			area = Engine,
		}

		part Headlight*
		{
			category = Accessories,
			itemType = Base.BicycleHeadlight,
			repairMechanic = true,
			
			table install
			{
				items
				{
					1
					{
						type = Base.Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}

				time = 100,
				test = Vehicles.InstallTest.Default,
			}

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

				time = 100,
				test = Vehicles.UninstallTest.Default,
			}

			lua
			{
				create = BikeServer.Create.Headlight,
			}
		}
	}
}

