module Base
{

	model 84buickElectraRoof_blackS
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Black,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_maroonS
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Maroon,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_whiteS
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_White,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_brownS
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Brown,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_blueS
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_sedan_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Blue,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_blackC
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Black,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_maroonC
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Maroon,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_whiteC
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_White,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_brownC
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Brown,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_blueC
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Blue,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_blackQ
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Black,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_maroonQ
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Maroon,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_whiteQ
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_White,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_brownQ
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Brown,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

    model 84buickElectraRoof_blueQ
	{
		mesh = vehicles/Vehicles_84buickElectra_Body|electra_coupe_vinyl_q,
		texture = Vehicles/Combo_84gmCbody_Vinyl_Blue,
		shader = damn_wheel_shader,
		scale = 0.1,
	}

	template vehicle ELE84RoofSedan
	{
		part GM85VinylRoof
		{
            model Roofb
				{
                		file = 84buickElectraRoof_blackS,
                		offset = 0.0000 0.0000 0.0000,
				}

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

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

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

            model Roofbl
				{
                		file = 84buickElectraRoof_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,
            durability = 3,

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

                	time = 1500,
                	skills = Mechanics:1,
                	recipes = Intermediate Mechanics,
                	complete = ELE84.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 = ELE84.UninstallComplete.RoofSedan,
					requireEmpty = true,

            		}

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

    template vehicle ELE84RoofCoupe
	{
		part GM85VinylRoof
		{
            model Roofb
				{
                		file = 84buickElectraRoof_blackC,
                		offset = 0.0000 0.0000 0.0000,
				}

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

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

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

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

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

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

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

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

            model Roofblq
				{
                		file = 84buickElectraRoof_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 = ELE84.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 = ELE84.UninstallComplete.RoofCoupe,
					requireEmpty = true,

            		}

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