Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(2 Kb)
Download
Updated: 11-25-09 08:10 AM
Pictures
File Info
Updated:11-25-09 08:10 AM
Created:11-25-09 08:10 AM
Downloads:1,082
Favorites:13
MD5:
GetReagents-Lite
Version: r473
by: recluse [More]
Click here to lend your support!
GetReagents-Lite is an automatic reagent restocking utility. It can refill any item sold by vendors to a stock level that you define.

"Lite" version
  • You must edit the Lua source to use this addon. There are no in-game options or slash commands.
  • There is no purchase confirmation. Reagents are silently bought based on your configuration.
  • Reagents will not be overstocked, but will be filled as close as possible to your set limits.
  • Configuration is done on a per-character basis.

Overview of setting a reagent to auto-purchase
Adding a reagent to the list is a simple task. Simply open the enclosed GetReagents-Lite.lua file in your favorite text editor, and modify the following, which is located at the top of the file.
Code:
local reagents = {
	["Realm Name"] = {
		["Character"] = { [itemid] = quantity, [itemid] = quantity },
	},
	["Another Realm"] = {
		["Character"] = {},
	},
}
Using one of my characters as an example: Let's say you had a mage named "Suzi" on the realm "Moon Guard", and you wanted to stock 20 [Rune of Portals] each time you visited the reagent vendor. To do so, you would enter the following:
Code:
local reagents = {
	["Moon Guard"] = {
		["Suzi"]	= { [17032] = 20 },
	},
}
If you then wanted to add 20 [Rune of Teleportation] to your list as well, you would add it after the previous reagent using commas to separate each one:
Code:
["Suzi"]	= { [17032] = 20, [17031] = 20 },
Adding additional characters only requires adding a new line for that character:
Code:
local reagents = {
	["Moon Guard"] = {
		["Suzi"]	= { [17032] = 20 },
		["AnotherName"]	= { [itemid] = quantity },
	},
}
Additional realms are just as easy to add:
Code:
local reagents = {
	["Moon Guard"] = {
		["Suzi"]	= { [17032] = 20 },
		["AnotherName"]	= { [itemid] = quantity },
	},
	["Realm"] = {
		["Character"]	= { [itemid] = quantity },
	},
}
Post A Reply Comment Options
Unread 10-25-10, 04:13 PM  
Lomk
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
You should save the .lua file in UTF-8 encoding. Had a hard time to figure out why this simple addon won't work on ruRU locale.
It's great, anyway.
Lomk is offline Report comment to moderator  
Reply With Quote
Unread 05-31-10, 09:19 PM  
moggy006
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Great addon, tyvm.

--

For lazy rogues:

Crippling Poison: 3775
Deadly Poison IX: 43233
Wound Poison VII: 43235
Instant Poison IX: 43231
Mind-Numbing Poison: 5237

["Tasti"] = { [3775] = 40, [43233] = 60, [43235] = 20, [43231] = 60, [5237] = 20 },



Might save someone some time
moggy006 is offline Report comment to moderator  
Reply With Quote
Unread 05-17-10, 01:36 AM  
Slaxi81
A Murloc Raider
 
Slaxi81's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 171
Uploads: 3
Hello,

it would be very useful if you add an option to restock items by class (without charakternames), so you only had to change the lua one time.


Sorry for bad english and have a nice day

Slaxi
Slaxi81 is offline Report comment to moderator  
Reply With Quote
Unread 03-01-10, 12:41 AM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 95
Uploads: 14
Originally posted by Politig
Any way to add selling items as well (grays + user defined ones like the buying features)?
It is not a feature I plan to add, as GetReagents-Lite should... well, get reagents.

I do have a tiny auto-grey selling addon you can get here, but it does not have user-defined items available to it. It probably would not be too hard to add a list of things to sell, though.
__________________
We'd be together, but only diamonds last forever...
Recluse is offline Report comment to moderator  
Reply With Quote
Unread 02-28-10, 09:27 AM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 164
File comments: 398
Uploads: 1
Any way to add selling items as well (grays + user defined ones like the buying features)?
Politig is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.