module Base
{
	template vehicle AxleV100A4
	{

		part TireFrontLeft
		{
            model InflatedTirePlusWheel
			{
				file = runFlatSmall4AxleInv,
			}

			area = TireFrontLeft,
			wheel = FrontLeft,
			table install
			{
				requireInstalled = SuspensionFrontLeft,
			}
		}

		part TireFrontRight
		{
            model InflatedTirePlusWheel
			{
				file = runFlatSmall4Axle,
			}

			area = TireFrontRight,
			wheel = FrontRight,
			table install
			{
				requireInstalled = SuspensionFrontRight,
			}
		}


		part TireRearLeft
		{
            model InflatedTirePlusWheel
			{
				file = runFlatSmall4AxleInv,
			}

			area = TireRearLeft,
			wheel = RearLeft,
			table install
			{
				requireInstalled = SuspensionRearLeft,
			}
		}

		part TireRearRight
		{
            model InflatedTirePlusWheel
			{
				file = runFlatSmall4Axle,
			}

			area = TireRearRight,
			wheel = RearRight,
			table install
			{
				requireInstalled = SuspensionRearRight,
			}
		}


		part Tire*
		{
			category = tire,
            specificItem = false,
			itemType = runFlat.Small4TireAxle,
			container
			{
				capacity = 35,
				test = Vehicles.ContainerAccess.Tire,
				contentType = Air,
			}
			table install
			{
				items
				{
					1
					{
						type = Base.Jack,
						count = 1,
						keep = true,
					}
					2
					{
						type = Base.LugWrench,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 400,
				skills = Mechanics:1,
				test = Vehicles.InstallTest.Default,
				complete = Vehicles.InstallComplete.Tire,
			}
			table uninstall
			{
				items
				{
					1
					{
						type = Base.Jack,
						count = 1,
						keep = true,
					}
					2
					{
						type = Base.LugWrench,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 400,
				skills = Mechanics:1,
				test = Vehicles.UninstallTest.Default,
				complete = Vehicles.UninstallComplete.Tire,
			}
			lua
			{
				create = Vehicles.Create.Tire,
				init = Vehicles.Init.Tire,
				checkOperate = Vehicles.CheckOperate.Tire,
				update = Vehicles.Update.Tire,
			}
		}
	}
}