require "DAMN_Parts";
require "DAMN_Spawns";

--***********************************************************
--**                   KI5 / bikinihorst                   **
--***********************************************************

DAMN.Parts:processConfigV2("ELE84", {
	["BumperFront"] = {
		partId = "DAMNBumperFront",
		itemToModel = {
			["Base.84buickElectraBumperFront0"] = "FrontBumper0",
			["Base.84buickElectraBumperFrontA"] = "FrontBumperA",
            ["Base.85gmBbodyBullbarFrontA"] = "FrontBullbarA",
		},
		default = "first",
	},
	["BumperRear"] = {
		partId = "DAMNBumperRear",
		itemToModel = {
			["Base.84buickElectraBumperRear0"] = "RearBumper0",
		},
		default = "first",
	},
    ["WindshieldArmor"] = {
		partId = "DAMNWindshieldArmor",
		itemToModel = {
			["Base.85gmBbodyWindshieldArmorW"] = "ELE84windaW",
            ["Base.85gmBbodyWindshieldArmorM"] = "ELE84windaM",
		},
	},
	["FrontLeftArmor"] = {
		partId = "DAMNFrontLeftArmor",
		itemToModel = {
			["Base.85gmBbodyFrontWindowArmorW"] = "ELE84leftWindowaW",
            ["Base.85gmBbodyFrontWindowArmorM"] = "ELE84leftWindowaM",
		},
	},
	["FrontRightArmor"] = {
		partId = "DAMNFrontRightArmor",
		itemToModel = {
			["Base.85gmBbodyFrontWindowArmorW"] = "ELE84rightWindowaW",
            ["Base.85gmBbodyFrontWindowArmorM"] = "ELE84rightWindowaM",
		},
	},
	["RearLeftArmor"] = {
		partId = "DAMNRearLeftArmor",
		itemToModel = {
			["Base.85gmBbodyRearWindowArmorW"] = "ELE84leftWindowraW",
            ["Base.85gmBbodyRearWindowArmorM"] = "ELE84leftWindowraM",
		},
	},
	["RearRightArmor"] = {
		partId = "DAMNRearRightArmor",
		itemToModel = {
			["Base.85gmBbodyRearWindowArmorW"] = "ELE84rightWindowraW",
            ["Base.85gmBbodyRearWindowArmorM"] = "ELE84rightWindowraM",
		},
	},
    ["BackLeftArmor"] = {
		partId = "DAMNBackLeftArmor",
		itemToModel = {
			["Base.85gmBbodyWagonBackWindowArmorW"] = "ELE84leftWindowbaW",
            ["Base.85gmBbodyWagonBackWindowArmorM"] = "ELE84leftWindowbaM",
		},
	},
	["BackRightArmor"] = {
		partId = "DAMNBackRightArmor",
		itemToModel = {
			["Base.85gmBbodyWagonBackWindowArmorW"] = "ELE84rightWindowbaW",
            ["Base.85gmBbodyWagonBackWindowArmorM"] = "ELE84rightWindowbaM",
		},
	},
    ["WindshieldRearArmorS"] = {
		partId = "DAMNWindshieldRearArmor",
		itemToModel = {
			["Base.85gmBbodyWindshieldRearArmorW"] = "ELE84windraW",
            ["Base.85gmBbodyWindshieldRearArmorM"] = "ELE84windraM",
		},
	},
    ["SpareTire"] = {
		partId = "DAMNSpareTire",
		itemToModel = {
			["Base.85gmBbodyTire0"] = "na",
			["Base.85gmBbodyTire1"] = "na",
            ["Base.85gmBbodyTire3"] = "na",
            ["Base.85gmBbodyTire4"] = "na",
            ["Base.85gmBbodyTire5"] = "na",
		},
		default = "trve_random",
		noPartChance = 33,
	},
    ["TireFrontLeft"] = {
		partId = "TireFrontLeft",
		itemToModel = {
			["Base.85gmBbodyTire0"] = "GM85Tire0L",
			["Base.85gmBbodyTire1"] = "GM85Tire1L",
            ["Base.85gmBbodyTire3"] = "GM85Tire3L",
            ["Base.85gmBbodyTire4"] = "GM85Tire4L",
            ["Base.85gmBbodyTire5"] = "GM85Tire5L",
		},
	},
	["TireFrontRight"] = {
		partId = "TireFrontRight",
		itemToModel = {
			["Base.85gmBbodyTire0"] = "GM85Tire0R",
			["Base.85gmBbodyTire1"] = "GM85Tire1R",
            ["Base.85gmBbodyTire3"] = "GM85Tire3R",
            ["Base.85gmBbodyTire4"] = "GM85Tire4R",
            ["Base.85gmBbodyTire5"] = "GM85Tire5R",
		},
	},
	["TireRearLeft"] = {
		partId = "TireRearLeft",
		itemToModel = {
			["Base.85gmBbodyTire0"] = "GM85Tire0L",
			["Base.85gmBbodyTire1"] = "GM85Tire1L",
            ["Base.85gmBbodyTire3"] = "GM85Tire3L",
            ["Base.85gmBbodyTire4"] = "GM85Tire4L",
            ["Base.85gmBbodyTire5"] = "GM85Tire5L",
		},
	},
	["TireRearRight"] = {
		partId = "TireRearRight",
		itemToModel = {
			["Base.85gmBbodyTire0"] = "GM85Tire0R",
			["Base.85gmBbodyTire1"] = "GM85Tire1R",
            ["Base.85gmBbodyTire3"] = "GM85Tire3R",
            ["Base.85gmBbodyTire4"] = "GM85Tire4R",
            ["Base.85gmBbodyTire5"] = "GM85Tire5R",
		},
	},
    ["RoofrackSedan"] = {
		partId = "GM85Roofrack",
		itemToModel = {
			["Base.85gmBbodyRoofrack1"] = "Roofrack0",
		},
		default = "trve_random",
		noPartChance = 95,
	},
    ["RoofSedan"] = {
		partId = "GM85VinylRoof",
		itemToModel = {
			["Base.85gmBbodyVinylRoofBlack"] = "Roofb",
            ["Base.85gmBbodyVinylRoofMaroon"] = "Roofm",
            ["Base.85gmBbodyVinylRoofWhite"] = "Roofw",
            ["Base.85gmBbodyVinylRoofBrown"] = "Roofbr",
            ["Base.85gmBbodyVinylRoofBlue"] = "Roofbl",
		},
		default = "trve_random",
			noPartChance = 50,
	},
    ["RoofCoupe"] = {
		partId = "GM85VinylRoof",
		itemToModel = {
			["Base.85gmBbodyVinylRoofBlack"] = "Roofb",
            ["Base.85gmBbodyVinylRoofMaroon"] = "Roofm",
            ["Base.85gmBbodyVinylRoofWhite"] = "Roofw",
            ["Base.85gmBbodyVinylRoofBrown"] = "Roofbr",
            ["Base.85gmBbodyVinylRoofBlue"] = "Roofbl",
            ["Base.85gmBbodyVinylRoofQuarterBlack"] = "Roofbq",
            ["Base.85gmBbodyVinylRoofQuarterMaroon"] = "Roofmq",
            ["Base.85gmBbodyVinylRoofQuarterWhite"] = "Roofwq",
            ["Base.85gmBbodyVinylRoofQuarterBrown"] = "Roofbrq",
            ["Base.85gmBbodyVinylRoofQuarterBlue"] = "Roofblq",
		},
		default = "trve_random",
			noPartChance = 50,
	},
});