module Base
{
	template vehicle BikeBasket
	{
		part BikeBasket
		{
			category = Accessories,
			area = SeatFront,
			itemType = Base.BicycleBasket,
			repairMechanic = true,

			container
			{
				conditionAffectsCapacity = true,
			}

			table install
			{
				requireInstalled = SuspensionFront,

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

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

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

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

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