view QueueSupport/GnomeWorks.lua @ 157:091bae7bfca0

Fixed a bug in calculating purchase/sale where the item ID was being used instead of the number of items that changed.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Wed, 15 Dec 2010 22:49:28 -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)