module Base
{

	model 82porsche911seatfl
	{
		mesh = vehicles/Vehicles_82porsche911_Body|p911_seat_f,
		texture = Vehicles/Vehicles_82porsche911_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}
	model 82porsche911seatfr
	{
		mesh = vehicles/Vehicles_82porsche911_Body|p911_seat_f,
		texture = Vehicles/Vehicles_82porsche911_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
        invertX = TRUE,
	}
	
	template vehicle PRS82Seats
	{
		part SeatFrontLeft
		{
			
			model SeatFL
			{
				file = 82porsche911seatfl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontLeft,
			itemType = Base.82porsche911FrontSeat,
			container
			{
				seat = FrontLeft,
			}
		}

		part SeatFrontRight
		{

			model seatFR
			{
				file = 82porsche911seatfr,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = SeatFrontRight,
			itemType = Base.82porsche911FrontSeat,
			container
			{
				seat = FrontRight,
			}
		}

		part Seat*
		{
			category = seat,
			mechanicRequireKey = true,
            durability = 5,
			container
			{
				test = Vehicles.ContainerAccess.Seat,
			}
			table install
			{
				items
				{
					1
					{
						tags = Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Intermediate Mechanics,
				test = DAMN.InstallTest.Default,
				complete = Vehicles.InstallComplete.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						tags = Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Intermediate Mechanics,
				test = DAMN.UninstallTest.Default,
				complete = Vehicles.UninstallComplete.Default,
				requireEmpty = true,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}
}