require "DAMN_Parts";
require "DAMN_Spawns";

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

DAMN.Parts:processConfigV2("M35A2", {
	["Bumper"] = {
		partId = "M35A2Bumper",
		itemToModel = {
			["Base.M35A2Bumper1_Item"] = "M35Bumper1",
		},
		default = "first",
	},
	["Grille"] = {
		partId = "M35A2Grille",
		itemToModel = {
			["Base.M35A2Grille1_Item"] = "M35Grille1",
		},
		default = "trve_random",
		noPartChance = 15,
	},
    ["SpareTire"] = {
		partId = "M35A2SpareTire",
		itemToModel = {
			["runFlat.MediumTire"] = "M35SpareTire1",
		},
		default = "trve_random",
		noPartChance = 25,
	},
    ["SpareTire2"] = {
		partId = "M62SpareTire",
		itemToModel = {
			["runFlat.MediumTire"] = "M62SpareTire2",
		},
		default = "trve_random",
		noPartChance = 15,
	},
    ["Tarp"] = {
		partId = "M35A2Tarp",
		itemToModel = {
			["Base.M35A2Tarp1_Item"] = "M35Tarp1",
            ["Base.M35A2Tarp2_Item"] = "M35Tarp2",
            ["Base.M35A2Tarp3_Item"] = "M35Tarp3",
		},
		default = "trve_random",
		noPartChance = 25,
	},
	["WindshieldArmor"] = {
		partId = "M35A2WindshieldArmor",
		itemToModel = {
			["Base.M35A2WindshieldArmor1_Item"] = "M35WindshieldArmor1",
		},
	},
	["DoorLeftArmor"] = {
		partId = "M35A2DoorLeftArmor",
		itemToModel = {
			["Base.M35A2DoorArmor1_Item"] = "M35DoorLeftArmor1",
		},
	},
	["DoorRightArmor"] = {
		partId = "M35A2DoorRightArmor",
		itemToModel = {
			["Base.M35A2DoorArmor1_Item"] = "M35DoorRightArmor1",
		},
	},
	["Mudflaps"] = {
		partId = "M35A2Mudflaps",
		itemToModel = {
			["Base.M35A2Mudflaps1_Item"] = "M35Mudflaps1",
		},
        default = "trve_random",
			noPartChance = 25,
	},
	["Muffler"] = {
		partId = "M35A2Muffler",
		itemToModel = {
			["Base.M35A2Muffler1_Item"] = "M35Muffler1",
		},
		default = "first",
	},
    ["CabCover"] = {
		partId = "M35A2CabCovers",
		itemToModel = {
			["Base.M35A2HardCover1_Item"] = "M35HardCover1",
            ["Base.M35A2SoftCover2_Item"] = "M35SoftCover2",
		},
		default = "random",
	},
});