module Base
{

	model 92nissanGTRseatfl
	{
		mesh = vehicles/Vehicles_92nissanGTR_Body|gtr_seat_fr,
		texture = Vehicles/Vehicles_92nissanGTR_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}
	model 92nissanGTRseatfr
	{
		mesh = vehicles/Vehicles_92nissanGTR_Body|gtr_seat_fr,
		texture = Vehicles/Vehicles_92nissanGTR_Interior,
		shader = vehiclewheel,
		scale = 0.1,
        invertX = TRUE,
	}
	model 92nissanGTRseatrl
	{
		mesh = vehicles/Vehicles_92nissanGTR_Body|gtr_seat_rl,
		texture = Vehicles/Vehicles_92nissanGTR_Interior,
		shader = vehiclewheel,
		scale = 0.1,
	}
	model 92nissanGTRseatrr
	{
		mesh = vehicles/Vehicles_92nissanGTR_Body|gtr_seat_rl,
		texture = Vehicles/Vehicles_92nissanGTR_Interior,
		shader = vehiclewheel,
		scale = 0.1,
        invertX = TRUE,
	}
	
	template vehicle R32Seats
	{
		part SeatFrontLeft
		{
			
			model SeatFL
			{
				file = 92nissanGTRseatfl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontRight,
			itemType = Base.R32FrontSeat,
			container
			{
				seat = FrontLeft,
			}
		}

		part SeatFrontRight
		{

			model seatFR
			{
				file = 92nissanGTRseatfr,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = SeatFrontLeft,
			itemType = Base.R32FrontSeat,
			container
			{
				seat = FrontRight,
			}
		}

		part SeatRearLeft
		{
			
			model SeatRL
			{
				file = 92nissanGTRseatrl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontRight,
			itemType = Base.R32RearSeat,
			container
			{
				seat = RearLeft,
			}
		}

		part SeatRearRight
		{

			model seatRR
			{
				file = 92nissanGTRseatrr,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = SeatFrontLeft,
			itemType = Base.R32RearSeat,
			container
			{
				seat = RearRight,
			}
		}

		part Seat*
		{
			category = seat,
			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 = Advanced Mechanics,
				test = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						type = Base.Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Advanced Mechanics,
				test = Vehicles.UninstallTest.Default,
				requireEmpty = true,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}
}

