public
Description: WoW Addon - Adds notes to item tooltips
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/engravings.git
Click here to lend your support to: engravings and make a donation at www.pledgie.com !
engravings / Data / Currency.lua
100644 23 lines (21 sloc) 0.339 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
local CURRENCIES = [[
24579 Honor Hold
24581 Thrallmar
24245 Sporeggar
29735 The Aldor
29736 The Scryers
26045 Halaa
26044 Halaa
]]
Engravings["Currency:"] = setmetatable({}, {
  __index = function(t,i)
    local v = CURRENCIES:match("\n"..i.." ([^\n]+)\n")
    if v then
      t[i] = v
      return v
    else
      t[i] = false
      return
    end
  end
})