module Base
{

	model 84cadillacDeVilleRoof_blackS
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Black,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_maroonS
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Maroon,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_whiteS
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_White,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_brownS
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Brown,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_blueS
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Blue,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_blackC
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Black,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_maroonC
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Maroon,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_whiteC
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_White,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_brownC
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Brown,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_blueC
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Blue,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_blackQ
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Black,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_maroonQ
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Maroon,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_whiteQ
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_White,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_brownQ
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Brown,
		shader = vehiclewheel,
		scale = 0.1,
	}

    model 84cadillacDeVilleRoof_blueQ
	{
		mesh = vehicles/Vehicles_84cadillacDeVille_Body|deville_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Blue,
		shader = vehiclewheel,
		scale = 0.1,
	}

	template vehicle DEV84RoofSedan
	{
		part GM85VinylRoof
		{
            model Roofb
				{
                		file = 84cadillacDeVilleRoof_blackS,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofm
				{
                		file = 84cadillacDeVilleRoof_maroonS,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofw
				{
                		file = 84cadillacDeVilleRoof_whiteS,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbr
				{
                		file = 84cadillacDeVilleRoof_brownS,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbl
				{
                		file = 84cadillacDeVilleRoof_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,
			repairMechanic = true,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Wrench,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

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

            table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				type = Base.Wrench,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

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

            		}

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

    template vehicle DEV84RoofCoupe
	{
		part GM85VinylRoof
		{
            model Roofb
				{
                		file = 84cadillacDeVilleRoof_blackC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofm
				{
                		file = 84cadillacDeVilleRoof_maroonC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofw
				{
                		file = 84cadillacDeVilleRoof_whiteC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbr
				{
                		file = 84cadillacDeVilleRoof_brownC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbl
				{
                		file = 84cadillacDeVilleRoof_blueC,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbq
				{
                		file = 84cadillacDeVilleRoof_blackQ,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofmq
				{
                		file = 84cadillacDeVilleRoof_maroonQ,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofwq
				{
                		file = 84cadillacDeVilleRoof_whiteQ,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofbrq
				{
                		file = 84cadillacDeVilleRoof_brownQ,
                		offset = 0.0000 0.0000 0.0000,
				}

            model Roofblq
				{
                		file = 84cadillacDeVilleRoof_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,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Wrench,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

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

            table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				type = Base.Wrench,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

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

            		}

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