require "DAMN_Parts";
require "DAMN_Spawns";

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

DAMN.Parts:processConfigV2("FRB77", {
	["BumperFront"] = {
		partId = "DAMNBumperFront",
		itemToModel = {
			["Base.77firebirdBumperFront0"] = "BumperFront0",
			["Base.77firebirdBumperFrontA"] = "BumperFrontA",
            ["Base.77firebirdBullbarFrontA"] = "BullbarFrontA",
		},
		default = "first",
	},
	["BumperRear"] = {
		partId = "DAMNBumperRear",
		itemToModel = {
			["Base.77firebirdBumperRear"] = "BumperRear0",
		},
		default = "first",
	},
	["WindshieldArmor"] = {
		partId = "DAMNWindshieldArmor",
		itemToModel = {
			["Base.77firebirdWindshieldArmor"] = "FRB77winda0",
		},
	},
	["WindshieldRearArmor"] = {
		partId = "DAMNWindshieldRearArmor",
		itemToModel = {
			["Base.77firebirdWindshieldRearArmor"] = "FRB77windra",
		},
	},
	["FrontLeftArmor"] = {
		partId = "DAMNFrontLeftArmor",
		itemToModel = {
			["Base.77firebirdFrontWindowArmor"] = "FRB77leftdoora",
		},
	},
	["FrontRightArmor"] = {
		partId = "DAMNFrontRightArmor",
		itemToModel = {
			["Base.77firebirdFrontWindowArmor"] = "FRB77rightdoora",
		},
	},
	["Roof"] = {
		partId = "FRB77RoofPanels",
		itemToModel = {
			["Base.77firebirdRoofPanels3"] = "FRB77Roof",
		},
		default = "trve_random",
		noPartChance = 20,
	},
	["Roofrack"] = {
		partId = "FRB77Roofrack",
		itemToModel = {
			["Base.77firebirdRoofrack3"] = "FRB77Roofrack0",
		},
		default = "trve_random",
		noPartChance = 95,
	},
    ["SpareTire"] = {
		partId = "DAMNSpareTire",
		itemToModel = {
			["Base.77firebirdTire3"] = "Spare1",
			["Base.77firebirdTATire3"] = "Spare2",
            ["damnCraft.SmallTire1"] = "Spare3",
		},
		default = "trve_random",
		noPartChance = 25,
	},
    ["TireFrontLeft"] = {
		partId = "TireFrontLeft",
		itemToModel = {
			["Base.77firebirdTire3"] = "Tire1",
			["Base.77firebirdTATire3"] = "Tire2",
            ["damnCraft.SmallTire1"] = "Tire3",
		},
	},
	["TireFrontRight"] = {
		partId = "TireFrontRight",
		itemToModel = {
			["Base.77firebirdTire3"] = "Tire1",
			["Base.77firebirdTATire3"] = "Tire2",
            ["damnCraft.SmallTire1"] = "Tire3",
		},
	},
	["TireRearLeft"] = {
		partId = "TireRearLeft",
		itemToModel = {
			["Base.77firebirdTire3"] = "Tire1",
			["Base.77firebirdTATire3"] = "Tire2",
            ["damnCraft.SmallTire1"] = "Tire3",
		},
	},
	["TireRearRight"] = {
		partId = "TireRearRight",
		itemToModel = {
			["Base.77firebirdTire3"] = "Tire1",
			["Base.77firebirdTATire3"] = "Tire2",
            ["damnCraft.SmallTire1"] = "Tire3",
		},
	},
});