Quantcast

Removed the rep level variables from the database files.

pompachomp [02-06-10 - 07:36]
Removed the rep level variables from the database files.
Filename
Database/Alchemy.lua
Database/Blacksmithing.lua
Database/Cooking.lua
Database/Enchanting.lua
Database/Engineering.lua
Database/Inscription.lua
Database/Jewelcrafting.lua
Database/Leatherworking.lua
Database/Tailoring.lua
diff --git a/Database/Alchemy.lua b/Database/Alchemy.lua
index b6b0104..944a0e5 100644
--- a/Database/Alchemy.lua
+++ b/Database/Alchemy.lua
@@ -41,11 +41,6 @@ local A		= private.acquire_types
 local REP	= private.rep_levels
 local FAC	= private.faction_ids

-local FRIENDLY	= 1
-local HONORED	= 2
-local REVERED	= 3
-local EXALTED	= 4
-
 local initialized = false
 local num_recipes = 0

diff --git a/Database/Blacksmithing.lua b/Database/Blacksmithing.lua
index e44aa48..5ebd6f0 100644
--- a/Database/Blacksmithing.lua
+++ b/Database/Blacksmithing.lua
@@ -41,11 +41,6 @@ local A		= private.acquire_types
 local REP	= private.rep_levels
 local FAC	= private.faction_ids

-local FRIENDLY	= 1
-local HONORED	= 2
-local REVERED	= 3
-local EXALTED	= 4
-
 local initialized = false
 local num_recipes = 0

@@ -2456,7 +2451,7 @@ function addon:InitBlacksmithing(RecipeDB)
 	-- Titanium Plating -- 62202
 	AddRecipe(62202, 450, 44936, R_RARE, GAME_WOTLK, 450, 455, 460, 465)
 	self:addTradeFlags(RecipeDB, 62202, F.ALLIANCE, F.HORDE, F.VENDOR, F.IBOE, F.RBOP, F.TANK, F.SHIELD)
-	self:addTradeAcquire(RecipeDB, 62202, A.REPUTATION, FAC.HORDE_EXPEDITION, REP.EXALTED, 32565, A.REPUTATION, FAC.HORDE_EXPEDITION, REP.EXALTED, 32774, A.REPUTATION, 1037, REP.EXALTED, 32564, A.REPUTATION, 1037, REP.EXALTED, 32773)
+	self:addTradeAcquire(RecipeDB, 62202, A.REPUTATION, FAC.HORDE_EXPEDITION, REP.EXALTED, 32565, A.REPUTATION, FAC.HORDE_EXPEDITION, REP.EXALTED, 32774, A.REPUTATION, FAC.ALLIANCE_VANGUARD, REP.EXALTED, 32564, A.REPUTATION, FAC.ALLIANCE_VANGUARD, REP.EXALTED, 32773)

 	-- Titansteel Spellblade -- 63182
 	AddRecipe(63182, 440, 45085, R_EPIC, GAME_WOTLK, 440, 450, 460, 470)
diff --git a/Database/Cooking.lua b/Database/Cooking.lua
index 29a812d..3b50bce 100644
--- a/Database/Cooking.lua
+++ b/Database/Cooking.lua
@@ -41,11 +41,6 @@ local A		= private.acquire_types
 local REP	= private.rep_levels
 local FAC	= private.faction_ids

-local FRIENDLY	= 1
-local HONORED	= 2
-local REVERED	= 3
-local EXALTED	= 4
-
 local initialized = false
 local num_recipes = 0

@@ -918,6 +913,16 @@ function addon:InitCooking(RecipeDB)

 	elseif faction == BFAC["Horde"] then

+		-- Candied Sweet Potatoes -- 66034
+		AddRecipe(66034, 270, 44839, R_COMMON, GAME_WOTLK, 270, 270, 282, 295)
+		self:addTradeFlags(RecipeDB, 66034,  F.HORDE, F.SEASONAL, F.IBOE, F.RBOP)
+		self:addTradeAcquire(RecipeDB, 66034, A.SEASONAL, 5)
+
+		-- Cranberry Chutney -- 66035
+		AddRecipe(66035, 210, 44840, R_COMMON, GAME_WOTLK, 210, 210, 222, 235)
+		self:addTradeFlags(RecipeDB, 66035, F.HORDE, F.SEASONAL, F.IBOE, F.RBOP, F.HEALER, F.CASTER)
+		self:addTradeAcquire(RecipeDB, 66035, A.SEASONAL, 5)
+
 		-- Pumpkin Pie -- 66036
 		AddRecipe(66036, 100, 44839, R_COMMON, GAME_WOTLK, 100, 150, 162, 175)
 		self:addTradeFlags(RecipeDB, 66036,  F.HORDE, F.SEASONAL, F.IBOE, F.RBOP, F.HEALER, F.CASTER)
