PotHerbFu by Schelli

This addon gives you the possibility to monitor your pots and also your herbs and other ingreedients along with it

To get this fully working, log to your alchemist and import all pots available by using the menu (Gather data) or just use a control click on the addon
Next you got to use CTRL mouseover to open the tooltip and select pots / herbs / misc stuff you want to be displayed in regular tooltip
From there just explore on... have fun

For this addon to work at full capacity it needs to have at least OneStorage installed so it saves all your inventory and bank data.

Functionality :

Main Button
Regular click : refreshes the info gathered from Oneview
SHIFT Click   : calculates all pots you can make with the present data at hand
CTRL Click		: imports all pot recipes (only if this char is an alchemist)
ALT Click			: resets ALL settings, including the limits you set and the selections you made

MouseOver Main Button
Regular				: just shows the normal tooltip and displays the stuff you want to monitor
ALT						: just shows the normal tooltip but displays all items available and their values
CTRL					: shows the configuration tooltip where you can select what to monitor (hold shift while clicking)
SHIFT					: shows the overall stats and time of last scan / pot calculation

Regular Tootltip
Regular Click	: shows the selected item detailed view in the top part of the tooltip
ALT+SHIFT CLk	: on any item, hides the detailed data again

CTRL Tooltip
Regular Click	: selects/ deselects an entry (tooltip will switch to regular view after action)
CTRL  Click		: selects/ deselects an entry (tooltip will stay in SHIFT mode)
CTRL+ALT Click:	remove the item and its settings completely (can be reimported with the pot import, or manual import)

For Developers :
call function 		: PotHerbFu:GetItemUrgencyValue(itemName) 
returns a number 	: from 0-100 where 100 is the most urgent (red) and 0 is no urgency at all (green) and the date of the last item scan in format date("%A, %B %d, %Y - %H:%M"), returns -1 if item not found
example						:

	if (PotHerbFu) then
		local urgency , uDate = PotHerbFu:GetItemUrgencyValue(itemName);
		if (urgency > -1) then
			local found,_,wDay,month,day,year,hour,min = string.find(uDate,"(%a+), (%a+) (%d+), (%d+) %- (%d+):(%d+)");
			if (found) then
				--use date and urgency as you wish to evaluate it
			end
		end
	end	

v2.4
- converted to patch 2.4
- added a lot more functinality
- fixed some menu bugs
- added complete translation strings
- adjusted to work with all languages now
- implemented icon
- implemented lots of hints
- totally rewrote inport routine
- implemented icons in tooltip
- many more i cant think of
v2.0
- converted to patch 2.0
- added some minor improvements
v1.1
- fixed one small bug that erased some data when you had certain stuff in mailbox
-	added char display
- added 2 new menu options along with it
-	added display of last scan time / pot calc time
-	added overall stats
v1.0
- first release