comparison Modules/Config.lua @ 131:a27948591159

Fixed premade group updating. Autorefill options now indicate storage rather than (guild) bank (as this now includes the mailbox too).
author Zerotorescue
date Tue, 18 Jan 2011 00:28:24 +0100
parents d3fbb5676a5e
children cd461a41723c
comparison
equal deleted inserted replaced
130:9027cf1810f4 131:a27948591159
526 arg = "autoRefill", 526 arg = "autoRefill",
527 }, 527 },
528 autoRefill = { 528 autoRefill = {
529 order = 18, 529 order = 18,
530 type = "toggle", 530 type = "toggle",
531 name = "Auto refill from (guild) bank", 531 name = "Auto refill from storage",
532 desc = "Automatically refill items from the bank (unless this is included in the local count) or guild bank when below the minimum local stock.", 532 desc = "Automatically refill items from your storage (bank/mailbox - unless this is included in the local count - or the guild bank) when below the minimum local stock.",
533 arg = "overrideAutoRefill", 533 arg = "overrideAutoRefill",
534 }, 534 },
535 535
536 overrideMinGlobalStock = { 536 overrideMinGlobalStock = {
537 order = 20, 537 order = 20,
1500 set = function(i, v) addon.db.profile.defaults.alertBelowLocalMinimum = v; end, 1500 set = function(i, v) addon.db.profile.defaults.alertBelowLocalMinimum = v; end,
1501 }, 1501 },
1502 autoRefill = { 1502 autoRefill = {
1503 order = 12, 1503 order = 12,
1504 type = "toggle", 1504 type = "toggle",
1505 name = "Auto refill from (guild) bank", 1505 name = "Auto refill from storage",
1506 desc = "Automatically refill items from the bank (unless this is included in the local count) or guild bank when below the minimum local stock.", 1506 desc = "Automatically refill items from your storage (bank/mailbox - unless this is included in the local count - or the guild bank) when below the minimum local stock.",
1507 get = function() return addon.db.profile.defaults.autoRefill; end, 1507 get = function() return addon.db.profile.defaults.autoRefill; end,
1508 set = function(i, v) addon.db.profile.defaults.autoRefill = v; end, 1508 set = function(i, v) addon.db.profile.defaults.autoRefill = v; end,
1509 }, 1509 },
1510 minGlobalStock = { 1510 minGlobalStock = {
1511 order = 20, 1511 order = 20,
1678 }, 1678 },
1679 autoRefillSkipConfirm = { 1679 autoRefillSkipConfirm = {
1680 order = 20, 1680 order = 20,
1681 type = "toggle", 1681 type = "toggle",
1682 width = "full", 1682 width = "full",
1683 name = "Skip the confirmation window for (guild) bank refilling", 1683 name = "Skip the confirmation window for storage refilling",
1684 desc = "Automatically start moving items from the (guild) bank without showing the confirmation window.", 1684 desc = "Automatically start moving items from the storage (bank, guild bank or mailbox) without showing the confirmation window.",
1685 get = function() return addon.db.profile.defaults.autoRefillSkipConfirm; end, 1685 get = function() return addon.db.profile.defaults.autoRefillSkipConfirm; end,
1686 set = function(i, v) addon.db.profile.defaults.autoRefillSkipConfirm = v; end, 1686 set = function(i, v) addon.db.profile.defaults.autoRefillSkipConfirm = v; end,
1687 }, 1687 },
1688 removeCharacter = { 1688 removeCharacter = {
1689 order = 30, 1689 order = 30,
1926 description = { 1926 description = {
1927 order = 0, 1927 order = 0,
1928 type = "description", 1928 type = "description",
1929 name = "|cfffed000My groups don't appear in the summary window.|r\nPlease ensure your current character is toggled on at the \"track at\" option beneath the \"minimum stock\" category within a group or the defaults.\n\n" .. 1929 name = "|cfffed000My groups don't appear in the summary window.|r\nPlease ensure your current character is toggled on at the \"track at\" option beneath the \"minimum stock\" category within a group or the defaults.\n\n" ..
1930 "|cfffed000The auction value collumn always shows a \"-\".|r\nThe auction value will not be cached when you set the \"price threshold\" beneath the \"replenishing stock\" category to |cfffed0000c|r. You can change this behavior by adjusting this value or toggling the \"Always show auction value\" option on.\n\n" .. 1930 "|cfffed000The auction value collumn always shows a \"-\".|r\nThe auction value will not be cached when you set the \"price threshold\" beneath the \"replenishing stock\" category to |cfffed0000c|r. You can change this behavior by adjusting this value or toggling the \"Always show auction value\" option on.\n\n" ..
1931 "|cfffed000Some items appear in the \"unqueueable\" frame while I can find them in the profession.|r\nOld items from before Cataclysm (such as any old gems) may have been renamed and their crafting skill removed. This might have resulted in certain items having the same name as others but with different ids, for example for Smooth King's Amber (search that at Wowhead for more info). Remove both items with the same name and add the one in your profession window again and this should no longer occur.\n\n" ..
1931 "|cfffed000What relation does Inventorium have to ZeroAuctions or AuctionProfitMaster?|r\nNone. ZA/APM and IM are two completely seperate addons and do not interfere with eachother. At best you can use the auction pricing data displayed at the ZA/APM summary window as pricing source by selecting either addon as pricing addon, but neither IM nor ZA/APM will adjust any settings nor execute any other actions at one another. ZA/APM is an auction house addon. IM is a stock management addon. We are not related. We do not work together. We probably never will.\n\n" .. 1932 "|cfffed000What relation does Inventorium have to ZeroAuctions or AuctionProfitMaster?|r\nNone. ZA/APM and IM are two completely seperate addons and do not interfere with eachother. At best you can use the auction pricing data displayed at the ZA/APM summary window as pricing source by selecting either addon as pricing addon, but neither IM nor ZA/APM will adjust any settings nor execute any other actions at one another. ZA/APM is an auction house addon. IM is a stock management addon. We are not related. We do not work together. We probably never will.\n\n" ..
1932 "|cfffed000What use do profiles have?|r\nBecause there is already the \"track at\" option, profiles may not be useful to anyone. Nevertheless someone might find a use for it in some way and thus it is left available. You can use it to test certain things for example without the risk of your main groups being destroyed (although this should never be an excuse not to back up your settings from time to time).\n\n" .. 1933 "|cfffed000What use do profiles have?|r\nBecause there is already the \"track at\" option, profiles may not be useful to anyone. Nevertheless someone might find a use for it in some way and thus it is left available. You can use it to test certain things for example without the risk of your main groups being destroyed (although this should never be an excuse not to back up your settings from time to time).\n\n" ..
1933 "|cfffed000Can you provide me with a sample scenario for virtual groups?|r\nNot really. If you are just getting to know Inventorium then I suggest leaving this functionality for the moment. It only makes things more complicated.\n\nAnyway, the simplest (and possibly most popular) setup to imagine are glyphs. There are over 300 glyphs available distributed over 10 classes. Glyphs for certain classes (such as the tribrids; Druids & Paladins) might sell a lot more often than those for others (such as pure DPS; Hunters, etc.).\n\nTo get an easily adjustable setup you can make one virtual group, called \"Glyphs\" and override all your prefered settings in there. After you are done, make a glyph-group for each class (such as \"Glyphs (Death Knight)\" etc.) and select \"Glyphs\" as virtual group for every one of them (you can easily insert item data to these class specific groups by selecting premade data).\n\nNow, to change the settings for all glyph groups you can just change the settings within the virtual \"Glyph\" group. To change the settings for one class in particular, such as Paladins because they sell more often than others, you can click this group and override the appropriate settings for just that group. There are many more possibilities for you to find out.\n\n" .. 1934 "|cfffed000Can you provide me with a sample scenario for virtual groups?|r\nNot really. If you are just getting to know Inventorium then I suggest leaving this functionality for the moment. It only makes things more complicated.\n\nAnyway, the simplest (and possibly most popular) setup to imagine are glyphs. There are over 300 glyphs available distributed over 10 classes. Glyphs for certain classes (such as the tribrids; Druids & Paladins) might sell a lot more often than those for others (such as pure DPS; Hunters, etc.).\n\nTo get an easily adjustable setup you can make one virtual group, called \"Glyphs\" and override all your prefered settings in there. After you are done, make a glyph-group for each class (such as \"Glyphs (Death Knight)\" etc.) and select \"Glyphs\" as virtual group for every one of them (you can easily insert item data to these class specific groups by selecting premade data).\n\nNow, to change the settings for all glyph groups you can just change the settings within the virtual \"Glyph\" group. To change the settings for one class in particular, such as Paladins because they sell more often than others, you can click this group and override the appropriate settings for just that group. There are many more possibilities for you to find out.\n\n" ..
1934 "", 1935 "",
1935 }, 1936 },
2158 StaticPopupDialogs["InventoriumConfirmUpdatePremadeGroup"] = { 2159 StaticPopupDialogs["InventoriumConfirmUpdatePremadeGroup"] = {
2159 text = "The premade group |cfffed000%s|r used in the group |cfffed000%s|r has been changed. Do you wish to copy these changes?", 2160 text = "The premade group |cfffed000%s|r used in the group |cfffed000%s|r has been changed. Do you wish to copy these changes?",
2160 button1 = YES, 2161 button1 = YES,
2161 button2 = NO, 2162 button2 = NO,
2162 OnAccept = function() 2163 OnAccept = function()
2163 addon:PremadeGroupsCheck(groupName, premadeGroupName, true); 2164 mod:PremadeGroupsCheck(groupName, premadeGroupName, true);
2164 end, 2165 end,
2165 OnCancel = function(_, _, reason) 2166 OnCancel = function(_, _, reason)
2166 if reason == "clicked" then 2167 if reason == "clicked" then
2167 addon:PremadeGroupsCheck(groupName, premadeGroupName, false); 2168 mod:PremadeGroupsCheck(groupName, premadeGroupName, false);
2168 end 2169 end
2169 end, 2170 end,
2170 timeout = 0, 2171 timeout = 0,
2171 whileDead = 1, 2172 whileDead = 1,
2172 hideOnEscape = 1, 2173 hideOnEscape = 1,