Skip to content

Instantly share code, notes, and snippets.

View Farami's full-sized avatar

Farami Farami

  • Moving Intelligence GmbH
  • Germany
View GitHub Profile
body { background: #222; color: #e6e6e6; }
.menu ul li a:not(.inline_menu_link) { color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
USE master;
GO
if DB_ID('Libraries') IS NOT NULL
DROP DATABASE Libraries;
GO
CREATE DATABASE Libraries;
GO
function StatWeight:ItemToolTip(wndControl, item, bStuff, nCount)
local this = Apollo.GetAddon("StatWeight")
--Print("[SW] ItemToolTip")
--wndControl:SetToolTipDoc(nil)
local wndTooltip, wndTooltipComp = this.carbineItemForm(this, wndControl, item, bStuff, nCount)
if wndTooltip and bStuff.bPermanent ~= true then
local itemWeight = this:GetItemWeight(item)
[...]