Added .pkgmeta for Curse packager
This commit is contained in:
parent
5e8578454a
commit
735d3d2de1
2 changed files with 7 additions and 2 deletions
7
.pkgmeta
Normal file
7
.pkgmeta
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
package-as: GemStacker
|
||||||
|
|
||||||
|
externals:
|
||||||
|
Libs/LibStub: svn://svn.wowace.com/wow/libstub/mainline/trunk
|
||||||
|
Libs/AceAddon-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceAddon-3.0
|
||||||
|
Libs/AceConsole-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceConsole-3.0
|
||||||
|
Libs/AceEvent-3.0: svn://svn.wowace.com/wow/ace3/mainline/trunk/AceEvent-3.0
|
|
@ -6,12 +6,10 @@ function core:OnInitialize()
|
||||||
end
|
end
|
||||||
|
|
||||||
function core:OnEnable()
|
function core:OnEnable()
|
||||||
--use chat_msg_loot later
|
|
||||||
self:RegisterEvent('CHAT_MSG_LOOT','StackGems');
|
self:RegisterEvent('CHAT_MSG_LOOT','StackGems');
|
||||||
end
|
end
|
||||||
|
|
||||||
function core:StackGems(_,message)
|
function core:StackGems(_,message)
|
||||||
--should receive something like "player","Reckless Ember Topaz","",2,73369
|
|
||||||
if(not string.find(message,'You create')) then return end;
|
if(not string.find(message,'You create')) then return end;
|
||||||
local gem = message:match("%[(.-)%]");
|
local gem = message:match("%[(.-)%]");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue