kvakvs / wow-Restocker

0 stars 2 forks source link

Request to restructure profile data #19

Open Gogo1951 opened 1 year ago

Gogo1951 commented 1 year ago

For those of us who have A LOT of items on Restocker, this would really help keep issues in sync.

Request to move all data to one file; instead of

C:\Program Files (x86)\World of Warcraft_classic_\WTF\Account{ACCOUNTNAME}{SERVER}{CHARACTER}\SavedVariables

To

C:\Program Files (x86)\World of Warcraft_classic_\WTF\Account{ACCOUNTNAME}\SavedVariables

Request to then tweak layout of the files...

From this... (which is a bit tedious to work with for humans who want to sort data)

image

To this, which is easy to manually tweak...

            {   ["stashTobank"] = true, ["itemName"] = "Apexis Shard",  ["itemID"] = 32569, ["amount"] = 0, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:32569::::::::75:::::::::|h[Apexis Shard]|h|r", }, -- [46]
            {   ["stashTobank"] = true, ["itemName"] = "Celestial Ink", ["itemID"] = 43120, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:43120::::::::70:::::::::|h[Celestial Ink]|h|r",    }, -- [25]
            {   ["stashTobank"] = true, ["itemName"] = "Chilled Meat",  ["itemID"] = 43013, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:43013::::::::70:::::::::|h[Chilled Meat]|h|r", }, -- [13]
            {   ["stashTobank"] = true, ["itemName"] = "Common Parchment",  ["itemID"] = 10648, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:10648::::::::70:::::::::|h[Common Parchment]|h|r", }, -- [37]
            {   ["stashTobank"] = true, ["itemName"] = "Dimensional Ripper - Area 52",  ["itemID"] = 30542, ["amount"] = 1, ["restockFromBank"] = true, ["itemLink"] = "|cff1eff00|Hitem:30542::::::::72:::::::::|h[Dimensional Ripper - Area 52]|h|r", }, -- [11]
            {   ["stashTobank"] = true, ["itemName"] = "Dimensional Ripper - Everlook", ["itemID"] = 18984, ["amount"] = 1, ["restockFromBank"] = true, ["itemLink"] = "|cff1eff00|Hitem:18984::::::::72:::::::::|h[Dimensional Ripper - Everlook]|h|r",    }, -- [10]
            {   ["stashTobank"] = true, ["itemName"] = "Ethereal Ink",  ["itemID"] = 43124, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:43124::::::::70:::::::::|h[Ethereal Ink]|h|r", }, -- [27]
            {   ["stashTobank"] = true, ["itemName"] = "Field Repair Bot 110G", ["itemID"] = 34113, ["amount"] = 5, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:34113::::::::71:::::::::|h[Field Repair Bot 110G]|h|r",    }, -- [3]
            {   ["stashTobank"] = true, ["itemName"] = "Fish Feast",    ["itemID"] = 43015, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:43015::::::::70:::::::::|h[Fish Feast]|h|r",   }, -- [33]
            {   ["stashTobank"] = true, ["itemName"] = "Flask of Endless Rage", ["itemID"] = 46377, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:46377::::::::76:::::::::|h[Flask of Endless Rage]|h|r",    }, -- [49]
            {   ["stashTobank"] = true, ["itemName"] = "Flask of Stoneblood",   ["itemID"] = 46379, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:46379::::::::76:::::::::|h[Flask of Stoneblood]|h|r",  }, -- [48]
            {   ["stashTobank"] = true, ["itemName"] = "Global Thermal Sapper Charge",  ["itemID"] = 42641, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:42641::::::::70:::::::::|h[Global Thermal Sapper Charge]|h|r", }, -- [19]
            {   ["stashTobank"] = true, ["itemName"] = "Gnomish Army Knife",    ["itemID"] = 40772, ["amount"] = 1, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:40772::::::::71:::::::::|h[Gnomish Army Knife]|h|r",   }, -- [6]
            {   ["stashTobank"] = true, ["itemName"] = "Goblin Jumper Cables XL",   ["itemID"] = 18587, ["amount"] = 1, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:18587::::::::72:::::::::|h[Goblin Jumper Cables XL]|h|r",  }, -- [9]
            {   ["stashTobank"] = true, ["itemName"] = "Halaa Research Token",  ["itemID"] = 26044, ["amount"] = 0, ["restockFromBank"] = true, ["itemLink"] = "|cff1eff00|Hitem:26044::::::::75:::::::::|h[Halaa Research Token]|h|r", }, -- [44]
            {   ["stashTobank"] = true, ["itemName"] = "Healing Injector Kit",  ["itemID"] = 37567, ["amount"] = 0, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:37567::::::::70:::::::::|h[Healing Injector Kit]|h|r", }, -- [17]
            {   ["stashTobank"] = true, ["itemName"] = "Hearthstone",   ["itemID"] = 6948,  ["amount"] = 1, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:6948::::::::71:::::::::|h[Hearthstone]|h|r",   }, -- [5]
            {   ["stashTobank"] = true, ["itemName"] = "Heavy Frostweave Bandage",  ["itemID"] = 34722, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:34722::::::::72:::::::::|h[Heavy Frostweave Bandage]|h|r", }, -- [41]
            {   ["stashTobank"] = true, ["itemName"] = "Heavy Netherweave Bandage", ["itemID"] = 21991, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:21991::::::::72:::::::::|h[Heavy Netherweave Bandage]|h|r",    }, -- [7]
            {   ["stashTobank"] = true, ["itemName"] = "Heavy Parchment",   ["itemID"] = 39501, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:39501::::::::70:::::::::|h[Heavy Parchment]|h|r",  }, -- [38]
            {   ["stashTobank"] = true, ["itemName"] = "Honeymint Tea", ["itemID"] = 33445, ["amount"] = 40,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:33445::::::::75:::::::::|h[Honeymint Tea]|h|r",    }, -- [42]
            {   ["stashTobank"] = true, ["itemName"] = "Icy Pigment",   ["itemID"] = 43109, ["amount"] = 0, ["restockFromBank"] = true, ["itemLink"] = "|cff1eff00|Hitem:43109::::::::70:::::::::|h[Icy Pigment]|h|r",  }, -- [40]
            {   ["stashTobank"] = true, ["itemName"] = "Ink of the Sea",    ["itemID"] = 43126, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:43126::::::::70:::::::::|h[Ink of the Sea]|h|r",   }, -- [28]
            {   ["stashTobank"] = true, ["itemName"] = "Ivory Ink", ["itemID"] = 37101, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:37101::::::::70:::::::::|h[Ivory Ink]|h|r",    }, -- [20]
            {   ["stashTobank"] = true, ["itemName"] = "Jadefire Ink",  ["itemID"] = 43118, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:43118::::::::70:::::::::|h[Jadefire Ink]|h|r", }, -- [24]
            {   ["stashTobank"] = true, ["itemName"] = "Light Parchment",   ["itemID"] = 39354, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:39354::::::::70:::::::::|h[Light Parchment]|h|r",  }, -- [29]
            {   ["stashTobank"] = true, ["itemName"] = "Lion's Ink",    ["itemID"] = 43116, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:43116::::::::70:::::::::|h[Lion's Ink]|h|r",   }, -- [23]
            {   ["stashTobank"] = true, ["itemName"] = "Mana Injector Kit", ["itemID"] = 42546, ["amount"] = 0, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:42546::::::::70:::::::::|h[Mana Injector Kit]|h|r",    }, -- [18]
            {   ["stashTobank"] = true, ["itemName"] = "Mead Basted Caribou",   ["itemID"] = 35953, ["amount"] = 40,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:35953::::::::75:::::::::|h[Mead Basted Caribou]|h|r",  }, -- [43]
            {   ["stashTobank"] = true, ["itemName"] = "Midnight Ink",  ["itemID"] = 39774, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:39774::::::::70:::::::::|h[Midnight Ink]|h|r", }, -- [22]
            {   ["stashTobank"] = true, ["itemName"] = "MOLL-E",    ["itemID"] = 40768, ["amount"] = 1, ["restockFromBank"] = true, ["itemLink"] = "|cff0070dd|Hitem:40768::::::::70:::::::::|h[MOLL-E]|h|r",   }, -- [32]
            {   ["stashTobank"] = true, ["itemName"] = "Moonglow Ink",  ["itemID"] = 39469, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:39469::::::::70:::::::::|h[Moonglow Ink]|h|r", }, -- [21]
            {   ["stashTobank"] = true, ["itemName"] = "Obsidian Warbeads", ["itemID"] = 25433, ["amount"] = 0, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:25433::::::::75:::::::::|h[Obsidian Warbeads]|h|r",    }, -- [47]
            {   ["stashTobank"] = true, ["itemName"] = "Oshu'gun Crystal Powder Sample",    ["itemID"] = 26042, ["amount"] = 0, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:26042::::::::75:::::::::|h[Oshu'gun Crystal Powder Sample]|h|r",   }, -- [45]
            {   ["stashTobank"] = true, ["itemName"] = "Resilient Parchment",   ["itemID"] = 39502, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:39502::::::::70:::::::::|h[Resilient Parchment]|h|r",  }, -- [30]
            {   ["stashTobank"] = true, ["itemName"] = "Rhino Meat",    ["itemID"] = 43012, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:43012::::::::70:::::::::|h[Rhino Meat]|h|r",   }, -- [12]
            {   ["stashTobank"] = true, ["itemName"] = "Runic Healing Injector",    ["itemID"] = 41166, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:41166::::::::70:::::::::|h[Runic Healing Injector]|h|r",   }, -- [16]
            {   ["stashTobank"] = true, ["itemName"] = "Runic Healing Potion",  ["itemID"] = 33447, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:33447::::::::70:::::::::|h[Runic Healing Potion]|h|r", }, -- [2]
            {   ["stashTobank"] = true, ["itemName"] = "Runic Mana Injector",   ["itemID"] = 42545, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:42545::::::::70:::::::::|h[Runic Mana Injector]|h|r",  }, -- [15]
            {   ["stashTobank"] = true, ["itemName"] = "Runic Mana Potion", ["itemID"] = 33448, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:33448::::::::70:::::::::|h[Runic Mana Potion]|h|r",    }, -- [1]
            {   ["stashTobank"] = true, ["itemName"] = "Saronite Bomb", ["itemID"] = 41119, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:41119::::::::70:::::::::|h[Saronite Bomb]|h|r",    }, -- [14]
            {   ["stashTobank"] = true, ["itemName"] = "Scrapbot Construction Kit", ["itemID"] = 40769, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:40769::::::::70:::::::::|h[Scrapbot Construction Kit]|h|r",    }, -- [36]
            {   ["stashTobank"] = true, ["itemName"] = "Shimmering Ink",    ["itemID"] = 43122, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:43122::::::::70:::::::::|h[Shimmering Ink]|h|r",   }, -- [26]
            {   ["stashTobank"] = true, ["itemName"] = "Snowfall Ink",  ["itemID"] = 43127, ["amount"] = 20,    ["restockFromBank"] = true, ["buyFromMerchant"] = false,    ["itemLink"] = "|cff1eff00|Hitem:43127::::::::70:::::::::|h[Snowfall Ink]|h|r", }, -- [39]
            {   ["stashTobank"] = true, ["itemName"] = "Spirit Shard",  ["itemID"] = 28558, ["amount"] = 0, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:28558::::::::76:::::::::|h[Spirit Shard]|h|r", }, -- [51]
            {   ["stashTobank"] = true, ["itemName"] = "Symbol of Divinity",    ["itemID"] = 17033, ["amount"] = 5, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:17033::::::::70:::::::::|h[Symbol of Divinity]|h|r",   }, -- [35]
            {   ["stashTobank"] = true, ["itemName"] = "Symbol of Kings",   ["itemID"] = 21177, ["amount"] = 200,   ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:21177::::::::70:::::::::|h[Symbol of Kings]|h|r",  }, -- [34]
            {   ["stashTobank"] = true, ["itemName"] = "Virtuoso Inking Set",   ["itemID"] = 39505, ["amount"] = 1, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:39505::::::::77:::::::::|h[Virtuoso Inking Set]|h|r",  }, -- [52]
            {   ["stashTobank"] = true, ["itemName"] = "White Smoke Flare", ["itemID"] = 23768, ["amount"] = 20,    ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:23768::::::::71:::::::::|h[White Smoke Flare]|h|r",    }, -- [4]
            {   ["stashTobank"] = true, ["itemName"] = "Wormhole Generator: Northrend", ["itemID"] = 48933, ["amount"] = 1, ["restockFromBank"] = true, ["itemLink"] = "|cff0070dd|Hitem:48933::::::::70:::::::::|h[Wormhole Generator: Northrend]|h|r",    }, -- [31]
            {   ["stashTobank"] = true, ["itemName"] = "Zapthrottle Mote Extractor",    ["itemID"] = 23821, ["amount"] = 1, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:23821::::::::72:::::::::|h[Zapthrottle Mote Extractor]|h|r",   }, -- [8]
            {   ["stashTobank"] = true, ["itemName"] = "Zaxxis Insignia",   ["itemID"] = 29209, ["amount"] = 0, ["restockFromBank"] = true, ["itemLink"] = "|cffffffff|Hitem:29209::::::::76:::::::::|h[Zaxxis Insignia]|h|r",  }, -- [50]

I get that this won't be a high priority... but as someone who plays 8 toons (all with Engineering)... this would make it a lot easier to keep things in sync. I can just set up a base list, and copy and paste it easily inside of the config file. I sort of can now, but it's tedious to update them all and keep them in sync becasue of how the files are formatted. I want to use Restocker to keep my bags clean by chucking all the junk rep tokens in my bank.