// Firearm UI Handler.
// Worthless Bums 2013.


function initializeFirearmUiButtons ()
{
	LeaderFirearmReadoutShoot.tooltip = "Fire (" @ strreplace($PrimaryBind, "keyboard ", "") @ ")";
	LeaderFirearmReadoutShoot.tooltipprofile = "ItemToolTipProfile";
	LeaderFirearmReadoutReload.tooltip = getReloadTooltip();
	LeaderFirearmReadoutReload.tooltipprofile = "ItemToolTipProfile";
	LeaderFirearmReadoutGuardMode.tooltip = getGuardModeTooltip();
	LeaderFirearmReadoutGuardMode.tooltipprofile = "ItemToolTipProfile";
	LeaderFirearmReadoutFlashlight.tooltip = "Cycle Attachment (" @ strreplace($WeaponAttachmentBind, "keyboard ", "") @ ")";
	LeaderFirearmReadoutFlashlight.tooltipprofile = "ItemToolTipProfile";
	LeaderFirearmReadoutLaser.tooltip = "Cycle Attachment (" @ strreplace($WeaponAttachmentBind, "keyboard ", "") @ ")";
	LeaderFirearmReadoutLaser.tooltipprofile = "ItemToolTipProfile";
	
	ScoutFirearmReadoutShoot.tooltip = "Fire (" @ strreplace($PrimaryBind, "keyboard ", "") @ ")";
	ScoutFirearmReadoutShoot.tooltipprofile = "ItemToolTipProfile";
	ScoutFirearmReadoutReload.tooltip = getReloadTooltip();
	ScoutFirearmReadoutReload.tooltipprofile = "ItemToolTipProfile";
	ScoutFirearmReadoutGuardMode.tooltip = getGuardModeTooltip();
	ScoutFirearmReadoutGuardMode.tooltipprofile = "ItemToolTipProfile";
	ScoutFirearmReadoutFlashlight.tooltip = "Cycle Attachment (" @ strreplace($WeaponAttachmentBind, "keyboard ", "") @ ")";
	ScoutFirearmReadoutFlashlight.tooltipprofile = "ItemToolTipProfile";
	ScoutFirearmReadoutLaser.tooltip = "Cycle Attachment (" @ strreplace($WeaponAttachmentBind, "keyboard ", "") @ ")";
	ScoutFirearmReadoutLaser.tooltipprofile = "ItemToolTipProfile";
	
	GrenadierFirearmReadoutShoot.tooltip = "Fire (" @ strreplace($PrimaryBind, "keyboard ", "") @ ")";
	GrenadierFirearmReadoutShoot.tooltipprofile = "ItemToolTipProfile";
	GrenadierFirearmReadoutReload.tooltip = getReloadTooltip();
	GrenadierFirearmReadoutReload.tooltipprofile = "ItemToolTipProfile";
	GrenadierFirearmReadoutGuardMode.tooltip = getGuardModeTooltip();
	GrenadierFirearmReadoutGuardMode.tooltipprofile = "ItemToolTipProfile";
	GrenadierFirearmReadoutFlashlight.tooltip = "Cycle Attachment (" @ strreplace($WeaponAttachmentBind, "keyboard ", "") @ ")";
	GrenadierFirearmReadoutFlashlight.tooltipprofile = "ItemToolTipProfile";
	GrenadierFirearmReadoutLaser.tooltip = "Cycle Attachment (" @ strreplace($WeaponAttachmentBind, "keyboard ", "") @ ")";
	GrenadierFirearmReadoutLaser.tooltipprofile = "ItemToolTipProfile";
	
	SupportFirearmReadoutShoot.tooltip = "Fire (" @ strreplace($PrimaryBind, "keyboard ", "") @ ")";
	SupportFirearmReadoutShoot.tooltipprofile = "ItemToolTipProfile";
	SupportFirearmReadoutReload.tooltip = getReloadTooltip();
	SupportFirearmReadoutReload.tooltipprofile = "ItemToolTipProfile";
	SupportFirearmReadoutGuardMode.tooltip = getGuardModeTooltip();
	SupportFirearmReadoutGuardMode.tooltipprofile = "ItemToolTipProfile";
	SupportFirearmReadoutFlashlight.tooltip = "Cycle Attachment (" @ strreplace($WeaponAttachmentBind, "keyboard ", "") @ ")";
	SupportFirearmReadoutFlashlight.tooltipprofile = "ItemToolTipProfile";
	SupportFirearmReadoutLaser.tooltip = "Cycle Attachment (" @ strreplace($WeaponAttachmentBind, "keyboard ", "") @ ")";
	SupportFirearmReadoutLaser.tooltipprofile = "ItemToolTipProfile";
}