require "DAMN_Parts";
require "DAMN_Spawns";

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

DAMN.Parts:processConfigV2("M35A2", {
	["Bumper"] = {
		partId = "DAMNBumperFront",
		itemToModel = {
			["Base.M35A2Bumper1"] = "M35Bumper1",
		},
		default = "first",
	},
	["Grille"] = {
		partId = "M35A2Grille",
		itemToModel = {
			["Base.M35A2Grille1"] = "M35Grille1",
		},
		default = "trve_random",
		noPartChance = 15,
	},
    ["SpareTire"] = {
		partId = "DAMNSpareTire",
		itemToModel = {
			["runFlat.MediumTire"] = "M35SpareTire1",
		},
		default = "trve_random",
		noPartChance = 25,
	},
    ["SpareTire2"] = {
		partId = "DAMNSpareTireBed",
		itemToModel = {
			["runFlat.MediumTire"] = "M62SpareTire2",
		},
		default = "trve_random",
		noPartChance = 15,
	},
    ["Tarp"] = {
		partId = "M35A2Tarp",
		itemToModel = {
			["Base.M35A2Stakes1"] = "M35Tarp1",
            ["Base.M35A2Tarp2"] = "M35Tarp2",
            ["Base.M35A2Stakes3"] = "M35Tarp3",
		},
		default = "trve_random",
		noPartChance = 25,
	},
	["WindshieldArmor"] = {
		partId = "DAMNWindshieldArmor",
		itemToModel = {
			["Base.M35A2WindshieldArmor1"] = "M35WindshieldArmor1",
		},
	},
	["DoorLeftArmor"] = {
		partId = "DAMNFrontLeftArmor",
		itemToModel = {
			["Base.M35A2DoorArmor1"] = "M35DoorLeftArmor1",
		},
	},
	["DoorRightArmor"] = {
		partId = "DAMNFrontRightArmor",
		itemToModel = {
			["Base.M35A2DoorArmor1"] = "M35DoorRightArmor1",
		},
	},
	["Mudflaps"] = {
		partId = "DAMNMudflaps",
		itemToModel = {
			["Base.M35A2Mudflaps1"] = "M35Mudflaps1",
		},
        default = "trve_random",
			noPartChance = 25,
	},
	["Muffler"] = {
		partId = "Muffler",
		itemToModel = {
			["Base.M35A2Muffler1"] = "M35Muffler1",
		},
		default = "first",
	},
    ["CabCover"] = {
		partId = "M35A2CabCovers",
		itemToModel = {
			["Base.M35A2HardCover1"] = "M35HardCover1",
            ["Base.M35A2SoftCover2"] = "M35SoftCover2",
		},
		default = "random",
	},
});