Quantcast

Update the oragami inscription drops with AddWorldDrop instead of AddCustom.

John Pasula [07-25-11 - 19:38]
Update the oragami inscription drops with AddWorldDrop instead of AddCustom.
Filename
Database/Recipes/Inscription.lua
Locales/devel-enUS.lua
diff --git a/Database/Recipes/Inscription.lua b/Database/Recipes/Inscription.lua
index 2e5ebe1..8b75cb1 100644
--- a/Database/Recipes/Inscription.lua
+++ b/Database/Recipes/Inscription.lua
@@ -3071,14 +3071,16 @@ function addon:InitInscription()
 	recipe:SetCraftedItemID(62239)
 	recipe:SetSkillLevels(480, 480, 480, 480, 490)
 	recipe:AddFilters(F.ALLIANCE, F.HORDE, F.WORLD_DROP, F.IBOE, F.RBOP)
-	recipe:AddCustom("VASHJ'IR_RANDOM_INSC")
+	--recipe:AddCustom("VASHJ'IR_RANDOM_INSC")
+	recipe:AddWorldDrop("Vashj'ir")

 	-- Origami Rock -- 86645
 	recipe = AddRecipe(86645, V.CATA, Q.COMMON)
 	recipe:SetCraftedItemID(62238)
 	recipe:SetSkillLevels(490, 490, 490, 490, 500)
 	recipe:AddFilters(F.ALLIANCE, F.HORDE, F.WORLD_DROP, F.IBOE, F.RBOP)
-	recipe:AddCustom("DEEPHOLM_RANDOM_INSC")
+	recipe:AddWorldDrop("Deepholm")
+	--recipe:AddCustom("DEEPHOLM_RANDOM_INSC")

 	-- Origami Beetle -- 86646
 	recipe = AddRecipe(86646, V.CATA, Q.COMMON)
@@ -3086,7 +3088,8 @@ function addon:InitInscription()
 	recipe:SetCraftedItemID(63246)
 	recipe:SetSkillLevels(500, 500, 500, 500, 510)
 	recipe:AddFilters(F.ALLIANCE, F.HORDE, F.WORLD_DROP, F.IBOE, F.RBOP)
-	recipe:AddCustom("ULDUM_RANDOM_INSC")
+	recipe:AddWorldDrop("Uldum")
+	--recipe:AddCustom("ULDUM_RANDOM_INSC")

 	-- Etched Horn -- 86647
 	recipe = AddRecipe(86647, V.CATA, Q.COMMON)
diff --git a/Locales/devel-enUS.lua b/Locales/devel-enUS.lua
index 08bf14d..89c9b53 100644
--- a/Locales/devel-enUS.lua
+++ b/Locales/devel-enUS.lua
@@ -300,7 +300,6 @@ Vendor ID: %s]]
 L["DATAMINER_VENDOR_NOTTARGETTED"] = "You must target the vendor when you run this command."
 L["DATAMINE_OPTIONS_DESC"] = "Allows you to customize in-game ARL datamining."
 L["DATAMINE_WARNING_DESC"] = "Please note that enabling Auto Load Recipe Database will increase the amount of memory used by ARL.  Enabling Auto Scan Trainers may cause a slight bit of lag when the trainer is opened.  This will be more noticeable on the first scan of a trainer."
-L["DEEPHOLM_RANDOM_INSC"] = "This recipe drops from mobs in Deepholm."
 L["DEFAULT_RECIPE"] = "Learned by default when learning the profession."
 L["DISCOVERY_ALCH_ELIXIRFLASK"] = "Discovered by making elixirs or flasks using Burning Crusade or higher ingredients."
 L["DISCOVERY_ALCH_NORTHREND_RESEARCH"] = "Obtained randomly by conducting Northrend alchemy research."
@@ -1212,7 +1211,6 @@ L["Twilight Fire Guard"] = "Twilight Fire Guard"
 L["Two Hand"] = "Two Hand"
 L["UI_SCALE_DESC"] = "Changes the scale of the UI. Ranges from .5 to 1.5 (1 is default)"
 L["ULDUAR_RANDOM"] = "Random drop off of Ulduar bosses."
-L["ULDUM_RANDOM_INSC"] = "This recipe drops from mobs in Uldum."
 L["UNIT_MAX_TOOLTIPS_DESC"] = "Maximum number of recipes to show in tooltips."
 L["UNIT_TOOLTIPS_DESC"] = "Toggles whether or not to display unknown recipes in the tooltips of the vendors, trainers, or mobs which carry them."
 L["UNKNOWN_DESC"] = "Include all unknown recipes in the scan."
@@ -1228,7 +1226,6 @@ L["UnknownTradeSkill"] = "You have opened up a trade skill window which is not s
 L["Uriku"] = "Uriku"
 L["Using Filters"] = "Using Filters"
 L["Uthok"] = "Uthok"
-L["VASHJ'IR_RANDOM_INSC"] = "This recipe drops from mobs in Vashj'ir."
 L["VENDOR_DESC"] = "Recipes purchased from vendors should be included in the scan."
 L["VERSION_TEXT_DESC"] = [[Left-click here to select all version filters.
 Right-click here to deselect all version filters.]]
@@ -1330,4 +1327,7 @@ Alliance - Kill the Excavation Raider mobs.  Southern Barrens.]]
 L["Excavation Raider"] = "Excavation Raider"
 L["Bael'dun Soldier"] = "Bael'dun Soldier"
 L["Bael'dun Rifleman"]= "Bael'dun Rifleman"
-L["Bael'dun Officer"] = "Bael'dun Officer"
\ No newline at end of file
+L["Bael'dun Officer"] = "Bael'dun Officer"
+--L["VASHJ'IR_RANDOM_INSC"] = "This recipe drops from mobs in Vashj'ir."
+--L["DEEPHOLM_RANDOM_INSC"] = "This recipe drops from mobs in Deepholm."
+--L["ULDUM_RANDOM_INSC"] = "This recipe drops from mobs in Uldum."
\ No newline at end of file