module Base
{
    model 82porsche911screarBumper0
	{
		mesh = vehicles/Vehicles_82porsche911_Body|p911sc_bumper_rear0,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

    model 82porsche911screarBumper1
	{
		mesh = vehicles/Vehicles_82porsche911_Body|p911sc_bumper_rear1,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

	model 82porsche911rearBumper0
	{
		mesh = vehicles/Vehicles_82porsche911_Body|p911_bumper_rear1,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

    model 82porsche911rearBumper1
	{
		mesh = vehicles/Vehicles_82porsche911_Body|p911rwb_bumper_rear2,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

	template vehicle PRS82RearBumpers
		{
		part PRS82RearBumper
        	{

			model RearBumper0
				{
                		file = 82porsche911rearBumper0,
				}

				area = Engine,
				category = bodywork,
				specificItem = false,
				itemType = Base.82porsche911turboBumperRear0,
				mechanicRequireKey = false,

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

                	time = 450,
                	skills = Mechanics:3,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = PRS82.InstallComplete.RearBumper,
            		}

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

					time = 500,
					skills = Mechanics:3,
					recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
					complete = PRS82.UninstallComplete.RearBumper,
            		}

            		lua
            		{
					create = PRS82.Create.RearBumper,
					init = PRS82.Init.RearBumper,
					}
		}
	}

    template vehicle PRS82RearBumpersRWB
		{
		part PRS82RearBumper
        	{

			model RearBumper0
				{
                		file = 82porsche911rearBumper1,
				}

				area = Engine,
				category = bodywork,
				specificItem = false,
				itemType = Base.82porsche911RWBBumperRear1,
				mechanicRequireKey = false,

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

                	time = 450,
                	skills = Mechanics:3,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = PRS82.InstallComplete.RearBumperRWB,
            		}

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

					time = 500,
					skills = Mechanics:3,
					recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
					complete = PRS82.UninstallComplete.RearBumperRWB,
            		}

            		lua
            		{
					create = PRS82.Create.RearBumperRWB,
					init = PRS82.Init.RearBumperRWB,
					}
		}
	}

    template vehicle PRS82RearBumpersSC
		{
		part PRS82RearBumper
        	{

			model RearBumper0
				{
                		file = 82porsche911screarBumper0,
				}

            model RearBumper1
				{
                		file = 82porsche911screarBumper1,
				}

				area = Engine,
				category = bodywork,
				specificItem = false,
				itemType = Base.82porsche911SCBumperRear0;Base.82porsche911SCBumperRear1,
				mechanicRequireKey = false,

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

                	time = 450,
                	skills = Mechanics:3,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = PRS82.InstallComplete.RearBumperSC,
            		}

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

					time = 500,
					skills = Mechanics:3,
					recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
					complete = PRS82.UninstallComplete.RearBumperSC,
            		}

            		lua
            		{
					create = PRS82.Create.RearBumperSC,
					init = PRS82.Init.RearBumperSC,
					}
		}
	}
}