@@ -928,21 +933,13 @@ function addon:InitCooking(RecipeDB)
 		self:addTradeFlags(RecipeDB, 66037,  F.HORDE, F.SEASONAL, F.IBOE, F.RBOP, F.DPS)
 		self:addTradeAcquire(RecipeDB, 66037, A.SEASONAL, 5)

-		-- Cranberry Chutney -- 66035
-		AddRecipe(66035, 210, 44840, R_COMMON, GAME_WOTLK, 210, 210, 222, 235)
-		self:addTradeFlags(RecipeDB, 66035, F.HORDE, F.SEASONAL, F.IBOE, F.RBOP, F.HEALER, F.CASTER)
-		self:addTradeAcquire(RecipeDB, 66035, A.SEASONAL, 5)
-
 		-- Spice Bread Stuffing -- 66038
 		AddRecipe(66038, 90, 44837, R_COMMON, GAME_WOTLK, 90, 90, 102, 115)
 		self:addTradeFlags(RecipeDB, 66038, F.HORDE, F.SEASONAL, F.IBOE, F.RBOE)
 		self:addTradeAcquire(RecipeDB, 66038, A.SEASONAL, 5)
-
-		-- Candied Sweet Potatoes -- 66034
-		AddRecipe(66034, 270, 44839, R_COMMON, GAME_WOTLK, 270, 270, 282, 295)
-		self:addTradeFlags(RecipeDB, 66034,  F.HORDE, F.SEASONAL, F.IBOE, F.RBOP)
-		self:addTradeAcquire(RecipeDB, 66034, A.SEASONAL, 5)

 	end
+
 	return num_recipes
+
 end
diff --git a/Database/Enchanting.lua b/Database/Enchanting.lua
index 9dd6b77..312d7ad 100644
--- a/Database/Enchanting.lua
+++ b/Database/Enchanting.lua
@@ -41,11 +41,6 @@ local A		= private.acquire_types
 local REP	= private.rep_levels
 local FAC	= private.faction_ids

-local FRIENDLY	= 1
-local HONORED	= 2
-local REVERED	= 3
-local EXALTED	= 4
-
 local initialized = false
 local num_recipes = 0

diff --git a/Database/Engineering.lua b/Database/Engineering.lua
index 625d0e9..6f4ded8 100644
--- a/Database/Engineering.lua
+++ b/Database/Engineering.lua
@@ -41,11 +41,6 @@ local A		= private.acquire_types
 local REP	= private.rep_levels
 local FAC	= private.faction_ids

-local FRIENDLY	= 1
-local HONORED	= 2
-local REVERED	= 3
-local EXALTED	= 4
-
 local initialized = false
 local num_recipes = 0

diff --git a/Database/Inscription.lua b/Database/Inscription.lua
index b0065f6..4749d46 100644
--- a/Database/Inscription.lua
+++ b/Database/Inscription.lua
@@ -44,11 +44,6 @@ local A		= private.acquire_types
 local REP	= private.rep_levels
 local FAC	= private.faction_ids

-local FRIENDLY	= 1
-local HONORED	= 2
-local REVERED	= 3
-local EXALTED	= 4
-
 local initialized = false
 local num_recipes = 0

diff --git a/Database/Jewelcrafting.lua b/Database/Jewelcrafting.lua
index 0056908..91af471 100644
--- a/Database/Jewelcrafting.lua
+++ b/Database/Jewelcrafting.lua
@@ -41,11 +41,6 @@ local A		= private.acquire_types
 local REP	= private.rep_levels
 local FAC	= private.faction_ids

-local FRIENDLY	= 1
-local HONORED	= 2
-local REVERED	= 3
-local EXALTED	= 4
-
 local initialized = false
 local num_recipes = 0

diff --git a/Database/Leatherworking.lua b/Database/Leatherworking.lua
index 2714eb4..da1d5ac 100644
--- a/Database/Leatherworking.lua
+++ b/Database/Leatherworking.lua
@@ -41,11 +41,6 @@ local A		= private.acquire_types
 local REP	= private.rep_levels
 local FAC	= private.faction_ids

-local FRIENDLY	= 1
-local HONORED	= 2
-local REVERED	= 3
-local EXALTED	= 4
-
 local initialized = false
 local num_recipes = 0

diff --git a/Database/Tailoring.lua b/Database/Tailoring.lua
index 6309e6d..484fb4a 100644
--- a/Database/Tailoring.lua
+++ b/Database/Tailoring.lua
@@ -41,11 +41,6 @@ local A		= private.acquire_types
 local REP	= private.rep_levels
 local FAC	= private.faction_ids

-local FRIENDLY	= 1
-local HONORED	= 2
-local REVERED	= 3
-local EXALTED	= 4
-
 local initialized = false
 local num_recipes = 0