require "DAMN_Parts";
require "DAMN_Spawns";

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

DAMN.Parts:processConfigV2("PRX75", {
	["BumperFront"] = {
		partId = "DAMNBumperFront",
		itemToModel = {
			["Base.75grandPrixBumperFront"] = "BumperFront0",
			["Base.75grandPrixBumperFrontA"] = "BumperFrontA",
			["Base.75grandPrixBullbar"] = "BullbarFrontA",
		},
		default = "first",
	},
	["BumperRear"] = {
		partId = "DAMNBumperRear",
		itemToModel = {
			["Base.75grandPrixBumperRear"] = "BumperRear0",
		},
		default = "first",
	},
	["WindshieldArmor"] = {
		partId = "DAMNWindshieldArmor",
		itemToModel = {
			["Base.75grandPrixWindshieldArmor"] = "PRX75winda0",
		},
	},
	["WindshieldRearArmor"] = {
		partId = "DAMNWindshieldRearArmor",
		itemToModel = {
			["Base.75grandPrixWindshieldRearArmor"] = "PRX75windra",
		},
	},
	["FrontLeftArmor"] = {
		partId = "DAMNFrontLeftArmor",
		itemToModel = {
			["Base.75grandPrixFrontWindowArmor"] = "PRX75leftdoora",
		},
	},
	["FrontRightArmor"] = {
		partId = "DAMNFrontRightArmor",
		itemToModel = {
			["Base.75grandPrixFrontWindowArmor"] = "PRX75rightdoora",
		},
	},
	["RearLeftArmor"] = {
		partId = "DAMNRearLeftArmor",
		itemToModel = {
			["Base.75grandPrixRearWindowArmor"] = "PRX75leftdoorra",
		},
	},
	["RearRightArmor"] = {
		partId = "DAMNRearRightArmor",
		itemToModel = {
			["Base.75grandPrixRearWindowArmor"] = "PRX75rightdoorra",
		},
	},
	["SpareTire"] = {
		partId = "DAMNSpareTire",
		itemToModel = {
			["Base.75grandPrixR215Tire1"] = "PRX75Spare1",
			["Base.75grandPrixR217Tire3"] = "PRX75Spare2",
			["Base.75grandPrixH17Tire3"] = "PRX75Spare3",
            ["damnCraft.SmallTire1"] = "PRX75Spare4",
		},
		default = "trve_random",
		noPartChance = 33,
	},
	["Roofrack"] = {
		partId = "PRX75Roofrack",
		itemToModel = {
			["Base.75grandPrixRoofrack3"] = "PRX75Roofrack0",
		},
		default = "trve_random",
		noPartChance = 95,
	},
	["Cordova"] = {
		partId = "PRX75CordovaTop",
		itemToModel = {
			["Base.75grandPrixCordovaTypeA3"] = "PRX75Cordova0",
			["Base.75grandPrixCordovaTypeB3"] = "PRX75Cordova1",
		},
		default = "trve_random",
		noPartChance = 33,
	},
	["TireFrontLeft"] = {
		partId = "TireFrontLeft",
		itemToModel = {
			["Base.75grandPrixR215Tire1"] = "PRX75Tire1",
			["Base.75grandPrixR217Tire3"] = "PRX75Tire2",
			["Base.75grandPrixH17Tire3"] = "PRX75Tire3",
            ["damnCraft.SmallTire1"] = "PRX75Tire4",
		},
	},
	["TireFrontRight"] = {
		partId = "TireFrontRight",
		itemToModel = {
			["Base.75grandPrixR215Tire1"] = "PRX75Tire1",
			["Base.75grandPrixR217Tire3"] = "PRX75Tire2",
			["Base.75grandPrixH17Tire3"] = "PRX75Tire3",
            ["damnCraft.SmallTire1"] = "PRX75Tire4",
		},
	},
	["TireRearLeft"] = {
		partId = "TireRearLeft",
		itemToModel = {
			["Base.75grandPrixR215Tire1"] = "PRX75Tire1",
			["Base.75grandPrixR217Tire3"] = "PRX75Tire2",
			["Base.75grandPrixH17Tire3"] = "PRX75Tire3",
            ["damnCraft.SmallTire1"] = "PRX75Tire4",
		},
	},
	["TireRearRight"] = {
		partId = "TireRearRight",
		itemToModel = {
			["Base.75grandPrixR215Tire1"] = "PRX75Tire1",
			["Base.75grandPrixR217Tire3"] = "PRX75Tire2",
			["Base.75grandPrixH17Tire3"] = "PRX75Tire3",
            ["damnCraft.SmallTire1"] = "PRX75Tire4",
		},
	},
});