module Base
{
	model 49powerWagonfrontBumper0
	{
		mesh = vehicles/Vehicles_49powerWagon_Body|power_bumper0,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

	model 49powerWagonfrontBullbar1
	{
		mesh = vehicles/Vehicles_49powerWagon_Body|power_bumper1,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

	model 49powerWagonfrontBullbar2
	{
		mesh = vehicles/Vehicles_49powerWagon_Body|power_bumper_apoc,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

	template vehicle PWRFrontBumpers
		{
		part PWRFrontBumper
        	{

			model FrontBumper0
				{
                		file = 49powerWagonfrontBumper0,
				}

			model FrontBullbar1
				{
                		file = 49powerWagonfrontBullbar1,
				}

			model FrontBullbar2
				{
                		file = 49powerWagonfrontBullbar2,
				}

				area = Engine,
				category = bodywork,
				specificItem = false,
				itemType = Base.49powerWagonBumper0;Base.49powerWagonBullbar1;Base.49powerWagonBullbar2,
				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 = PWR.InstallComplete.FrontBumper,
            		}

            		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 = PWR.UninstallComplete.FrontBumper,
            		}

            		lua
            		{
					create = PWR.Create.FrontBumper,
					init = PWR.Init.FrontBumper,
					}
		}
	}

	template vehicle PWRFrontBumpersPA
		{
		part PWRFrontBumper
        	{

        	model FrontBullbar2
				{
                		file = 49powerWagonfrontBullbar2,
				}

			model FrontBumper0
				{
                		file = 49powerWagonfrontBumper0,
				}

			model FrontBullbar1
				{
                		file = 49powerWagonfrontBullbar1,
				}

				area = Engine,
				category = bodywork,
				specificItem = false,
				itemType = Base.49powerWagonBullbar2;Base.49powerWagonBumper0;Base.49powerWagonBullbar1,
				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 = PWR.InstallComplete.FrontBumperPA,
            		}

            		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 = PWR.UninstallComplete.FrontBumperPA,
            		}

            		lua
            		{
					create = PWR.Create.FrontBumperPA,
					init = PWR.Init.FrontBumperPA,
					}
		}
	}

	template vehicle PWRFrontBumpersPD
		{
		part PWRFrontBumper
        	{

        	model FrontBullbar1
				{
                		file = 49powerWagonfrontBullbar1,
				}

        	model FrontBullbar2
				{
                		file = 49powerWagonfrontBullbar2,
				}

			model FrontBumper0
				{
                		file = 49powerWagonfrontBumper0,
				}

				area = Engine,
				category = bodywork,
				specificItem = false,
				itemType = Base.49powerWagonBullbar1;Base.49powerWagonBullbar2;Base.49powerWagonBumper0,
				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 = PWR.InstallComplete.FrontBumperPA,
            		}

            		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 = PWR.UninstallComplete.FrontBumperPA,
            		}

            		lua
            		{
					create = PWR.Create.FrontBumperPA,
					init = PWR.Init.FrontBumperPA,
					}
		}
	}

		
}
