update survival
This commit is contained in:
+2
-2
@@ -270,8 +270,8 @@ AtlasLoot_HewdropDown = {
|
||||
{ { AL["Tailoring"], "TAILORINGMENU", "Table" }, },
|
||||
{ { AL["Cooking"], "CookingApprentice1", "Table" }, },
|
||||
{ { AL["First Aid"], "FirstAid1", "Table" }, },
|
||||
{ { AL["Survival"], "Survival1", "Table" }, },
|
||||
{ { AL["Gardening"], "Survival2", "Table" }, },
|
||||
{ { AL["Survival"], "SurvivalApprentice1", "Table" }, },
|
||||
{ { AL["Gardening"], "Gardening1", "Table" }, },
|
||||
{ { AL["Poisons"], "Poisons1", "Table" }, },
|
||||
{ { AL["Crafted Sets"], "CRAFTSET", "Table" },},
|
||||
{ { AL["Crafted Epic Weapons"], "CraftedWeapons1", "Table" }, },
|
||||
|
||||
+1
-1
@@ -457,7 +457,7 @@
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<FontString name="$parent_Quantity" font="Fonts\ARIALN.TTF" outline="NORMAL" justifyH="RIGHT">
|
||||
<Size x="25" y="14"/>
|
||||
<Size x="30" y="14"/>
|
||||
<FontHeight val="12"/>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMRIGHT" relativeTo="$parent_Icon" relativePoint="BOTTOMRIGHT">
|
||||
|
||||
+22
-4
@@ -5039,13 +5039,31 @@ AtlasLoot_ButtonRegistry = {
|
||||
};
|
||||
|
||||
-- Survival
|
||||
["Survival1"] = {
|
||||
Title = AL["Survival"];
|
||||
Back_Page = "CRAFTINGMENU";
|
||||
["SurvivalApprentice1"] = {
|
||||
Title = AL["Survival"] .. ": " .. AL["Apprentice"],
|
||||
Next_Page = "SurvivalJourneyman1",
|
||||
Back_Page = "CRAFTINGMENU",
|
||||
};
|
||||
["SurvivalJourneyman1"] = {
|
||||
Title = AL["Survival"] .. ": " .. AL["Journeyman"],
|
||||
Prev_Page = "SurvivalApprentice1";
|
||||
Next_Page = "SurvivalExpert1",
|
||||
Back_Page = "CRAFTINGMENU",
|
||||
};
|
||||
["SurvivalExpert1"] = {
|
||||
Title = AL["Survival"] .. ": " .. AL["Expert"],
|
||||
Prev_Page = "SurvivalJourneyman1";
|
||||
Next_Page = "SurvivalArtisan1",
|
||||
Back_Page = "CRAFTINGMENU",
|
||||
};
|
||||
["SurvivalArtisan1"] = {
|
||||
Title = AL["Survival"] .. ": " .. AL["Artisan"],
|
||||
Prev_Page = "SurvivalExpert1";
|
||||
Back_Page = "CRAFTINGMENU",
|
||||
};
|
||||
|
||||
-- Gardening
|
||||
["Survival2"] = {
|
||||
["Gardening1"] = {
|
||||
Title = AL["Gardening"];
|
||||
Back_Page = "CRAFTINGMENU";
|
||||
};
|
||||
|
||||
+34
-97
@@ -1,5 +1,8 @@
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
|
||||
local _G = getfenv(0)
|
||||
local buttonsPerPage = 30
|
||||
local ButtonsInfo1
|
||||
local ButtonsInfo2
|
||||
local RED = "|cffff0000";
|
||||
local ORANGE = "|cffFF8400";
|
||||
local WHITE = "|cffFFFFFF";
|
||||
@@ -8,102 +11,36 @@ function AtlasLoot_CraftingMenu()
|
||||
AtlasLoot_PrepMenu(nil, AL["Crafting"])
|
||||
AtlasLootCharDB.LastBoss = "CRAFTINGMENU"
|
||||
AtlasLootCharDB.LastBossText = AL["Crafting"]
|
||||
--Alchemy
|
||||
AtlasLootMenuItem_1_Name:SetText(AL["Alchemy"]);
|
||||
AtlasLootMenuItem_1_Extra:SetText("");
|
||||
AtlasLootMenuItem_1_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy");
|
||||
AtlasLootMenuItem_1.lootpage="ALCHEMYMENU";
|
||||
AtlasLootMenuItem_1:Show();
|
||||
--Enchanting
|
||||
AtlasLootMenuItem_2_Name:SetText(AL["Enchanting"]);
|
||||
AtlasLootMenuItem_2_Extra:SetText("");
|
||||
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
|
||||
AtlasLootMenuItem_2.lootpage="ENCHANTINGMENU";
|
||||
AtlasLootMenuItem_2:Show();
|
||||
--Engineering
|
||||
AtlasLootMenuItem_3_Name:SetText(AL["Engineering"]);
|
||||
AtlasLootMenuItem_3_Extra:SetText("");
|
||||
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Trade_Engineering");
|
||||
AtlasLootMenuItem_3.lootpage="ENGINEERINGMENU";
|
||||
AtlasLootMenuItem_3:Show();
|
||||
--Leatherworking
|
||||
AtlasLootMenuItem_4_Name:SetText(AL["Leatherworking"]);
|
||||
AtlasLootMenuItem_4_Extra:SetText("");
|
||||
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17");
|
||||
AtlasLootMenuItem_4.lootpage="LEATHERWORKINGMENU";
|
||||
AtlasLootMenuItem_4:Show();
|
||||
--Blacksmithing
|
||||
AtlasLootMenuItem_5_Name:SetText(AL["Blacksmithing"]);
|
||||
AtlasLootMenuItem_5_Extra:SetText("");
|
||||
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing");
|
||||
AtlasLootMenuItem_5.lootpage="SMITHINGMENU";
|
||||
AtlasLootMenuItem_5:Show();
|
||||
--Tailoring
|
||||
AtlasLootMenuItem_6_Name:SetText(AL["Tailoring"]);
|
||||
AtlasLootMenuItem_6_Extra:SetText("");
|
||||
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring");
|
||||
AtlasLootMenuItem_6.lootpage="TAILORINGMENU";
|
||||
AtlasLootMenuItem_6:Show();
|
||||
--Jewelcrafting
|
||||
AtlasLootMenuItem_7_Name:SetText(AL["Jewelcrafting"]);
|
||||
AtlasLootMenuItem_7_Extra:SetText("");
|
||||
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01");
|
||||
AtlasLootMenuItem_7.lootpage="JEWELCRAFTMENU";
|
||||
AtlasLootMenuItem_7:Show();
|
||||
--Herbalism
|
||||
AtlasLootMenuItem_8_Name:SetText(AL["Herbalism"]);
|
||||
AtlasLootMenuItem_8_Extra:SetText("");
|
||||
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Trade_Herbalism");
|
||||
AtlasLootMenuItem_8.lootpage="Herbalism1";
|
||||
AtlasLootMenuItem_8:Show();
|
||||
--Mining
|
||||
AtlasLootMenuItem_9_Name:SetText(AL["Mining"]);
|
||||
AtlasLootMenuItem_9_Extra:SetText("");
|
||||
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Trade_Mining");
|
||||
AtlasLootMenuItem_9.lootpage="Mining1";
|
||||
AtlasLootMenuItem_9:Show();
|
||||
--Cooking
|
||||
AtlasLootMenuItem_11_Name:SetText(AL["Cooking"]);
|
||||
AtlasLootMenuItem_11_Extra:SetText("");
|
||||
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\INV_Misc_Food_15");
|
||||
AtlasLootMenuItem_11.lootpage="CookingApprentice1";
|
||||
AtlasLootMenuItem_11:Show();
|
||||
--First Aid
|
||||
AtlasLootMenuItem_12_Name:SetText(AL["First Aid"]);
|
||||
AtlasLootMenuItem_12_Extra:SetText("");
|
||||
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Spell_Holy_SealOfSacrifice");
|
||||
AtlasLootMenuItem_12.lootpage="FirstAid1";
|
||||
AtlasLootMenuItem_12:Show();
|
||||
--Survival
|
||||
AtlasLootMenuItem_13_Name:SetText(AL["Survival"]);
|
||||
AtlasLootMenuItem_13_Extra:SetText("");
|
||||
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Trade_Survival");
|
||||
AtlasLootMenuItem_13.lootpage="Survival1";
|
||||
AtlasLootMenuItem_13:Show();
|
||||
--Gardening
|
||||
AtlasLootMenuItem_14_Name:SetText(AL["Gardening"]);
|
||||
AtlasLootMenuItem_14_Extra:SetText("");
|
||||
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\Trade_Herbalism");
|
||||
AtlasLootMenuItem_14.lootpage="Survival2";
|
||||
AtlasLootMenuItem_14:Show();
|
||||
--Poisons
|
||||
AtlasLootMenuItem_15_Name:SetText(AL["Poisons"]);
|
||||
AtlasLootMenuItem_15_Extra:SetText("|cfffff468"..AL["Rogue"]);
|
||||
AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\Trade_BrewPoison");
|
||||
AtlasLootMenuItem_15.lootpage="Poisons1";
|
||||
AtlasLootMenuItem_15:Show();
|
||||
--Crafted Armor Sets
|
||||
AtlasLootMenuItem_16_Name:SetText(AL["Crafted Sets"]);
|
||||
AtlasLootMenuItem_16_Extra:SetText("");
|
||||
AtlasLootMenuItem_16_Icon:SetTexture("Interface\\Icons\\INV_Pants_Wolf");
|
||||
AtlasLootMenuItem_16.lootpage="CRAFTSET";
|
||||
AtlasLootMenuItem_16:Show();
|
||||
--Crafted Epic Weapons
|
||||
AtlasLootMenuItem_18_Name:SetText(AL["Crafted Epic Weapons"]);
|
||||
AtlasLootMenuItem_18_Extra:SetText("");
|
||||
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Hammer_Unique_Sulfuras");
|
||||
AtlasLootMenuItem_18.lootpage="CraftedWeapons1";
|
||||
AtlasLootMenuItem_18:Show();
|
||||
if not ButtonsInfo1 then
|
||||
ButtonsInfo1 = {
|
||||
{ name = AL["Alchemy"], lootpage = "ALCHEMYMENU", icon = "Interface\\Icons\\Trade_Alchemy" },
|
||||
{ name = AL["Enchanting"], lootpage = "ENCHANTINGMENU", icon = "Interface\\Icons\\Trade_Engraving" },
|
||||
{ name = AL["Engineering"], lootpage = "ENGINEERINGMENU", icon = "Interface\\Icons\\Trade_Engineering" },
|
||||
{ name = AL["Leatherworking"], lootpage = "LEATHERWORKINGMENU", icon = "Interface\\Icons\\INV_Misc_ArmorKit_17" },
|
||||
{ name = AL["Blacksmithing"], lootpage = "SMITHINGMENU", icon = "Interface\\Icons\\Trade_BlackSmithing" },
|
||||
{ name = AL["Tailoring"], lootpage = "TAILORINGMENU", icon = "Interface\\Icons\\Trade_Tailoring" },
|
||||
{ name = AL["Jewelcrafting"], lootpage = "JEWELCRAFTMENU", icon = "Interface\\Icons\\INV_Jewelry_Necklace_01" },
|
||||
{ name = AL["Herbalism"], lootpage = "Herbalism1", icon = "Interface\\Icons\\Trade_Herbalism" },
|
||||
{ name = AL["Mining"], lootpage = "Mining1", icon = "Interface\\Icons\\Trade_Mining" },
|
||||
{ },
|
||||
{ name = AL["Cooking"], lootpage = "CookingApprentice1", icon = "Interface\\Icons\\INV_Misc_Food_15" },
|
||||
{ name = AL["First Aid"], lootpage = "FirstAid1", icon = "Interface\\Icons\\Spell_Holy_SealOfSacrifice" },
|
||||
{ name = AL["Survival"], lootpage = "SurvivalApprentice1", icon = "Interface\\Icons\\Trade_Survival" },
|
||||
{ name = AL["Gardening"], lootpage = "Gardening1", icon = "Interface\\Icons\\Trade_Herbalism" },
|
||||
{ name = AL["Poisons"], lootpage = "Poisons1", icon = "Interface\\Icons\\Trade_BrewPoison" },
|
||||
{ name = AL["Crafted Sets"], lootpage = "CRAFTSET", icon = "Interface\\Icons\\INV_Pants_Wolf" },
|
||||
{ name = AL["Crafted Epic Weapons"], lootpage = "CraftedWeapons1", icon = "Interface\\Icons\\INV_Hammer_Unique_Sulfuras" },
|
||||
}
|
||||
end
|
||||
for i = 1, min(buttonsPerPage, getn(ButtonsInfo1)) do
|
||||
if ButtonsInfo1[i].name then
|
||||
_G["AtlasLootMenuItem_"..i.."_Name"]:SetText(ButtonsInfo1[i].name)
|
||||
_G["AtlasLootMenuItem_"..i.."_Extra"]:SetText(ButtonsInfo1[i].extra)
|
||||
_G["AtlasLootMenuItem_"..i.."_Icon"]:SetTexture(ButtonsInfo1[i].icon)
|
||||
_G["AtlasLootMenuItem_"..i].lootpage = ButtonsInfo1[i].lootpage
|
||||
_G["AtlasLootMenuItem_"..i]:Show()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function AtlasLootCraftedSetMenu()
|
||||
|
||||
+14
-14
@@ -11,20 +11,20 @@ function AtlasLootRepMenu()
|
||||
AtlasLootCharDB.LastBossText = AL["Factions"]
|
||||
if not ButtonsInfo1 then
|
||||
ButtonsInfo1 = {
|
||||
{ name = AL["Argent Dawn"], extra = "", lootpage = "Argent1", icon = "Interface\\Icons\\INV_Jewelry_Talisman_08" },
|
||||
{ name = AL["Brood of Nozdormu"], extra = "", lootpage = "AQBroodRings", icon = "Interface\\Icons\\INV_Jewelry_Ring_40" },
|
||||
{ name = AL["Darkmoon Faire"], extra = "", lootpage = "Darkmoon", icon = "Interface\\Icons\\INV_Misc_Ticket_Tarot_Maelstrom_01" },
|
||||
{ name = AL["Hydraxian Waterlords"], extra = "", lootpage = "WaterLords1", icon = "Interface\\Icons\\Spell_Frost_SummonWaterElemental_2" },
|
||||
{ name = AL["Thorium Brotherhood"], extra = "", lootpage = "Thorium1", icon = "Interface\\Icons\\INV_Ingot_Mithril" },
|
||||
{ name = AL["Cenarion Circle"], extra = "", lootpage = "Cenarion1", icon = "Interface\\Icons\\Spell_Nature_HealingTouch" },
|
||||
{ name = AL["Shen'dralar"], extra = "", lootpage = "Shendralar", icon = "Interface\\Icons\\INV_Misc_Book_04" },
|
||||
{ name = AL["Draenei Exiles"], extra = "", lootpage = "DraeneiExiles", icon = "Interface\\Icons\\INV_Enchant_ShardGlowingLarge" },
|
||||
{ name = AL["Bloodsail Buccaneers"], extra = "", lootpage = "Bloodsail1", icon = "Interface\\Icons\\INV_Helmet_66" },
|
||||
{ name = AL["Zandalar Tribe"], extra = "", lootpage = "Zandalar1", icon = "Interface\\Icons\\INV_Misc_Coin_08" },
|
||||
{ name = AL["Timbermaw Hold"], extra = "", lootpage = "Timbermaw", icon = "Interface\\Icons\\INV_Misc_Horn_01" },
|
||||
{ name = AL["Wardens of Time"], extra = "", lootpage = "Wardens1", icon = "Interface\\Icons\\INV_Misc_Head_Dragon_Bronze" },
|
||||
{ name = AL["Gelkis Clan Centaur"], extra = "", lootpage = "GelkisClan1", icon = "Interface\\Icons\\INV_Misc_Head_Centaur_01" },
|
||||
{ name = AL["Magram Clan Centaur"], extra = "", lootpage = "MagramClan1", icon = "Interface\\Icons\\INV_Misc_Head_Centaur_01" },
|
||||
{ name = AL["Argent Dawn"], lootpage = "Argent1", icon = "Interface\\Icons\\INV_Jewelry_Talisman_08" },
|
||||
{ name = AL["Brood of Nozdormu"], lootpage = "AQBroodRings", icon = "Interface\\Icons\\INV_Jewelry_Ring_40" },
|
||||
{ name = AL["Darkmoon Faire"], lootpage = "Darkmoon", icon = "Interface\\Icons\\INV_Misc_Ticket_Tarot_Maelstrom_01" },
|
||||
{ name = AL["Hydraxian Waterlords"], lootpage = "WaterLords1", icon = "Interface\\Icons\\Spell_Frost_SummonWaterElemental_2" },
|
||||
{ name = AL["Thorium Brotherhood"], lootpage = "Thorium1", icon = "Interface\\Icons\\INV_Ingot_Mithril" },
|
||||
{ name = AL["Cenarion Circle"], lootpage = "Cenarion1", icon = "Interface\\Icons\\Spell_Nature_HealingTouch" },
|
||||
{ name = AL["Shen'dralar"], lootpage = "Shendralar", icon = "Interface\\Icons\\INV_Misc_Book_04" },
|
||||
{ name = AL["Draenei Exiles"], lootpage = "DraeneiExiles", icon = "Interface\\Icons\\INV_Enchant_ShardGlowingLarge" },
|
||||
{ name = AL["Bloodsail Buccaneers"], lootpage = "Bloodsail1", icon = "Interface\\Icons\\INV_Helmet_66" },
|
||||
{ name = AL["Zandalar Tribe"], lootpage = "Zandalar1", icon = "Interface\\Icons\\INV_Misc_Coin_08" },
|
||||
{ name = AL["Timbermaw Hold"], lootpage = "Timbermaw", icon = "Interface\\Icons\\INV_Misc_Horn_01" },
|
||||
{ name = AL["Wardens of Time"], lootpage = "Wardens1", icon = "Interface\\Icons\\INV_Misc_Head_Dragon_Bronze" },
|
||||
{ name = AL["Gelkis Clan Centaur"], lootpage = "GelkisClan1", icon = "Interface\\Icons\\INV_Misc_Head_Centaur_01" },
|
||||
{ name = AL["Magram Clan Centaur"], lootpage = "MagramClan1", icon = "Interface\\Icons\\INV_Misc_Head_Centaur_01" },
|
||||
{},
|
||||
{ name = AL["Stormwind"], extra = BLUE..AL["Alliance"], lootpage = "Stormwind", icon = "Interface\\Icons\\race_human"--[[INV_BannerPVP_02]] },
|
||||
{ name = AL["Ironforge"], extra = BLUE..AL["Alliance"], lootpage = "Ironforge", icon = "Interface\\Icons\\race_dwarf"--[[Ability_Racial_Avatar]] },
|
||||
|
||||
+1053
-107
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user