view QueueSupport/GnomeWorks.lua @ 158:7ebe0a85d539

Fixed the way ItemLinks are extracted so that ItemAuditor can handle negative UniqeIDs. I had two of the same item, but one had a negative unique id and was being tracked as if it were a different item.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Wed, 15 Dec 2010 23:15:17 -0800
parents 47885ba83d38
children
line wrap: on
line source
local function GnomeWorksQueue(data)
	if GnomeWorks then
		GnomeWorks:ShowQueueList()
		GnomeWorks:AddToQueue(GnomeWorks.player, data.tradeSkillIndex, data.recipeID, data.queue)
	else
		print("Unable to find GnomeWorks")
	end
end
IAapi.RegisterQueueDestination('GnomeWorks', GnomeWorksQueue)