module Base
{

	model BR89seatfl
	{
		mesh = vehicles/Vehicles_89fordBronco_Body|89bronco_seat_fl,
		texture = Vehicles/Vehicles_89fordBronco_Interior_Wheel,
		shader = damn_wheel_shader,
		scale = 0.1,
	}
	model BR89seatfr
	{
		mesh = vehicles/Vehicles_89fordBronco_Body|89bronco_seat_fl,
		texture = Vehicles/Vehicles_89fordBronco_Interior_Wheel,
		shader = damn_wheel_shader,
		scale = 0.1,
		invertX = TRUE,
	}
	model BR89seatrl
	{
		mesh = vehicles/Vehicles_89fordBronco_Body|89bronco_seat_rl,
		texture = Vehicles/Vehicles_89fordBronco_Interior_Wheel,
		shader = damn_wheel_shader,
		scale = 0.1,
	}
	model BR89seatrr
	{
		mesh = vehicles/Vehicles_89fordBronco_Body|89bronco_seat_rl,
		texture = Vehicles/Vehicles_89fordBronco_Interior_Wheel,
		shader = damn_wheel_shader,
		scale = 0.1,
		invertX = TRUE,
	}
	
	template vehicle BR89Seats
	{
		part SeatFrontLeft
		{
			
			model SeatFL
			{
				file = BR89seatfl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontLeft,
			container
			{
				seat = FrontLeft,
			}
		}

		part SeatFrontRight
		{

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

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

		part SeatRearLeft
		{

			model seatRL
			{
				file = BR89seatrl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = SeatFrontLeft,
			container
			{
				seat = RearLeft,
			}
		}

		part SeatRearRight
		{

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

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

		part SeatFront*
		{
			category = seat,
			itemType = Base.80sPickupSeatFront,
			mechanicRequireKey = true,
            durability = 3,
			container
			{
				test = Vehicles.ContainerAccess.Seat,
			}
			table install
			{
				items
				{
					1
					{
						type = Base.Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Intermediate Mechanics,
				test = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						type = Base.Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Intermediate Mechanics,
				test = Vehicles.UninstallTest.Default,
				requireEmpty = true,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part SeatRear*
		{
			category = seat,
			itemType = Base.80sPickupSeatRear,
			mechanicRequireKey = true,
            durability = 3,
			container
			{
				test = Vehicles.ContainerAccess.Seat,
			}
			table install
			{
				items
				{
					1
					{
						type = Base.Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Intermediate Mechanics,
				test = DAMN.InstallTest.Default,
				requireUninstalled = DAMNBarrier,
			}
			table uninstall
			{
				items
				{
					1
					{
						type = Base.Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Intermediate Mechanics,
				test = DAMN.UninstallTest.Default,
				requireEmpty = true,
			}
			lua
            		{
            		create = DAMN.Create.Blank,
					}
		}
	}
}

