require "DAMN_Parts";
require "DAMN_Spawns";

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

DAMN.Parts:processConfigV2("BR89", {
	["FrontBumper"] = {
		partId = "DAMNBumperFront",
		itemToModel = {
			["Base.89BroncoBumperFront"] = "FrontBumper",
			["Base.80sPickupBullbarFront"] = "FrontBullbar1",
			["Base.89BroncoBullbarFront"] = "FrontBullbar2",
		},
		default = "first",
	},
	["RearBumper"] = {
		partId = "DAMNBumperRear",
		itemToModel = {
			["Base.89BroncoBumperRear"] = "RearBumper",
			["Base.80sPickupBullbarRear"] = "RearBullbar",
		},
		default = "first",
	},
	["WindowFrontLeftArmor"] = {
		partId = "DAMNFrontLeftArmor",
		itemToModel = {
			["Base.80sPickupWindowFrontArmor"] = "BR89leftwina",
		},
	},
	["WindowFrontRightArmor"] = {
		partId = "DAMNFrontRightArmor",
		itemToModel = {
			["Base.80sPickupWindowFrontArmor"] = "BR89rightwina",
		},
	},
	["WindowRearLeftArmor"] = {
		partId = "DAMNRearLeftArmor",
		itemToModel = {
			["Base.80sPickupWindowRearArmor"] = "BR89leftrearwina",
		},
	},
	["WindowRearRightArmor"] = {
		partId = "DAMNRearRightArmor",
		itemToModel = {
			["Base.80sPickupWindowRearArmor"] = "BR89rightrearwina",
		},
	},
	["WindshieldArmor"] = {
		partId = "DAMNWindshieldArmor",
		itemToModel = {
			["Base.80sPickupWindshieldArmor"] = "BR89winda",
		},
	},
	["SpareTire"] = {
		partId = "DAMNSpareTireRoof",
		itemToModel = {
			["Base.80sOffroadTireA"] = "BR89Tire0",
            ["Base.76chevyKseriesTire2"] = "BR89Tire1",
            ["Base.80chevyCKseriesTire2"] = "BR89Tire2",
            ["Base.80chevyCKseriesTire1"] = "BR89Tire3",
            ["Base.90chevyCKseriesTire2"] = "BR89Tire4",
            ["Base.90chevyCKseriesTire1"] = "BR89Tire5",
		},
	},
    ["TireFrontLeft"] = {
		partId = "TireFrontLeft",
		itemToModel = {
			["Base.80sOffroadTireA"] = "BR89Tire0",
            ["Base.76chevyKseriesTire2"] = "BR89Tire1",
            ["Base.80chevyCKseriesTire2"] = "BR89Tire2",
            ["Base.80chevyCKseriesTire1"] = "BR89Tire3",
            ["Base.90chevyCKseriesTire2"] = "BR89Tire4",
            ["Base.90chevyCKseriesTire1"] = "BR89Tire5",
		},
	},
	["TireFrontRight"] = {
		partId = "TireFrontRight",
		itemToModel = {
			["Base.80sOffroadTireA"] = "BR89Tire0",
            ["Base.76chevyKseriesTire2"] = "BR89Tire1",
            ["Base.80chevyCKseriesTire2"] = "BR89Tire2",
            ["Base.80chevyCKseriesTire1"] = "BR89Tire3",
            ["Base.90chevyCKseriesTire2"] = "BR89Tire4",
            ["Base.90chevyCKseriesTire1"] = "BR89Tire5",
		},
	},
	["TireRearLeft"] = {
		partId = "TireRearLeft",
		itemToModel = {
			["Base.80sOffroadTireA"] = "BR89Tire0",
            ["Base.76chevyKseriesTire2"] = "BR89Tire1",
            ["Base.80chevyCKseriesTire2"] = "BR89Tire2",
            ["Base.80chevyCKseriesTire1"] = "BR89Tire3",
            ["Base.90chevyCKseriesTire2"] = "BR89Tire4",
            ["Base.90chevyCKseriesTire1"] = "BR89Tire5",
		},
	},
	["TireRearRight"] = {
		partId = "TireRearRight",
		itemToModel = {
			["Base.80sOffroadTireA"] = "BR89Tire0",
            ["Base.76chevyKseriesTire2"] = "BR89Tire1",
            ["Base.80chevyCKseriesTire2"] = "BR89Tire2",
            ["Base.80chevyCKseriesTire1"] = "BR89Tire3",
            ["Base.90chevyCKseriesTire2"] = "BR89Tire4",
            ["Base.90chevyCKseriesTire1"] = "BR89Tire5",
		},
	},
});