module Base
{

	model 78amgeneralM35A2seatfl
	{
		mesh = vehicles/Vehicles_78amgeneralM35A2_Body|USMIL_seatFL,
		texture = Vehicles/Items_USMIL_seat0,
		shader = vehiclewheel,
		scale = 0.1,
	}
	model 78amgeneralM35A2seatfr
	{
		mesh = vehicles/Vehicles_78amgeneralM35A2_Body|USMIL_seatFL,
		texture = Vehicles/Items_USMIL_seat0,
		shader = vehiclewheel,
		scale = 0.1,
        invertX = TRUE,
	}
	template vehicle M35A2Seats
	{
		part SeatFrontLeft
		{
			
			model SeatFL
			{
				file = 78amgeneralM35A2seatfl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontLeft,
			container
			{
				seat = FrontLeft,
			}
		}

		part SeatFrontRight
		{

			model seatFR
			{
				file = 78amgeneralM35A2seatfr,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = SeatFrontRight,
			container
			{
				seat = FrontRight,
			}
		}

		part SeatFront*
		{
			category = seat,
            specificItem = false,
			itemType = USMIL.Seat0;Base.M35A2CarSeat2,
			mechanicRequireKey = true,
			container
			{
				test = Vehicles.ContainerAccess.Seat,
			}
			table install
			{
				items
				{
					1
					{
						type = Base.Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Basic Mechanics,
				test = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						type = Base.Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Basic Mechanics,
				test = Vehicles.UninstallTest.Default,
				requireEmpty = true,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}
}

