annotate QueueSupport/GnomeWorks.lua @ 152:cbb427a8d5a5
Fixed a bug where your equipped items were not counted as items in your inventory. If you replaced an equipped item and one of them had a cost associated, it would transfer the value between the two.
author |
Asa Ayers <Asa.Ayers@Gmail.com> |
date |
Mon, 29 Nov 2010 11:25:55 -0800 |
parents |
47885ba83d38 |
children |
|
rev |
line source |
Asa@150
|
1 local function GnomeWorksQueue(data)
|
Asa@150
|
2 if GnomeWorks then
|
Asa@150
|
3 GnomeWorks:ShowQueueList()
|
Asa@150
|
4 GnomeWorks:AddToQueue(GnomeWorks.player, data.tradeSkillIndex, data.recipeID, data.queue)
|
Asa@150
|
5 else
|
Asa@150
|
6 print("Unable to find GnomeWorks")
|
Asa@150
|
7 end
|
Asa@150
|
8 end
|
Asa@150
|
9 IAapi.RegisterQueueDestination('GnomeWorks', GnomeWorksQueue)
|