From a5b54163d456ca939f69059e980da8e49040c228 Mon Sep 17 00:00:00 2001 From: totalllyswede Date: Fri, 21 Nov 2025 00:21:47 -0800 Subject: [PATCH] Add files via upload --- MiniMage_TWOW.lua | 74 +++++++++++++++++++++++++++-------------------- localization.lua | 25 +++++++++------- 2 files changed, 57 insertions(+), 42 deletions(-) diff --git a/MiniMage_TWOW.lua b/MiniMage_TWOW.lua index 59bd6c1..79c7df9 100644 --- a/MiniMage_TWOW.lua +++ b/MiniMage_TWOW.lua @@ -131,23 +131,23 @@ function MM_DropDown_ForTheHorde() UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_HORDE0; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_HORDE0); end; + info.text = MINIMAGE_LABEL_ORG; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_ORG); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_HORDE1; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_HORDE1); end; + info.text = MINIMAGE_LABEL_STONARD; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_STONARD); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_HORDE3; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_HORDE3); end; + info.text = MINIMAGE_LABEL_TB; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_TB); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_HORDE2; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_HORDE2); end; + info.text = MINIMAGE_LABEL_UC; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_UC); end; UIDropDownMenu_AddButton(info); info = { }; @@ -157,23 +157,23 @@ function MM_DropDown_ForTheHorde() UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_HORDE0; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_HORDE0); end; + info.text = MINIMAGE_LABEL_ORG; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_ORG); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_HORDE1; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_HORDE1); end; + info.text = MINIMAGE_LABEL_STONARD; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_STONARD); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_HORDE3; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_HORDE3); end; + info.text = MINIMAGE_LABEL_TB; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_TB); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_HORDE2; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_HORDE2); end; + info.text = MINIMAGE_LABEL_UC; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_UC); end; UIDropDownMenu_AddButton(info); end @@ -187,23 +187,28 @@ function MM_DropDown_ForTheAlliance() UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_ALLIANCE3; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_ALLIANCE3); end; + info.text = MINIMAGE_LABEL_ALAH; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_ALAH); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_ALLIANCE0; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_ALLIANCE0); end; + info.text = MINIMAGE_LABEL_DARNASSUS; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_DARNASSUS); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_ALLIANCE1; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_ALLIANCE1); end; + info.text = MINIMAGE_LABEL_IF; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_IF); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_ALLIANCE2; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_ALLIANCE2); end; + info.text = MINIMAGE_LABEL_SW; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_SW); end; + UIDropDownMenu_AddButton(info); + + info = { }; + info.text = MINIMAGE_LABEL_THERAMORE; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_PORTAL..appender..MINIMAGE_LABEL_THERAMORE); end; UIDropDownMenu_AddButton(info); info = { }; @@ -213,22 +218,27 @@ function MM_DropDown_ForTheAlliance() UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_ALLIANCE3; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_ALLIANCE3); end; + info.text = MINIMAGE_LABEL_ALAH; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_ALAH); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_ALLIANCE0; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_ALLIANCE0); end; + info.text = MINIMAGE_LABEL_DARNASSUS; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_DARNASSUS); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_ALLIANCE1; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_ALLIANCE1); end; + info.text = MINIMAGE_LABEL_IF; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_IF); end; UIDropDownMenu_AddButton(info); info = { }; - info.text = MINIMAGE_LABEL_ALLIANCE2; - info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_ALLIANCE2); end; + info.text = MINIMAGE_LABEL_SW; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_SW); end; + UIDropDownMenu_AddButton(info); + + info = { }; + info.text = MINIMAGE_LABEL_THERAMORE; + info.func = function(msg) CastSpellByName(MINIMAGE_LABEL_TELEPORT..appender..MINIMAGE_LABEL_THERAMORE); end; UIDropDownMenu_AddButton(info); end \ No newline at end of file diff --git a/localization.lua b/localization.lua index 8481eed..736db05 100644 --- a/localization.lua +++ b/localization.lua @@ -18,20 +18,25 @@ MINIMAGE_ANNOUNCE_DISABLED = ". MiniMage_TWOW AddOn Disabled."; MINIMAGE_ANNOUNCE_ENABLED = ". MiniMage_TWOW AddOn Enabled."; MINIMAGE_ANNOUNCE_GREETING = "Greetings, "; -MINIMAGE_BUTTON_TOOLTIP0 = "MiniMage_TWOW"; -MINIMAGE_BUTTON_TOOLTIP1 = "Left-click to open MiniMage_TWOW Cast Menu."; +MINIMAGE_BUTTON_TOOLTIP0 = "MiniMage"; +MINIMAGE_BUTTON_TOOLTIP1 = "Left-click to open MiniMage Cast Menu."; MINIMAGE_BUTTON_TOOLTIP2 = "Right-click and drag to move this button."; MINIMAGE_LABEL_TITLE = "Select Destination"; MINIMAGE_LABEL_PORTAL = "Portal"; MINIMAGE_LABEL_TELEPORT = "Teleport"; -MINIMAGE_LABEL_ALLIANCE0 = "Darnassus"; -MINIMAGE_LABEL_ALLIANCE1 = "Ironforge"; -MINIMAGE_LABEL_ALLIANCE2 = "Stormwind"; -MINIMAGE_LABEL_ALLIANCE3 = "Alah'Thalas"; +MINIMAGE_LABEL_DARNASSUS = "Darnassus"; +MINIMAGE_LABEL_IF = "Ironforge"; +MINIMAGE_LABEL_SW = "Stormwind"; +MINIMAGE_LABEL_ALAH = "Alah'Thalas"; +MINIMAGE_LABEL_THERAMORE = "Theramore"; + +MINIMAGE_LABEL_ORG = "Orgrimmar"; +MINIMAGE_LABEL_TB = "Thunder Bluff"; +MINIMAGE_LABEL_UC = "Undercity"; +MINIMAGE_LABEL_STONARD = "Stonard"; + + + -MINIMAGE_LABEL_HORDE0 = "Orgrimmar"; -MINIMAGE_LABEL_HORDE1 = "Thunder Bluff"; -MINIMAGE_LABEL_HORDE2 = "Undercity"; -MINIMAGE_LABEL_HORDE3 = "Stonard"