Loot Filtration: Difference between revisions

From Path of Diablo Wiki
No edit summary
Tags: Mobile edit Mobile web edit
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
A Loot Filter is included in the QoL Feature set. By editing the "item.filter" file located in your Diablo II installation folder, you can create a set of rules which will change the way loot is displayed.
By editing the "item filter" file located in your Path Of Diablo installation folder, you can create a set of rules which will change the way loot is displayed.


You can find loot filters made by other players and download instructions at [[List of Loot Filters]].
You can find loot filters made by other players and download instructions at [[List of Loot Filters]].
Line 25: Line 25:
| cx5
| cx5
| Orb of Corruption
| Orb of Corruption
|-
| cx9
| Orb of Alteration
|}
|}
''See more codes at [[List of Loot Filter Codes]]''
''See more codes at [[Loot Filtration Codes]]''


If you would like to rename "Scroll of Town Portal" to a much shorter "TP" then you would type: '''ItemDisplay[tsc]: TP'''
If you would like to rename "Scroll of Town Portal" to a much shorter "TP" then you would type: '''ItemDisplay[tsc]: TP'''
Line 52: Line 55:
| [[File:Fonttan.png]]
| [[File:Fonttan.png]]
|}
|}
''See more codes at [[List of Loot Filter Codes]]''
''See more codes at [[Loot Filtration Codes]]''


If you would like to change the color of the Horadric Cube to purple then you would type: '''ItemDisplay[box]: %PURPLE%Horadric Cube'''
If you would like to change the color of the Horadric Cube to purple then you would type: '''ItemDisplay[box]: %PURPLE%Horadric Cube'''


You can also use multiple colors within a single item. For example if you want the word "Horadric" to be yellow and "Cube" to be purple you would type: ItemDisplay[box]: %YELLOW%Horadric %PURPLE%Cube
You can also use multiple colors within a single item. For example if you want the word "Horadric" to be yellow and "Cube" to be purple you would type: '''ItemDisplay[box]: %YELLOW%Horadric %PURPLE%Cube'''


=== Value References ===
=== Value References ===
Line 75: Line 78:
| Show the item's socket count
| Show the item's socket count
|}
|}
''See more codes at [[List of Loot Filter Codes]]''
''See more codes at [[Loot Filtration Codes]]''


If you want to show the selling price of an item using a dollar sign ($100) as a prefix you would type: '''ItemDisplay[gpm]: ($%PRICE%) Choking Gas Potion'''
If you want to show the selling price of an item using a dollar sign ($100) as a prefix you would type: '''ItemDisplay[gpm]: ($%PRICE%) Choking Gas Potion'''
Line 102: Line 105:
* <
* <
* =
* =
* <=
* >=
* !=


Using ''Greater than >'', ''Less than <'' and ''Equal to ='' will help add conditions to rules.
Using ''Greater than >'', ''Less than <'', ''Equal to ='', ''Less than or equal to <='', ''Greater than or equal to >='', and ''Not equal to !='' will help add conditions to rules.


You may want to hide gold stacks that are not worth your time (stacks below 1000g) by typing: '''ItemDisplay[GOLD<1000]:'''
You may want to hide gold stacks that are not worth your time (stacks below 1000g) by typing: '''ItemDisplay[GOLD<1000]:'''
Line 119: Line 125:
This same rule can be written in a different way: '''ItemDisplay[WP8 !SOCK=0 !SOCK=1 !SOCK=2 !SOCK=3 !SOCK=6]: %NAME%'''
This same rule can be written in a different way: '''ItemDisplay[WP8 !SOCK=0 !SOCK=1 !SOCK=2 !SOCK=3 !SOCK=6]: %NAME%'''


The first one says "Show me all polearms with more than 3 but less than 6 sockets" whereas the second says "Show me all polearms but not ones with 0, 1, 2 or 6 sockets".
The first one says "Show me all polearms with more than 3 but less than 6 sockets" whereas the second says "Show me all polearms but not ones with 0, 1, 2, 3 or 6 sockets".
 
 
'''It is important to keep ''AND'' & ''OR'' within their own bracket set. For example: (SOCK>3 OR SOCK=1). This is not required for logic negation ('''!''')'''


It is important to keep ''AND'' & ''OR'' within their own bracket set. For example: (SOCK>3 OR SOCK=1). This is not required for logic negation ('''!''')
== Credits ==
Loot filtration
originally implemented in PoD by Dav92 based on code from McGoD, underbent and Deadlock39. Has sicne been fully rebuilt from the ground up by Necrolis.