--[[ ************************************************************************ Custom.lua ************************************************************************ File date: @file-date-iso@ File hash: @file-abbreviated-hash@ Project hash: @project-abbreviated-hash@ Project version: @project-version@ ************************************************************************ Please see http://www.wowace.com/addons/arl/ for more information. ************************************************************************ This source code is released under All Rights Reserved. ************************************************************************ ]]-- ----------------------------------------------------------------------- -- Upvalued Lua API. ----------------------------------------------------------------------- local _G = getfenv(0) ----------------------------------------------------------------------- -- AddOn namespace. ----------------------------------------------------------------------- local FOLDER_NAME, private = ... local LibStub = _G.LibStub local addon = LibStub("AceAddon-3.0"):GetAddon(private.addon_name) local L = LibStub("AceLocale-3.0"):GetLocale(private.addon_name) local BZ = LibStub("LibBabble-Zone-3.0"):GetLookupTable() function addon:InitCustom(DB) local function AddCustom(identifier, location, coord_x, coord_y, faction) private:AddListEntry(DB, identifier, L[identifier], location, coord_x, coord_y, nil) end AddCustom("DISCOVERY_ALCH_ELIXIRFLASK") AddCustom("DISCOVERY_ALCH_POTION") AddCustom("DISCOVERY_ALCH_XMUTE") AddCustom("DISCOVERY_ALCH_PROT") AddCustom("DAILY_COOKING_MEAT", BZ["Shattrath"]) AddCustom("DAILY_COOKING_FISH", BZ["Shattrath"]) AddCustom("DAILY_FISHING_SHATT", BZ["Shattrath"]) AddCustom("DEFAULT_RECIPE") AddCustom("CRAFTED_ENGINEERS") AddCustom("ONYXIA_HEAD_QUEST", BZ["Onyxia's Lair"]) AddCustom("HENRY_STERN_RFD", BZ["Razorfen Downs"]) AddCustom("DISCOVERY_INSC_MINOR") AddCustom("DISCOVERY_INSC_NORTHREND") AddCustom("ENG_GNOMER", BZ["Gnomeregan"]) AddCustom("ENG_FLOOR_ITEM_BRD", BZ["Blackrock Depths"]) AddCustom("DISCOVERY_ALCH_NORTHREND_RESEARCH") AddCustom("DISCOVERY_ALCH_NORTHREND_XMUTE") AddCustom("AQ40_RANDOM_BOP", BZ["Temple of Ahn'Qiraj"]) AddCustom("DM_CACHE", BZ["Dire Maul"], 59.04, 48.82) AddCustom("SUNWELL_RANDOM", BZ["Sunwell Plateau"]) AddCustom("BRD_RANDOM_ROOM", BZ["Blackrock Depths"]) AddCustom("MC_RANDOM", BZ["Molten Core"]) AddCustom("HYJAL_RANDOM", BZ["Hyjal Summit"]) AddCustom("ZA_RANDOM", BZ["Zul'Aman"]) AddCustom("SCHOLO_BOOK_SPAWN", BZ["Scholomance"]) AddCustom("STRATH_BS_PLANS", BZ["Stratholme"]) AddCustom("DM_TRIBUTE", BZ["Dire Maul"], 59.04, 48.82) AddCustom("BT_RANDOM", BZ["Black Temple"]) AddCustom("Custom35") AddCustom("Custom36") AddCustom("SSC_RANDOM", BZ["Serpentshrine Cavern"]) AddCustom("DAILY_COOKING_DAL", BZ["Dalaran"]) AddCustom("ULDUAR_RANDOM", BZ["Ulduar"]) AddCustom("DISCOVERY_INSC_BOOK") AddCustom("Custom41") AddCustom("TOC25_RANDOM") AddCustom("Custom44") AddCustom("Custom45") AddCustom("BUGGED") AddCustom("ARCH_DROP") AddCustom("REMOVED_FROM_GAME") AddCustom("VASHJ'IR_RANDOM_INSC") AddCustom("DEEPHOLM_RANDOM_INSC") AddCustom("ENG_DISC") self.InitCustom = nil end