Download
(2 Kb)
Download
Updated: 06/01/16 05:34 AM
Pictures
File Info
Compatibility:
Dark Brotherhood (2.4)
Updated:06/01/16 05:34 AM
Created:06/23/15 04:33 AM
Monthly downloads:14
Total downloads:5,167
Favorites:12
MD5:
Categories:Discontinued & Outdated, Bags, Bank, Inventory
Deconstruction Filter  Popular! (More than 5000 hits)
Version: 1.6
by: estera [More]
This addon adds pre-defined filters to deconstruction window.

Available filtering options are:
  • All items
  • Stolen items
  • Intricate items and crafted items with no set
  • "Trash" looted items that are not not part of any armor or weapon set. Master's and Maelstrom's weapon, "nirnhoned", "intricate" and "ornate" items are excluded.
"Intricate" and "Trash" filtering modes support items marking by CraftStore, FCO ItemSaver and Item Saver AddOns.
Version 1.6:
  • Updated for API version 100015 (Dark Brotherhood)
  • Removed Veteran Rank check for "Intricate" and "Trash" filters.
  • Removed quality level check for crafted items with no set.
  • Added check for Maelstrom's weapon to "Trash" filter. Thanks to RubenGM for this fix.

Version 1.4:
  • Updated for API version 100012 (Update 7)
  • Fixed bug with "Nirnhoned" weapons slipping thru "Intricate" and "Trash" filters.
  • VR15+ items are no longer shown in "Intricate" mode.
  • VR15+ items of all traits are shown in "Trash" mode but only if your metalworking/tailoring/woodworking ability is maxed (i.e. rank 10). Lower ability rank will prevent you from obtaining valuable material from deconstructed item.
  • Reworked buttons implementation. Thanks to Wandamey for helping with this.

Version 1.2:
  • Added support for CraftStore, FCO ItemSaver and Item Saver AddOns.
  • Reworked filtering rules for "Intricate" and "Trash" filters.
    Intricate mode: Added items marked as "Intricate" in FCO ItemSaver.
    Intricate mode: Added crafted items of normal (white) quality than are not "Nirnhoned" or protected by CraftStore, FCO ItemSaver or Item Saver.
    Trash mode: Added items marked as "for deconstruction" in FCO ItemSaver.
    Trash mode: Removed items protected by CraftStore, FCO ItemSaver or Item Saver.
    Trash mode: Removed "Nirnhoned", "Ornate", Master's weapons and crafted items.
  • Minor visual improvement for highlighted buttons.

Version 1.0:
  • Initial release.
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Uploader
Date
1.4
2kB
estera
09/09/15 07:30 AM
1.2
2kB
estera
07/07/15 03:48 AM
1.0
2kB
estera
06/23/15 04:40 AM


Post A Reply Comment Options
Unread 09/20/17, 12:05 PM  
Crones

Forum posts: 0
File comments: 4
Uploads: 0
Great addon. I was having issues with items not showing up on my chars, so I made some changes and now its working great.
Report comment to moderator  
Reply With Quote
Unread 07/15/16, 12:52 AM  
mendisabal

Forum posts: 3
File comments: 113
Uploads: 0
all

is there a function to Deconstruction all ?
Report comment to moderator  
Reply With Quote
Unread 06/02/16, 04:20 PM  
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 288
File comments: 763
Uploads: 7
thanks for this nice addon! Can you maybe add a 4th button that includes all the items of the 3 other buttons? So Stolen items + Intricate items + "Trash"
It shoud only not show SELF crafted with this char items with no set --> so if I do the crafting daily and craft first and then deconstruct I don't decunstruct all the items I just crafted

Maybe this filter coud also ignore the selection of weapon/armor? So I don't have to switch?
Last edited by Tonyleila : 06/02/16 at 04:25 PM.
Report comment to moderator  
Reply With Quote
Unread 01/18/16, 03:50 PM  
RubenGM

Forum posts: 0
File comments: 1
Uploads: 0
I had to add this:

Code:
	if string.sub(GetItemName(bagId, slotIndex), 1, 15) == "The Maelstrom's" then
            return true
        end
Right after the Master's line so I don't accidentally deconstruct my Maelstrom weapons :P
Report comment to moderator  
Reply With Quote
Unread 09/09/15, 05:40 PM  
Augmenti-DeMontia

Forum posts: 32
File comments: 213
Uploads: 0
Thanks for your work on this mod, first time downloading and looking forward to trying it!
Report comment to moderator  
Reply With Quote
Unread 07/07/15, 04:45 AM  
Wandamey
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
lol no, thank you for having decrypted the thing in such an elementary and reusable way.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 07/07/15, 03:53 AM  
estera
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 2
Thank you for your feedback and ideas on how filtering option might be improved!
Report comment to moderator  
Reply With Quote
Unread 07/01/15, 07:12 AM  
Wandamey
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
I really like how you made it so easy to edit.
So for other people to enjoy it as much as I do :
here a little tutorial to personalize the filters :

What filter to display by default :
beginning of the file :
(exemple : open with the trash filter on at first opening after a reloadui.)
mode = "Trash"
possible values : "All" or "Stolen" or "Intricate" or "Trash"


How to show/hide items :
In the function : DeconstructionFilterFunction(self, bagId, slotIndex, ...)

Under each
if mode == "<name of the filter>"
you can add or remove the type of items you want to see :

returning true will hide the item in the window, returning false will show it.

exemple 1: I don't want to see crafted equips under the trash filter or i may deconstruct my writ stuff so i'll write under if mode == "Trash" :
local itemLink = GetItemLink(bagId, slotIndex)
if IsItemLinkCrafted(itemLink) then return true end
but i want to find them easily if i'm working on my skill so i show them under the intricate tab (if mode == "Intricate"):
local itemLink = GetItemLink(bagId, slotIndex)
if IsItemLinkCrafted(itemLink) then return false end

exemple 2: i want to deconstruct ornate item with a value < 20 gold only so i don't want to see ornate with value > 20 under the Trash filter :
local itemLink = GetItemLink(bagId, slotIndex)
if GetItemTrait(bagId, slotIndex) == ITEM_TRAIT_TYPE_ARMOR_ORNATE or GetItemTrait(bagId, slotIndex) == ITEM_TRAIT_TYPE_WEAPON_ORNATE then
local icon, price = GetItemLinkInfo(itemLink)
if tonumber(price) > 20 then return true end
end
The hardest part is to retrieve the info about the item from these 2 only available elements : BagId and slotIndex.
you'll find everything in the wiki under the "functions" section. Ctrl F is your best friend in there. Start to search for GetItem or GetItemLink, for example, to overview what kind of info you'll be able to get with these two elements
sometimes you'll have to compare the values you find with "global values" to return true or false, these values are found in the wiki in the global section. These are in fact numbers but ESO gives them names so they mean something and are easier to find.

these global values are the ones that are capped and spaces like underscores ex : ITEM_TRAIT_TYPE_WEAPON_ORNATE
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 06/23/15, 01:22 PM  
Wandamey
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Big thanks!

very nice idea.

I added a condition to the trash filter that items with a researchable trait ain't shown. (i modded Trait Buddy a bit but i believe Craftstore has already a global function to do that).

As your addon keeps the last filter selected from one station to the other i can go havoc on every item as soon as i'm at the station. No more thinking for me
Report comment to moderator  
Edit/Delete Message Reply With Quote
Post A Reply



Category Jump: