View Single Post
05/14/14, 12:50 PM   #22
Edda
 
Edda's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 60
Here you go : http://grid.turtlespeak.net/upload/L...9_20140514.zip

I tested it locally and it works fine ! The code is ultra light-weight - barely over 100 lines.

Basic func is :

-remembers your junk
-outputs message for junk add/remove
-outputs message for item auto-moved to junk (when you don't have any left in your inventory aka item looted)
-'/rf verbose' toggle to enable/disable message outputs (default enabled)

There are 2 functions that I can't get to work (maybe you won't need them anyways). A 'clear list' function to clear all remembered junk and a 'display list' to display all your remembered junk and when you added them to the list.

If someone could look at lines 94>102 and 104>112 I would be glad. Table size ALWAYS returns 0 (no matter what) and it seems the table is hooked to the top of the saved var tree - I really don't know why. Maybe it's due to the way I instance the saved vars but I like it this way cuz I don't need to switch between read/write vars as such.
  Reply With Quote