Quantcast

Deleted Trainer.lua and removed some trainer entries

mike [03-14-11 - 00:34]
Deleted Trainer.lua and removed some trainer entries
Filename
Database/Trainer.lua
Locales/devel-enUS.lua
database.xml
diff --git a/Database/Trainer.lua b/Database/Trainer.lua
deleted file mode 100644
index 644bd20..0000000
--- a/Database/Trainer.lua
+++ /dev/null
@@ -1,49 +0,0 @@
---[[
-************************************************************************
-Trainer.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()
-
------------------------------------------------------------------------
--- Constants.
------------------------------------------------------------------------
-local NEUTRAL = 0
-local ALLIANCE = 1
-local HORDE = 2
-
-function addon:InitTrainer(DB)
-	local function AddTrainer(id_num, name, location, coord_x, coord_y, faction)
-		private:AddListEntry(DB, id_num, name, location, coord_x, coord_y, faction)
-	end
-
-	AddTrainer(3373, L["Arnok"], BZ["Orgrimmar"], 34.1, 84.4, HORDE)
-	AddTrainer(12920, L["Doctor Gregory Victor"], BZ["Arathi Highlands"], 73.4, 36.8, HORDE)
-	AddTrainer(12939, L["Doctor Gustaf VanHowzen"], BZ["Dustwallow Marsh"], 68.18, 47.94, ALLIANCE)
-
-	self.InitTrainer = nil
-end
diff --git a/Locales/devel-enUS.lua b/Locales/devel-enUS.lua
index 90ab1f1..40863fc 100644
--- a/Locales/devel-enUS.lua
+++ b/Locales/devel-enUS.lua
@@ -112,7 +112,6 @@ L["Argent Quartermaster Lightspark"] = "Argent Quartermaster Lightspark"
 L["Argo Strongstout"] = "Argo Strongstout"
 L["Aristaleon Sunweaver"] = "Aristaleon Sunweaver"
 L["Arkkoran Oracle"] = "Arkkoran Oracle"
-L["Arnok"] = "Arnok"
 L["Arras"] = "Arras"
 L["Arred"] = "Arred"
 L["Arrond"] = "Arrond"
@@ -379,8 +378,6 @@ L["Disembodied Vindicator"] = "Disembodied Vindicator"
 L["Display Exclusions"] = "Display Exclusions"
 L["Doba"] = "Doba"
 L["Doc Zapnozzle"] = "Doc Zapnozzle"
-L["Doctor Gregory Victor"] = "Doctor Gregory Victor"
-L["Doctor Gustaf VanHowzen"] = "Doctor Gustaf VanHowzen"
 L["Doctor Herbert Halsey"] = "Doctor Herbert Halsey"
 L["Documentation"] = "Documentation"
 L["Don Carlos"] = "Don Carlos"
diff --git a/database.xml b/database.xml
index 1ded2d5..ec4ec51 100644
--- a/database.xml
+++ b/database.xml
@@ -20,7 +20,6 @@
 <Include file="Database\Quest.lua"/>
 <Include file="Database\Reputation.lua"/>
 <Include file="Database\Seasonal.lua"/>
-<Include file="Database\Trainer.lua"/>
 <Include file="Database\Vendor.lua"/>

 <Include file="Database\Trainers\Alchemy.lua"/>