require "DAMN_Parts";
require "DAMN_Spawns";

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

DAMN.Parts:processConfigV2("LTD91", {
	["BumperFront"] = {
		partId = "DAMNBumperFront",
		itemToModel = {
			["Base.91fordLTDBumperFront0"] = "FrontBumper0",
			["Base.91fordLTDBumperFront1"] = "FrontBumper1",
		},
		default = "first",
	},
    ["BumperFrontPD"] = {
		partId = "DAMNBumperFront",
		itemToModel = {
			["Base.91fordLTDBumperFront1"] = "FrontBumper1",
			["Base.91fordLTDBumperFront0"] = "FrontBumper0",
		},
		default = "first",
	},
	["BumperRear"] = {
		partId = "DAMNBumperRear",
		itemToModel = {
			["Base.91fordLTDBumperRear0"] = "BumperRear0",
		},
		default = "first",
	},
    ["BumperRearW"] = {
		partId = "DAMNBumperRear",
		itemToModel = {
			["Base.91fordLTDWagonBumperRear1"] = "BumperRear1",
		},
		default = "first",
	},
	["WindshieldArmor"] = {
		partId = "DAMNWindshieldArmor",
		itemToModel = {
			["Base.fordCVPIWindshieldArmor"] = "LTD91winda0",
		},
	},
	["WindshieldRearArmor"] = {
		partId = "DAMNWindshieldRearArmor",
		itemToModel = {
			["Base.fordCVPIWindshieldRearArmor"] = "LTD91windra",
		},
	},
    ["WindshieldRearArmorW"] = {
		partId = "DAMNWindshieldRearArmor",
		itemToModel = {
			["Base.91fordLTDWagonWindshieldRearArmor"] = "LTD91windrab",
		},
	},
	["WindowFrontLeftArmor"] = {
		partId = "DAMNFrontLeftArmor",
		itemToModel = {
			["Base.fordCVPIFrontWindowArmor"] = "LTD91leftdoora",
		},
	},
	["WindowFrontRightArmor"] = {
		partId = "DAMNFrontRightArmor",
		itemToModel = {
			["Base.fordCVPIFrontWindowArmor"] = "LTD91rightdoora",
		},
	},
	["WindowRearLeftArmor"] = {
		partId = "DAMNRearLeftArmor",
		itemToModel = {
			["Base.fordCVPIRearWindowArmor"] = "LTD91leftdoorra",
		},
	},
	["WindowRearRightArmor"] = {
		partId = "DAMNRearRightArmor",
		itemToModel = {
			["Base.fordCVPIRearWindowArmor"] = "LTD91rightdoorra",
		},
	},
    ["WindowBackLeftArmor"] = {
		partId = "DAMNBackLeftArmor",
		itemToModel = {
			["Base.91fordLTDWagonBackWindowArmor"] = "LTD91leftwinba",
		},
	},
	["WindowBackRightArmor"] = {
		partId = "DAMNBackRightArmor",
		itemToModel = {
			["Base.91fordLTDWagonBackWindowArmor"] = "LTD91rightwinba",
		},
	},
	["SpareTire"] = {
		partId = "DAMNSpareTire",
		itemToModel = {
			["Base.fordCVPITire1"] = "LTD91SpareTire0",
            ["Base.91fordLTDTire1"] = "LTD91SpareTire1",
            ["damnCraft.SmallTire1"] = "LTD91SpareTire2",
		},
		default = "trve_random",
		noPartChance = 33,
	},
    ["RoofrackSedan"] = {
		partId = "LTD91Roofrack",
		itemToModel = {
			["Base.91fordLTDRoofrack1"] = {"LTD91Roofrack0", "LTD91Roofrack0b"},
		},
		default = "trve_random",
			noPartChance = 90,
	},
	["RoofrackWagon"] = {
		partId = "LTD91Roofrack",
		itemToModel = {
			["Base.91fordLTDRoofrack1"] = "LTD91Roofrack0",
		},
		default = "trve_random",
			noPartChance = 50,
	},
    ["TireFrontLeft"] = {
		partId = "TireFrontLeft",
		itemToModel = {
			["Base.fordCVPITire1"] = "fordCVPITire",
			["Base.91fordLTDTire1"] = "fordLTDTire",
            ["damnCraft.SmallTire1"] = "fordLTDuniTireFL",
		},
	},
	["TireFrontRight"] = {
		partId = "TireFrontRight",
		itemToModel = {
			["Base.fordCVPITire1"] = "fordCVPITire",
			["Base.91fordLTDTire1"] = "fordLTDTire",
            ["damnCraft.SmallTire1"] = "fordLTDuniTireFR",
		},
	},
	["TireRearLeft"] = {
		partId = "TireRearLeft",
		itemToModel = {
			["Base.fordCVPITire1"] = "fordCVPITire",
			["Base.91fordLTDTire1"] = "fordLTDTire",
            ["damnCraft.SmallTire1"] = "fordLTDuniTireRL",
		},
	},
	["TireRearRight"] = {
		partId = "TireRearRight",
		itemToModel = {
			["Base.fordCVPITire1"] = "fordCVPITire",
			["Base.91fordLTDTire1"] = "fordLTDTire",
            ["damnCraft.SmallTire1"] = "fordLTDuniTireRR",
		},
	},
});