module Base
{
	model 86fordE150seatfl
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_fl,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

	model 86fordE150seatfr
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_fl,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
        invertX = TRUE,
	}

	model 86fordE150seatml
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_ml,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

	model 86fordE150seatmr
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_ml,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
        invertX = TRUE,
	}

	model 86fordE150seatrl
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_rl,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

	model 86fordE150seatrr
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_rl,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
        invertX = TRUE,
	}

    model 86fordE150seatmm
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_mm,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}
    model 86fordE150seatrm
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_rm,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}
    model 86fordE150seatbl
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_bl,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}
    model 86fordE150seatbm
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_bm,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
	}
    model 86fordE150seatbr
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_bl,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
        invertX = TRUE,
	}

    model 86fordE150pd1
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_pd1,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		invertX = FALSE,
		scale = 0.1,
	}

	model 86fordE150pd2
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_pd2,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		invertX = FALSE,
		scale = 0.1,
	}

	model 86fordE150pd3
	{
		mesh = vehicles/Vehicles_86fordE150_Body|e150_seat_pd3,
		texture = Vehicles/Vehicles_86fordE150_Interior,
		shader = damn_wheel_shader,
		invertX = FALSE,
		scale = 0.1,
	}

    template vehicle E150SeatsTwo
	{
		part SeatFrontLeft
		{
			
			model SeatFL
			{
				file = 86fordE150seatfl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontLeft,
			container
			{
				seat = FrontLeft,
			}
		}

		part SeatFrontRight
		{

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

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

		part SeatMiddleLeft
		{
			
			model SeatML
			{
				file = 86fordE150seatml,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = TruckBed,
			container
			{
				seat = MiddleLeft,
			}
		}

		part SeatMiddleRight
		{

			model seatMR
			{
				file = 86fordE150seatmr,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = TruckBed,
			container
			{
				seat = MiddleRight,
			}

		}

		part SeatRearLeft
		{
			
			model SeatRL
			{
				file = 86fordE150seatrl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = TruckBed,
			container
			{
				seat = RearLeft,
			}
		}

		part SeatRearRight
		{

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

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

		part Seat*
		{
			category = seat,
			itemType = Base.E150CarSeat,
			mechanicRequireKey = true,
            durability = 3,
			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 = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						tags = Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Intermediate Mechanics,
				test = Vehicles.UninstallTest.Default,
				requireEmpty = true,
			}
			lua
			{
			}
		}

		part SeatFront*
		{
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

	}
	
	template vehicle E150SeatsFour
	{
		part SeatFrontLeft
		{
			
			model SeatFL
			{
				file = 86fordE150seatfl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontLeft,
			container
			{
				seat = FrontLeft,
			}
		}

		part SeatFrontRight
		{

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

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

		part SeatMiddleLeft
		{
			
			model SeatML
			{
				file = 86fordE150seatml,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = TruckBed,
			container
			{
				seat = MiddleLeft,
			}
		}

		part SeatMiddleRight
		{

			model seatMR
			{
				file = 86fordE150seatmr,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = TruckBed,
			container
			{
				seat = MiddleRight,
			}

		}

		part SeatRearLeft
		{
			
			model SeatRL
			{
				file = 86fordE150seatrl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = TruckBed,
			container
			{
				seat = RearLeft,
			}
		}

		part SeatRearRight
		{

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

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

		part Seat*
		{
			category = seat,
			itemType = Base.E150CarSeat,
			mechanicRequireKey = true,
            durability = 3,
			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 = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						tags = Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Intermediate Mechanics,
				test = Vehicles.UninstallTest.Default,
				requireEmpty = true,
			}
			lua
			{
			}
		}

		part SeatFront*
		{
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part SeatMiddle*
		{
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}

    template vehicle E150SeatsSix
	{
		part SeatFrontLeft
		{
			
			model SeatFL
			{
				file = 86fordE150seatfl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontLeft,
			container
			{
				seat = FrontLeft,
			}
		}

		part SeatFrontRight
		{

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

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

		part SeatMiddleLeft
		{
			
			model SeatML
			{
				file = 86fordE150seatml,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = TruckBed,
			container
			{
				seat = MiddleLeft,
			}
		}

		part SeatMiddleRight
		{

			model seatMR
			{
				file = 86fordE150seatmr,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = TruckBed,
			container
			{
				seat = MiddleRight,
			}

		}

		part SeatRearLeft
		{
			
			model SeatRL
			{
				file = 86fordE150seatrl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = TruckBed,
			container
			{
				seat = RearLeft,
			}
		}

		part SeatRearRight
		{

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

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

		part Seat*
		{
			category = seat,
			itemType = Base.E150CarSeat,
			mechanicRequireKey = true,
            durability = 3,
			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 = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						tags = Screwdriver,
						count = 1,
						keep = true,
						equip = primary,
					}
				}
				time = 300,
				skills = Mechanics:1,
				recipes = Intermediate Mechanics,
				test = Vehicles.UninstallTest.Default,
				requireEmpty = true,
			}
			lua
			{
			}
		}

		part SeatFront*
		{
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part SeatMiddle*
		{
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part SeatRear*
		{
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

	}

    template vehicle E150SeatsFull
	{
		part SeatFrontLeft
		{
			
			model SeatFL
			{
				file = 86fordE150seatfl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontLeft,
			container
			{
				seat = FrontLeft,
			}
		}

		part SeatFrontRight
		{

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

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

		part SeatMiddleLeft
		{
			
			model SeatML
			{
				file = 86fordE150seatml,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatRearLeft,
			container
			{
				seat = MiddleLeft,
			}
		}

        part SeatMiddleMiddle
		{
			
			model SeatMM
			{
				file = 86fordE150seatmm,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatRearLeft,
			container
			{
				seat = MiddleMiddle,
			}
		}

		part SeatMiddleRight
		{

			model seatMR
			{
				file = 86fordE150seatmr,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = SeatRearRight,
			container
			{
				seat = MiddleRight,
			}

		}

		part SeatRearLeft
		{
			
			model SeatRL
			{
				file = 86fordE150seatrl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatRearLeft,
			container
			{
				seat = RearLeft,
			}
		}

        part SeatRearMiddle
		{
			
			model SeatRL
			{
				file = 86fordE150seatrm,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatRearLeft,
			container
			{
				seat = RearMiddle,
			}
		}

		part SeatRearRight
		{

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

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

        part SeatBackLeft
		{
			
			model SeatBL
			{
				file = 86fordE150seatbl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatRearLeft,
			container
			{
				seat = BackLeft,
			}
		}

        part SeatBackMiddle
		{
			
			model SeatML
			{
				file = 86fordE150seatbm,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatRearLeft,
			container
			{
				seat = BackMiddle,
			}
		}

		part SeatBackRight
		{

			model seatBR
			{
				file = 86fordE150seatbr,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = SeatRearRight,
			container
			{
				seat = BackRight,
			}
		}

		part Seat*
		{
			category = seat,
			itemType = Base.E150CarSeat,
			mechanicRequireKey = true,
            durability = 3,
			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 = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						tags = 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,
			}
		}
	}

    template vehicle E150SeatsPayday
	{
		part SeatFrontLeft
		{
			
			model SeatFL
			{
				file = 86fordE150seatfl,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatFrontLeft,
			container
			{
				seat = FrontLeft,
			}
		}

		part SeatFrontRight
		{

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

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

		part E150RearSeatOne
		{
			
			model SeatOne
			{
				file = 86fordE150pd1,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = SeatRearRight,
			container
			{
				seat = PD1,
			}
		}

		part E150RearSeatTwo
		{

			model seatDva
			{
				file = 86fordE150pd2,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}

			area = SeatRearLeft,
			container
			{
				seat = PD2,
			}
		}

		part E150RearSeatThree
		{
			
			model SeatDrei
			{
				file = 86fordE150pd3,
				offset = 0 0 0,
				rotate = 0 0 0,
				scale = 1.0,
			}
			
			area = TruckBed,
			container
			{
				seat = PD3,
			}
		}

		part SeatFront*
		{
			category = seat,
			itemType = Base.E150CarSeat,
			mechanicRequireKey = true,
            durability = 3,
			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 = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						tags = 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 E150RearSeat*
		{
			category = seat,
			itemType = Base.E150CarSeat,
			mechanicRequireKey = true,
            durability = 3,
			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 = Vehicles.InstallTest.Default,
			}
			table uninstall
			{
				items
				{
					1
					{
						tags = 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,
			}
		}

	}
}

