module Base
{
	model Chevalier_Rhino_Bullbar
	{
		mesh = vehicles/Vehicles_Chevalier_Rhino_F|BullBar,
		shader = vehicle_multiuv_noreflect,
		invertX = FALSE,
		scale = .4,
	}

	template vehicle RhinoArmor
	{
		part RhinoArmor_BullBar
		{
			model Default
			{
				file = Chevalier_Rhino_Bullbar,
			}
			
			area = Engine,
			category = Other,
			itemType = Base.RhinoBullBar,
			mechanicRequireKey = false,
			
			table install
			{
                items
                {
                    1
                    {
                        tags = Wrench,
                        count = 1,
                        keep = true,
						equip = primary,
                    }
                }

                time = 1500,
                skills = Mechanics:2,
                test = Vehicles.InstallTest.Default,
				complete = rhinoArmor.InstallComplete.Bullbar,
            }

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

                time = 1500,
                skills = Mechanics:1,
                test = Vehicles.UninstallTest.Default,
				complete = Vehicles.UninstallComplete.Default,
            }

			lua
            {
				create = rhinoArmor.Create.Bullbar,
				update = rhinoArmor.Update.Bullbar,
			}
		}				
	}
}