annotate ItemCountAddons/Altoholic.lua @ 16:68958c55c43d

Added tag v0.1.2-BETA for changeset b11b3c0b5287
author Zerotorescue
date Mon, 18 Oct 2010 19:37:43 +0200
parents 5006cb0e97c6
children 8f5c02113c5c
rev   line source
Zerotorescue@13 1 do
Zerotorescue@13 2
Zerotorescue@13 3 local function GetCount(itemId)
Zerotorescue@13 4 return Altoholic:GetItemCount(itemId) or -1;
Zerotorescue@13 5 end
Zerotorescue@13 6
Zerotorescue@13 7 local function IsEnabled()
Zerotorescue@13 8 return (Altoholic and Altoholic.GetItemCount);
Zerotorescue@13 9 end
Zerotorescue@13 10
Zerotorescue@13 11 IMRegisterItemCountAddon("Altoholic", GetCount, IsEnabled);
Zerotorescue@13 12
Zerotorescue@13 13 end