--
-- Created by IntelliJ IDEA.
-- User: RJ
-- Date: 25/01/2018
-- Time: 09:20
-- To change this template use File | Settings | File Templates.
--

ISCarMechanicsOverlay = {};
ISCarMechanicsOverlay.CarList = {};
ISCarMechanicsOverlay.CarList["Base.CarNormal"] = {imgPrefix = "4door_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.CarLights"] = {imgPrefix = "4door_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.CarLightsPolice"] = {imgPrefix = "4door_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.ModernCar"] = {imgPrefix = "4door_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.ModernCar02"] = {imgPrefix = "4door_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.CarTaxi"] = {imgPrefix = "4door_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.CarTaxi2"] = {imgPrefix = "4door_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.CarStationWagon"] = {imgPrefix = "stationwagon_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.CarStationWagon2"] = {imgPrefix = "stationwagon_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.SmallCar"] = {imgPrefix = "smallcar_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.SmallCar02"] = {imgPrefix = "smallcar_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.SportsCar"] = {imgPrefix = "sportscar_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.CarLuxury"] = {imgPrefix = "sportscar_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.SUV"] = {imgPrefix = "suv_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.OffRoad"] = {imgPrefix = "offroad_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.PickUpVanLights"] = {imgPrefix = "truck_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.PickUpVanLightsFire"] = {imgPrefix = "truck_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.PickUpVanLightsPolice"] = {imgPrefix = "truck_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.PickUpVan"] = {imgPrefix = "truck_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.PickUpVanMccoy"] = {imgPrefix = "truck_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.PickUpTruckLights"] = {imgPrefix = "truck_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.PickUpTruckLightsFire"] = {imgPrefix = "truck_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.PickUpTruck"] = {imgPrefix = "truck_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.PickUpTruckMccoy"] = {imgPrefix = "truck_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.Van"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.VanSpiffo"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.VanSeats"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.VanAmbulance"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.VanRadio"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.StepVan"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.StepVanMail"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.VanSpecial"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.Van_MassGenFac"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.Van_Transit"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.VanRadio_3N"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.StepVan_Scarlet"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.StepVan_Heralds"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.Van_LectroMax"] = {imgPrefix = "van_", x=10,y=0};
ISCarMechanicsOverlay.CarList["Base.Van_KnoxDisti"] = {imgPrefix = "van_", x=10,y=0};

-- smashed cars just inherit their parent image
ISCarMechanicsOverlay.CarList["Base.CarNormalSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.CarNormal"];
ISCarMechanicsOverlay.CarList["Base.CarNormalSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.CarNormal"];
ISCarMechanicsOverlay.CarList["Base.CarNormalSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.CarNormal"];
ISCarMechanicsOverlay.CarList["Base.CarNormalSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.CarNormal"];

ISCarMechanicsOverlay.CarList["Base.PickUpVanSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.PickUpVan"];
ISCarMechanicsOverlay.CarList["Base.PickUpVanSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.PickUpVan"];
ISCarMechanicsOverlay.CarList["Base.PickUpVanSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.PickUpVan"];
ISCarMechanicsOverlay.CarList["Base.PickUpVanSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.PickUpVan"];

ISCarMechanicsOverlay.CarList["Base.CarLightsSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.CarLights"];
ISCarMechanicsOverlay.CarList["Base.CarLightsSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.CarLights"];
ISCarMechanicsOverlay.CarList["Base.CarLightsSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.CarLights"];
ISCarMechanicsOverlay.CarList["Base.CarLightsSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.CarLights"];

ISCarMechanicsOverlay.CarList["Base.ModernCarSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.ModernCar"];
ISCarMechanicsOverlay.CarList["Base.ModernCarSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.ModernCar"];
ISCarMechanicsOverlay.CarList["Base.ModernCarSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.ModernCar"];
ISCarMechanicsOverlay.CarList["Base.ModernCarSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.ModernCar"];

ISCarMechanicsOverlay.CarList["Base.CarStationWagonSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.CarStationWagon"];
ISCarMechanicsOverlay.CarList["Base.CarStationWagonSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.CarStationWagon"];
ISCarMechanicsOverlay.CarList["Base.CarStationWagonSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.CarStationWagon"];
ISCarMechanicsOverlay.CarList["Base.CarStationWagonSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.CarStationWagon"];

ISCarMechanicsOverlay.CarList["Base.CarLuxurySmashedFront"] = ISCarMechanicsOverlay.CarList["Base.CarLuxury"];
ISCarMechanicsOverlay.CarList["Base.CarLuxurySmashedRear"] = ISCarMechanicsOverlay.CarList["Base.CarLuxury"];
ISCarMechanicsOverlay.CarList["Base.CarLuxurySmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.CarLuxury"];
ISCarMechanicsOverlay.CarList["Base.CarLuxurySmashedRight"] = ISCarMechanicsOverlay.CarList["Base.CarLuxury"];

ISCarMechanicsOverlay.CarList["Base.OffRoadSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.OffRoad"];
ISCarMechanicsOverlay.CarList["Base.OffRoadSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.OffRoad"];
ISCarMechanicsOverlay.CarList["Base.OffRoadSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.OffRoad"];
ISCarMechanicsOverlay.CarList["Base.OffRoadSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.OffRoad"];

ISCarMechanicsOverlay.CarList["Base.PickUpTruckSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.PickUpTruck"];
ISCarMechanicsOverlay.CarList["Base.PickUpTruckSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.PickUpTruck"];
ISCarMechanicsOverlay.CarList["Base.PickUpTruckSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.PickUpTruck"];
ISCarMechanicsOverlay.CarList["Base.PickUpTruckSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.PickUpTruck"];

ISCarMechanicsOverlay.CarList["Base.PickUpTruckLightsSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.PickUpTruckLights"];
ISCarMechanicsOverlay.CarList["Base.PickUpTruckLightsSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.PickUpTruckLights"];
ISCarMechanicsOverlay.CarList["Base.PickUpTruckLightsSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.PickUpTruckLights"];
ISCarMechanicsOverlay.CarList["Base.PickUpTruckLightsSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.PickUpTruckLights"];

ISCarMechanicsOverlay.CarList["Base.PickUpVanLightsSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.PickUpVanLights"];
ISCarMechanicsOverlay.CarList["Base.PickUpVanLightsSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.PickUpVanLights"];
ISCarMechanicsOverlay.CarList["Base.PickUpVanLightsSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.PickUpVanLights"];
ISCarMechanicsOverlay.CarList["Base.PickUpVanLightsSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.PickUpVanLights"];

ISCarMechanicsOverlay.CarList["Base.CarSmallSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.SmallCar"];
ISCarMechanicsOverlay.CarList["Base.CarSmallSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.SmallCar"];
ISCarMechanicsOverlay.CarList["Base.CarSmallSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.SmallCar"];
ISCarMechanicsOverlay.CarList["Base.CarSmallSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.SmallCar"];

ISCarMechanicsOverlay.CarList["Base.CarSmall02SmashedFront"] = ISCarMechanicsOverlay.CarList["Base.SmallCar02"];
ISCarMechanicsOverlay.CarList["Base.CarSmall02SmashedRear"] = ISCarMechanicsOverlay.CarList["Base.SmallCar02"];
ISCarMechanicsOverlay.CarList["Base.CarSmall02SmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.SmallCar02"];
ISCarMechanicsOverlay.CarList["Base.CarSmall02SmashedRight"] = ISCarMechanicsOverlay.CarList["Base.SmallCar02"];

ISCarMechanicsOverlay.CarList["Base.StepVanSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.StepVan"];
ISCarMechanicsOverlay.CarList["Base.StepVanSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.StepVan"];
ISCarMechanicsOverlay.CarList["Base.StepVanSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.StepVan"];
ISCarMechanicsOverlay.CarList["Base.StepVanSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.StepVan"];

ISCarMechanicsOverlay.CarList["Base.StepVanMailSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.StepVanMail"];
ISCarMechanicsOverlay.CarList["Base.StepVanMailSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.StepVanMail"];
ISCarMechanicsOverlay.CarList["Base.StepVanMailSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.StepVanMail"];
ISCarMechanicsOverlay.CarList["Base.StepVanMailSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.StepVanMail"];

ISCarMechanicsOverlay.CarList["Base.SUVSmashedFront"] = ISCarMechanicsOverlay.CarList["Base.SUV"];
ISCarMechanicsOverlay.CarList["Base.SUVSmashedRear"] = ISCarMechanicsOverlay.CarList["Base.SUV"];
ISCarMechanicsOverlay.CarList["Base.SUVSmashedLeft"] = ISCarMechanicsOverlay.CarList["Base.SUV"];
ISCarMechanicsOverlay.CarList["Base.SUVSmashedRight"] = ISCarMechanicsOverlay.CarList["Base.SUV"];

ISCarMechanicsOverlay.PartList = {};
ISCarMechanicsOverlay.PartList["Battery"] = {img="battery", x=48,y=64,x2=92,y2=99, vehicles={}};
ISCarMechanicsOverlay.PartList["Battery"].vehicles["4door_"] = {x=72,y=64,x2=118,y2=99};
ISCarMechanicsOverlay.PartList["Battery"].vehicles["offroad_"] = {x=72,y=64,x2=118,y2=99};

ISCarMechanicsOverlay.PartList["BrakeFrontLeft"] = {img="brake_front_left", x=22,y=216,x2=53,y2=244, vehicles={}};
ISCarMechanicsOverlay.PartList["BrakeFrontRight"] = {img="brake_front_right", x=232,y=216,x2=263,y2=244, vehicles={}};
ISCarMechanicsOverlay.PartList["BrakeRearLeft"] = {img="brake_rear_left", x=22,y=405,x2=53,y2=433, vehicles = {}};
ISCarMechanicsOverlay.PartList["BrakeRearLeft"].vehicles["sportscar_"] = {x=22,y=394,x2=53,y2=430};
ISCarMechanicsOverlay.PartList["BrakeRearRight"] = {img="brake_rear_right", x=232,y=405,x2=263,y2=433, vehicles = {}};
ISCarMechanicsOverlay.PartList["BrakeRearRight"].vehicles["sportscar_"] = {x=232,y=394,x2=263,y2=430};
--
ISCarMechanicsOverlay.PartList["DoorFrontLeft"] = {img="door_front_left", vehicles = {}};
ISCarMechanicsOverlay.PartList["DoorFrontLeft"].vehicles["smallcar_"] = {x=86,y=260,x2=94,y2=342};
ISCarMechanicsOverlay.PartList["DoorFrontLeft"].vehicles["truck_"] = {x=83,y=244,x2=91,y2=300};
ISCarMechanicsOverlay.PartList["DoorFrontLeft"].vehicles["stationwagon_"] = {x=88,y=243,x2=95,y2=297};
ISCarMechanicsOverlay.PartList["DoorFrontLeft"].vehicles["4door_"] = {x=75,y=248,x2=87,y2=318};
ISCarMechanicsOverlay.PartList["DoorFrontLeft"].vehicles["suv_"] = {x=71,y=244,x2=81,y2=304};
ISCarMechanicsOverlay.PartList["DoorFrontLeft"].vehicles["offroad_"] = {x=72,y=296,x2=81,y2=360}
ISCarMechanicsOverlay.PartList["DoorFrontLeft"].vehicles["sportscar_"] = {x=90,y=264,x2=99,y2=346};

ISCarMechanicsOverlay.PartList["DoorFrontRight"] = {img="door_front_right", vehicles = {}};
ISCarMechanicsOverlay.PartList["DoorFrontRight"].vehicles["smallcar_"] = {x=199,y=260,x2=207,y2=342};
ISCarMechanicsOverlay.PartList["DoorFrontRight"].vehicles["truck_"] = {x=202,y=244,x2=209,y2=300};
ISCarMechanicsOverlay.PartList["DoorFrontRight"].vehicles["stationwagon_"] = {x=195,y=243,x2=202,y2=297};
ISCarMechanicsOverlay.PartList["DoorFrontRight"].vehicles["4door_"] = {x=197,y=248,x2=209,y2=318};
ISCarMechanicsOverlay.PartList["DoorFrontRight"].vehicles["suv_"] = {x=210,y=244,x2=220,y2=304};
ISCarMechanicsOverlay.PartList["DoorFrontRight"].vehicles["offroad_"] = {x=206,y=296,x2=215, y2=360};
ISCarMechanicsOverlay.PartList["DoorFrontRight"].vehicles["sportscar_"] = {x=193,y=264,x2=202,y2=346};

ISCarMechanicsOverlay.PartList["DoorRearLeft"] = {img="door_rear_left", vehicles = {}};
ISCarMechanicsOverlay.PartList["DoorRearLeft"].vehicles["stationwagon_"] = {x=88,y=298,x2=95,y2=348};
ISCarMechanicsOverlay.PartList["DoorRearLeft"].vehicles["4door_"] = {x=75,y=319,x2=87,y2=380};
ISCarMechanicsOverlay.PartList["DoorRearLeft"].vehicles["suv_"] = {x=71,y=304,x2=81,y2=364};

ISCarMechanicsOverlay.PartList["DoorRearRight"] = {img="door_rear_right", vehicles = {}};
ISCarMechanicsOverlay.PartList["DoorRearRight"].vehicles["stationwagon_"] = {x=195,y=298,x2=202,y2=348};
ISCarMechanicsOverlay.PartList["DoorRearRight"].vehicles["4door_"] = {x=197,y=319,x2=209,y2=380};
ISCarMechanicsOverlay.PartList["DoorRearRight"].vehicles["suv_"] = {x=210,y=304,x2=220,y2=364};
--
ISCarMechanicsOverlay.PartList["Engine"] = {img="engine", x=138,y=48,x2=237,y2=106, vehicles={}};
ISCarMechanicsOverlay.PartList["GasTank"] = {img="gastank", x=52,y=499,x2=136,y2=552, vehicles={}};
ISCarMechanicsOverlay.PartList["HeadlightLeft"] = {img="headlight_left", vehicles={}};
ISCarMechanicsOverlay.PartList["HeadlightRight"] = {img="headlight_right", vehicles={}};
--
ISCarMechanicsOverlay.PartList["EngineDoor"] = {img="hood", vehicles = {}};
ISCarMechanicsOverlay.PartList["EngineDoor"].vehicles["truck_"] = {x=92,y=146,x2=197,y2=221};
ISCarMechanicsOverlay.PartList["EngineDoor"].vehicles["van_"] = {x=89,y=153,x2=203,y2=188};
ISCarMechanicsOverlay.PartList["EngineDoor"].vehicles["stationwagon_"] = {x=95,y=143,x2=190,y2=231};
ISCarMechanicsOverlay.PartList["EngineDoor"].vehicles["4door_"] = {x=92,y=144,x2=194,y2=226};
ISCarMechanicsOverlay.PartList["EngineDoor"].vehicles["smallcar_"] = {x=94,y=175,x2=192,y2=235};
ISCarMechanicsOverlay.PartList["EngineDoor"].vehicles["suv_"] = {x=86,y=148,x2=205,y2=220};
ISCarMechanicsOverlay.PartList["EngineDoor"].vehicles["offroad_"] = {x=86,y=186,x2=200,y2=284};
--
ISCarMechanicsOverlay.PartList["Muffler"] = {img="muffler", x=180,y=489,x2=213,y2=557, vehicles={}};
--
ISCarMechanicsOverlay.PartList["SuspensionFrontLeft"] = {img="suspension_front_left", x=21,y=181,x2=59,y2=212, vehicles={}};
ISCarMechanicsOverlay.PartList["SuspensionFrontRight"] = {img="suspension_front_right", x=228,y=181,x2=264,y2=212, vehicles={}};
ISCarMechanicsOverlay.PartList["SuspensionRearLeft"] = {img="suspension_rear_left", x=21,y=368,x2=59,y2=399, vehicles = {}};
ISCarMechanicsOverlay.PartList["SuspensionRearLeft"].vehicles["sportscar_"] = {x=21,y=358,x2=59,y2=394};
ISCarMechanicsOverlay.PartList["SuspensionRearRight"] = {img="suspension_rear_right", x=231,y=368,x2=264,y2=399, vehicles = {}};
ISCarMechanicsOverlay.PartList["SuspensionRearRight"].vehicles["sportscar_"] = {x=231,y=358,x2=264,y2=394};
--
ISCarMechanicsOverlay.PartList["TireFrontLeft"] = {img="wheel_front_left", vehicles = {}};
ISCarMechanicsOverlay.PartList["TireFrontLeft"].vehicles["truck_"] = {x=78,y=182,x2=85,y2=238};
ISCarMechanicsOverlay.PartList["TireFrontLeft"].vehicles["van_"] = {x=68,y=185,x2=78,y2=241};
ISCarMechanicsOverlay.PartList["TireFrontLeft"].vehicles["stationwagon_"] = {x=78,y=182,x2=88,y2=238};
ISCarMechanicsOverlay.PartList["TireFrontLeft"].vehicles["4door_"] = {x=71,y=184,x2=80,y2=242};
ISCarMechanicsOverlay.PartList["TireFrontLeft"].vehicles["smallcar_"] = {x=78,y=189,x2=87,y2=247};
ISCarMechanicsOverlay.PartList["TireFrontLeft"].vehicles["suv_"] = {x=67,y=182,x2=73,y2=238};
ISCarMechanicsOverlay.PartList["TireFrontLeft"].vehicles["offroad_"] = {x=67,y=180,x2=73,y2=238};

ISCarMechanicsOverlay.PartList["TireFrontRight"] = {img="wheel_front_right", vehicles = {}};
ISCarMechanicsOverlay.PartList["TireFrontRight"].vehicles["truck_"] = {x=208,y=182,x2=215,y2=238};
ISCarMechanicsOverlay.PartList["TireFrontRight"].vehicles["van_"] = {x=208,y=185,x2=218,y2=241};
ISCarMechanicsOverlay.PartList["TireFrontRight"].vehicles["stationwagon_"] = {x=200,y=182,x2=210,y2=238};
ISCarMechanicsOverlay.PartList["TireFrontRight"].vehicles["4door_"] = {x=204,y=184,x2=213,y2=242};
ISCarMechanicsOverlay.PartList["TireFrontRight"].vehicles["smallcar_"] = {x=204,y=189,x2=213,y2=247};
ISCarMechanicsOverlay.PartList["TireFrontRight"].vehicles["suv_"] = {x=218,y=182,x2=224,y2=238};
ISCarMechanicsOverlay.PartList["TireFrontRight"].vehicles["offroad_"] = {x=212,y=180,x2=219,y2=238};

ISCarMechanicsOverlay.PartList["TireRearLeft"] = {img="wheel_rear_left", vehicles = {}};
ISCarMechanicsOverlay.PartList["TireRearLeft"].vehicles["truck_"] = {x=78,y=366,x2=85,y2=422};
ISCarMechanicsOverlay.PartList["TireRearLeft"].vehicles["van_"] = {x=68,y=372,x2=78,y2=428};
ISCarMechanicsOverlay.PartList["TireRearLeft"].vehicles["stationwagon_"] = {x=78,y=369,x2=88,y2=427};
ISCarMechanicsOverlay.PartList["TireRearLeft"].vehicles["4door_"] = {x=71,y=368,x2=80,y2=426};
ISCarMechanicsOverlay.PartList["TireRearLeft"].vehicles["smallcar_"] = {x=78,y=352,x2=87,y2=416};
ISCarMechanicsOverlay.PartList["TireRearLeft"].vehicles["suv_"] = {x=68,y=368,x2=74,y2=426};
ISCarMechanicsOverlay.PartList["TireRearLeft"].vehicles["offroad_"] = {x=66,y=364,x2=74,y2=422};

ISCarMechanicsOverlay.PartList["TireRearRight"] = {img="wheel_rear_right", vehicles = {}};
ISCarMechanicsOverlay.PartList["TireRearRight"].vehicles["truck_"] = {x=208,y=366,x2=215,y2=422};
ISCarMechanicsOverlay.PartList["TireRearRight"].vehicles["van_"] = {x=208,y=372,x2=218,y2=428};
ISCarMechanicsOverlay.PartList["TireRearRight"].vehicles["stationwagon_"] = {x=200,y=369,x2=210,y2=427};
ISCarMechanicsOverlay.PartList["TireRearRight"].vehicles["4door_"] = {x=204,y=368,x2=213,y2=426};
ISCarMechanicsOverlay.PartList["TireRearRight"].vehicles["smallcar_"] = {x=204,y=352,x2=213,y2=416};
ISCarMechanicsOverlay.PartList["TireRearRight"].vehicles["suv_"] = {x=217,y=368,x2=223,y2=426};
ISCarMechanicsOverlay.PartList["TireRearRight"].vehicles["offroad_"] = {x=212,y=364,x2=219,y2=422};
--
ISCarMechanicsOverlay.PartList["WindowFrontLeft"] = {img="window_front_left", vehicles = {}};
ISCarMechanicsOverlay.PartList["WindowFrontLeft"].vehicles["truck_"] = {x=92,y=256,x2=101,y2=298};
ISCarMechanicsOverlay.PartList["WindowFrontLeft"].vehicles["van_"] = {x=82,y=209,x2=89,y2=258};
ISCarMechanicsOverlay.PartList["WindowFrontLeft"].vehicles["stationwagon_"] = {x=97,y=256,x2=106,y2=296};
ISCarMechanicsOverlay.PartList["WindowFrontLeft"].vehicles["4door_"] = {x=89,y=273,x2=101,y2=320};
ISCarMechanicsOverlay.PartList["WindowFrontLeft"].vehicles["smallcar_"] = {x=94,y=277,x2=108,y2=342};
ISCarMechanicsOverlay.PartList["WindowFrontLeft"].vehicles["suv_"] = {x=81,y=244,x2=91,y2=304};
ISCarMechanicsOverlay.PartList["WindowFrontLeft"].vehicles["offroad_"] = {x=81,y=296,x2=88,y2=360};
ISCarMechanicsOverlay.PartList["WindowFrontLeft"].vehicles["sportscar_"] = {x=99,y=284,x2=113,y2=346};

ISCarMechanicsOverlay.PartList["WindowFrontRight"] = {img="window_front_right", vehicles = {}};
ISCarMechanicsOverlay.PartList["WindowFrontRight"].vehicles["truck_"] = {x=190,y=256,x2=199,y2=298};
ISCarMechanicsOverlay.PartList["WindowFrontRight"].vehicles["van_"] = {x=196,y=209,x2=203,y2=258};
ISCarMechanicsOverlay.PartList["WindowFrontRight"].vehicles["stationwagon_"] = {x=183,y=256,x2=192,y2=296};
ISCarMechanicsOverlay.PartList["WindowFrontRight"].vehicles["4door_"] = {x=183,y=273,x2=195,y2=320};
ISCarMechanicsOverlay.PartList["WindowFrontRight"].vehicles["smallcar_"] = {x=185,y=277,x2=199,y2=342};
ISCarMechanicsOverlay.PartList["WindowFrontRight"].vehicles["suv_"] = {x=200,y=244,x2=210,y2=304};
ISCarMechanicsOverlay.PartList["WindowFrontRight"].vehicles["offroad_"] = {x=199,y=296,x2=206, y2=360};
ISCarMechanicsOverlay.PartList["WindowFrontRight"].vehicles["sportscar_"] = {x=180,y=284,x2=202,y2=346};

ISCarMechanicsOverlay.PartList["WindowRearLeft"] = {img="window_rear_left", vehicles = {}};
ISCarMechanicsOverlay.PartList["WindowRearLeft"].vehicles["4door_"] = {x=89,y=321,x2=101,y2=368};
ISCarMechanicsOverlay.PartList["WindowRearLeft"].vehicles["smallcar_"] = {x=94,y=343,x2=108,y2=408};
ISCarMechanicsOverlay.PartList["WindowRearLeft"].vehicles["stationwagon_"] = {x=97,y=298,x2=106,y2=338};
ISCarMechanicsOverlay.PartList["WindowRearLeft"].vehicles["suv_"] = {x=81,y=304,x2=91,y2=364};
ISCarMechanicsOverlay.PartList["WindowRearLeft"].vehicles["offroad_"] = {x=81,y=375,x2=88,y2=426};

ISCarMechanicsOverlay.PartList["WindowRearRight"] = {img="window_rear_right", vehicles = {}};
ISCarMechanicsOverlay.PartList["WindowRearRight"].vehicles["4door_"] = {x=183,y=321,x2=195,y2=368};
ISCarMechanicsOverlay.PartList["WindowRearRight"].vehicles["smallcar_"] = {x=185,y=343,x2=199,y2=408};
ISCarMechanicsOverlay.PartList["WindowRearRight"].vehicles["stationwagon_"] = {x=183,y=298,x2=192,y2=338}
ISCarMechanicsOverlay.PartList["WindowRearRight"].vehicles["suv_"] = {x=200,y=304,x2=210,y2=364};
ISCarMechanicsOverlay.PartList["WindowRearRight"].vehicles["offroad_"] = {x=199,y=375,x2=206, y2=426};
--
ISCarMechanicsOverlay.PartList["WindshieldRear"] = {img="window_rear_windshield", vehicles = {}};
ISCarMechanicsOverlay.PartList["WindshieldRear"].vehicles["van_"] = {x=93,y=447,x2=194,y2=461};
ISCarMechanicsOverlay.PartList["WindshieldRear"].vehicles["4door_"] = {x=96,y=384,x2=187,y2=416};
ISCarMechanicsOverlay.PartList["WindshieldRear"].vehicles["smallcar_"] = {x=112,y=398,x2=187,y2=430};
ISCarMechanicsOverlay.PartList["WindshieldRear"].vehicles["stationwagon_"] = {x=108,y=444,x2=180,y2=453};
ISCarMechanicsOverlay.PartList["WindshieldRear"].vehicles["suv_"] = {x=92,y=435,x2=199,y2=446};
ISCarMechanicsOverlay.PartList["WindshieldRear"].vehicles["offroad_"] = {x=86,y=436,x2=200,y2=446};
ISCarMechanicsOverlay.PartList["WindshieldRear"].vehicles["sportscar_"] = {x=102,y=360,x2=189,y2=415};

ISCarMechanicsOverlay.PartList["Windshield"] = {img="window_windshield", vehicles = {}};
ISCarMechanicsOverlay.PartList["Windshield"].vehicles["truck_"] = {x=99,y=226,x2=187,y2=245};
ISCarMechanicsOverlay.PartList["Windshield"].vehicles["van_"] = {x=86,y=188,x2=191, y2=211};
ISCarMechanicsOverlay.PartList["Windshield"].vehicles["4door_"] = {x=89,y=233,x2=190,y2=270};
ISCarMechanicsOverlay.PartList["Windshield"].vehicles["smallcar_"] = {x=98,y=238,x2=192,y2=284};
ISCarMechanicsOverlay.PartList["Windshield"].vehicles["stationwagon_"] = {x=102,y=238,x2=179,y2=261};
ISCarMechanicsOverlay.PartList["Windshield"].vehicles["suv_"] = {x=97,y=222,x2=194,y2=263};
ISCarMechanicsOverlay.PartList["Windshield"].vehicles["offroad_"] = {x=86,y=284,x2=200,y2=300};
ISCarMechanicsOverlay.PartList["Windshield"].vehicles["sportscar_"] = {x=110,y=256,x2=182,y2=294};
--
ISCarMechanicsOverlay.PartList["TruckBed"] = {img="trunk", vehicles = {}};
ISCarMechanicsOverlay.PartList["TruckBed"].vehicles["truck_"] = {x=94,y=312,x2=197,y2=448};
ISCarMechanicsOverlay.PartList["TruckBed"].vehicles["4door_"] = {x=94,y=418,x2=192,y2=469};
ISCarMechanicsOverlay.PartList["TruckBed"].vehicles["stationwagon_"] = {x=99,y=453,x2=187,y2=460};
ISCarMechanicsOverlay.PartList["TruckBed"].vehicles["suv_"] = {x=92,y=447,x2=199,y2=458};
ISCarMechanicsOverlay.PartList["TruckBed"].vehicles["offroad_"] = {x=90,y=447,x2=199,y2=460};
ISCarMechanicsOverlay.PartList["TruckBed"].vehicles["sportscar_"] = {x=98,y=415,x2=196,y2=438};

for partName,partList in pairs(ISCarMechanicsOverlay.PartList) do
	if not partList.vehicles then
		print(string.format("adding PartList[%s].vehicles", partName))
		partList.vehicles = {}
	end
end

-- certain car have different parts placement
--ISCarMechanicsOverlay.CarList["Base.SUV"].PartList = {};
--ISCarMechanicsOverlay.CarList["Base.SUV"].PartList["WindshieldRear"] = {multipleImg=true, img={"window_rear_windshield", "window_rear_left", "window_rear_right"}};
--ISCarMechanicsOverlay.CarList["Base.SUV"].PartList["WindowRearLeft"] = {img="window_middle_left"};
--ISCarMechanicsOverlay.CarList["Base.SUV"].PartList["WindowRearRight"] = {img="window_middle_right"};
--ISCarMechanicsOverlay.CarList["Base.CarStationWagon"].PartList = {};
--ISCarMechanicsOverlay.CarList["Base.CarStationWagon"].PartList["WindshieldRear"] = {multipleImg=true, img={"window_rear_windshield", "window_rear_left", "window_rear_right"}};
--ISCarMechanicsOverlay.CarList["Base.CarStationWagon"].PartList["WindowRearLeft"] = {img="window_middle_left"};
--ISCarMechanicsOverlay.CarList["Base.CarStationWagon"].PartList["WindowRearRight"] = {img="window_middle_right"};
ISCarMechanicsOverlay.CarList["Base.CarStationWagon2"].PartList = ISCarMechanicsOverlay.CarList["Base.CarStationWagon"].PartList;


