Mercurial > wow > askmrrobot
comparison config.lua @ 11:ece9167c0d1c v1.2.14.0
Localization support, combat log features (wipe command, aura/pet tracking, and realm detection).
| author | yellowfive |
|---|---|
| date | Thu, 10 Jul 2014 12:24:59 -0700 |
| parents | ec731d2fe6ba |
| children | e77e01abce98 |
comparison
equal
deleted
inserted
replaced
| 10:ef8b45e96b08 | 11:ece9167c0d1c |
|---|---|
| 38 subtitle:SetPoint("TOPLEFT", subTitleWrapper) | 38 subtitle:SetPoint("TOPLEFT", subTitleWrapper) |
| 39 subtitle:SetWidth(subTitleWrapper:GetRight() - subTitleWrapper:GetLeft()) | 39 subtitle:SetWidth(subTitleWrapper:GetRight() - subTitleWrapper:GetLeft()) |
| 40 subtitle:SetJustifyH("LEFT") | 40 subtitle:SetJustifyH("LEFT") |
| 41 subtitle:SetNonSpaceWrap(false) | 41 subtitle:SetNonSpaceWrap(false) |
| 42 subtitle:SetJustifyV("TOP") | 42 subtitle:SetJustifyV("TOP") |
| 43 subtitle:SetText("Mr. Robot's addon can export your item information to his website, and import your optimizations into the game.") | 43 subtitle:SetText(L.AMR_CONFIG_EXIMPORT) |
| 44 subTitleWrapper:SetHeight(subtitle:GetHeight()) | 44 subTitleWrapper:SetHeight(subtitle:GetHeight()) |
| 45 | 45 |
| 46 local autoPopup = newCheckbox( | 46 local autoPopup = newCheckbox( |
| 47 "Show minimap icon", | 47 L.AMR_CONFIG_CHECKBOX_MINIMAP_LABEL, |
| 48 "Minimap Icon", | 48 L.AMR_CONFIG_CHECKBOX_MINIMAP_TOOLTIP_TITLE, |
| 49 "Show the Ask Mr. Robot minimap icon.", | 49 L.AMR_CONFIG_CHECKBOX_MINIMAP_DESCRIPTION, |
| 50 function(self, value) | 50 function(self, value) |
| 51 if AmrOptions.hideMapIcon then | 51 if AmrOptions.hideMapIcon then |
| 52 AmrOptions.hideMapIcon = false | 52 AmrOptions.hideMapIcon = false |
| 53 else | 53 else |
| 54 AmrOptions.hideMapIcon = true | 54 AmrOptions.hideMapIcon = true |
| 58 ) | 58 ) |
| 59 autoPopup:SetChecked(not AmrOptions.hideMapIcon) | 59 autoPopup:SetChecked(not AmrOptions.hideMapIcon) |
| 60 autoPopup:SetPoint("TOPLEFT", subTitleWrapper, "BOTTOMLEFT", -2, -16) | 60 autoPopup:SetPoint("TOPLEFT", subTitleWrapper, "BOTTOMLEFT", -2, -16) |
| 61 | 61 |
| 62 local autoReforge = newCheckbox( | 62 local autoReforge = newCheckbox( |
| 63 "Automatically show Mr. Robot's reforge window at the reforger", | 63 L.AMR_CONFIG_CHECKBOX_AUTOREFORGE_LABEL, |
| 64 "Auto-Show Reforges", | 64 L.AMR_CONFIG_CHECKBOX_AUTOREFORGE_TOOLTIP_TITLE, |
| 65 "When you have suggested reforges left to complete, automatically show Mr. Robot's reforge window when you visit a reforger.", | 65 L.AMR_CONFIG_CHECKBOX_AUTOREFORGE_DESCRIPTION, |
| 66 function(self, value) | 66 function(self, value) |
| 67 if AmrOptions.manualShowReforge then | 67 if AmrOptions.manualShowReforge then |
| 68 AmrOptions.manualShowReforge = false | 68 AmrOptions.manualShowReforge = false |
| 69 else | 69 else |
| 70 AmrOptions.manualShowReforge = true | 70 AmrOptions.manualShowReforge = true |
| 73 ) | 73 ) |
| 74 autoReforge:SetChecked(not AmrOptions.manualShowReforge) | 74 autoReforge:SetChecked(not AmrOptions.manualShowReforge) |
| 75 autoReforge:SetPoint("TOPLEFT", subTitleWrapper, "BOTTOMLEFT", -2, -52) | 75 autoReforge:SetPoint("TOPLEFT", subTitleWrapper, "BOTTOMLEFT", -2, -52) |
| 76 | 76 |
| 77 local autoAh = newCheckbox( | 77 local autoAh = newCheckbox( |
| 78 "Automatically show Mr. Robot's shopping list at the auction house", | 78 L.AMR_CONFIG_CHECKBOX_AUTOAH_LABEL, |
| 79 "Auto-Show Shopping List", | 79 L.AMR_CONFIG_CHECKBOX_AUTOAH_TOOLTIP_TITLE, |
| 80 "When your shopping list still has things left to buy, automatically show Mr. Robot's shopping list when you visit the auction house.", | 80 L.AMR_CONFIG_CHECKBOX_AUTOAH_DESCRIPTION, |
| 81 function(self, value) | 81 function(self, value) |
| 82 if AmrOptions.manualShowShop then | 82 if AmrOptions.manualShowShop then |
| 83 AmrOptions.manualShowShop = false | 83 AmrOptions.manualShowShop = false |
| 84 else | 84 else |
| 85 AmrOptions.manualShowShop = true | 85 AmrOptions.manualShowShop = true |
| 91 | 91 |
| 92 --[[ | 92 --[[ |
| 93 AmrOptions.autoLog = AmrOptions.autoLog or {} | 93 AmrOptions.autoLog = AmrOptions.autoLog or {} |
| 94 | 94 |
| 95 local autoCombatLog = newCheckbox( | 95 local autoCombatLog = newCheckbox( |
| 96 "Automatically turn on combat logging for Siege of Orgrimmar", | 96 L.AMR_CONFIG_CHECKBOX_AUTOLOG_LABEL, |
| 97 "Automatically Log Siege of Orgrimmar", | 97 L.AMR_CONFIG_CHECKBOX_AUTOLOG_TOOLTIP_TITLE, |
| 98 "When entering Siege of Orgrimmar, combat logging will be turned on. When leaving Siege of Orgrimmar, combat logging will be turned off.", | 98 L.AMR_CONFIG_CHECKBOX_AUTOLOG_DESCRIPTION, |
| 99 function(self, value) | 99 function(self, value) |
| 100 if AmrOptions.autoLog[1136] then | 100 if AmrOptions.autoLog[1136] then |
| 101 AmrOptions.autoLog[1136] = false | 101 AmrOptions.autoLog[1136] = false |
| 102 else | 102 else |
| 103 AmrOptions.autoLog[1136] = true | 103 AmrOptions.autoLog[1136] = true |
