module Base
{

	model 85oldsmobileDelta88Roof_blackS
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_vinyl_s,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Black,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_maroonS
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_vinyl_s,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Maroon,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_whiteS
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_vinyl_s,
		texture = Vehicles/Combo_85gmBbody_Vinyl_White,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_brownS
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_vinyl_s,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Brown,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_blueS
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_vinyl_s,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Blue,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_blackC
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Black,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_maroonC
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Maroon,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_whiteC
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c,
		texture = Vehicles/Combo_85gmBbody_Vinyl_White,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_brownC
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Brown,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_blueC
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Blue,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_blackQ
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c_q,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Black,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_maroonQ
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c_q,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Maroon,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_whiteQ
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c_q,
		texture = Vehicles/Combo_85gmBbody_Vinyl_White,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_brownQ
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c_q,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Brown,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 85oldsmobileDelta88Roof_blueQ
	{
		mesh = vehicles/Vehicles_85oldsmobileDelta88_Body|85b-platform_viny_c_q,
		texture = Vehicles/Combo_85gmBbody_Vinyl_Blue,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

	template vehicle DEL85RoofSedan
	{
		part GM85VinylRoof
		{
            model Roofb
				{
                		file = 85oldsmobileDelta88Roof_blackS,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofm
				{
                		file = 85oldsmobileDelta88Roof_maroonS,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofw
				{
                		file = 85oldsmobileDelta88Roof_whiteS,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbr
				{
                		file = 85oldsmobileDelta88Roof_brownS,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbl
				{
                		file = 85oldsmobileDelta88Roof_blueS,
                		offset = 0.0000 0.0000 0.0000,
				}

			category = Other,
			area = Roofrack,
            specificItem = false,
			itemType = Base.85gmBbodyVinylRoofBlack;Base.85gmBbodyVinylRoofMaroon;Base.85gmBbodyVinylRoofWhite;Base.85gmBbodyVinylRoofBrown;Base.85gmBbodyVinylRoofBlue,
			mechanicRequireKey = false,
            durability = 3,
			repairMechanic = true,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Wrench,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 1500,
                	skills = Mechanics:1,
                	recipes = Intermediate Mechanics,
                	complete = DEL85.InstallComplete.RoofSedan,
                	test = Vehicles.InstallTest.Default,
            		}

            table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Wrench,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

					time = 1500,
					skills = Mechanics:1,
					recipes = Intermediate Mechanics,
            		test = Vehicles.UninstallTest.Default,
					complete = DEL85.UninstallComplete.RoofSedan,
					requireEmpty = true,

            		}

            lua
            	{
					create = DEL85.Create.RoofSedan,
					init = DEL85.Init.RoofSedan,
				}
		}
	}

    template vehicle DEL85RoofCoupe
	{
		part GM85VinylRoof
		{
            model Roofb
				{
                		file = 85oldsmobileDelta88Roof_blackC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofm
				{
                		file = 85oldsmobileDelta88Roof_maroonC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofw
				{
                		file = 85oldsmobileDelta88Roof_whiteC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbr
				{
                		file = 85oldsmobileDelta88Roof_brownC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbl
				{
                		file = 85oldsmobileDelta88Roof_blueC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbq
				{
                		file = 85oldsmobileDelta88Roof_blackQ,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofmq
				{
                		file = 85oldsmobileDelta88Roof_maroonQ,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofwq
				{
                		file = 85oldsmobileDelta88Roof_whiteQ,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbrq
				{
                		file = 85oldsmobileDelta88Roof_brownQ,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofblq
				{
                		file = 85oldsmobileDelta88Roof_blueQ,
                		offset = 0.0000 0.0000 0.0000,
				}

			category = Other,
			area = Roofrack,
            specificItem = false,
			itemType = Base.85gmBbodyVinylRoofBlack;Base.85gmBbodyVinylRoofMaroon;Base.85gmBbodyVinylRoofWhite;Base.85gmBbodyVinylRoofBrown;Base.85gmBbodyVinylRoofBlue;Base.85gmBbodyVinylRoofQuarterBlack;Base.85gmBbodyVinylRoofQuarterMaroon;Base.85gmBbodyVinylRoofQuarterWhite;Base.85gmBbodyVinylRoofQuarterBrown;Base.85gmBbodyVinylRoofQuarterBlue,
			mechanicRequireKey = false,
			repairMechanic = true,
            durability = 3,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Wrench,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 1500,
                	skills = Mechanics:1,
                	recipes = Intermediate Mechanics,
                	complete = DEL85.InstallComplete.RoofCoupe,
                	test = Vehicles.InstallTest.Default,
            		}

            table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Wrench,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

					time = 1500,
					skills = Mechanics:1,
					recipes = Intermediate Mechanics,
            		test = Vehicles.UninstallTest.Default,
					complete = DEL85.UninstallComplete.RoofCoupe,
					requireEmpty = true,

            		}

            lua
            	{
					create = DEL85.Create.RoofCoupe,
					init = DEL85.Init.RoofCoupe,
				}
		}
	}
}