Item Filtering:修订间差异

跳转到导航 跳转到搜索
添加317字节 、​ 2023年5月2日 (星期二)
第110行: 第110行:
| space || <code>&nbsp;</code>
| space || <code>&nbsp;</code>
|-
|-
| other symbols || <code>µ¶¢£¥®©§¿¡¯¨¬­&#173;¦«»÷×±ªº´¤°¹²³¼½¾</code>
| other symbols || <code>µ¶¢£¥®©§¿¡¯¨¬­¦«»÷×±ªº´¤°¹²³¼½¾·¸</code>
|-
|-
| other capital letters || <code>ÐÞÆØÁÀÂÄÃÅÇÉÈÊËÍÌÎÏÑÓÒÔÖÕÚÙÛÜÝ</code>
| other capital letters || <code>ÐÞÆØÁÀÂÄÃÅÇÉÈÊËÍÌÎÏÑÓÒÔÖÕÚÙÛÜÝ</code>
第117行: 第117行:
|}
|}
* The last three categories require the filter file to be encoded in ANSI rather than the default UTF-8
* The last three categories require the filter file to be encoded in ANSI rather than the default UTF-8
* The soft hyphen character doesn't display correctly here
* The soft hyphen character doesn't display correctly in many places (including this wiki) but does show up in-game
* These characters display as "?" if HD text is disabled: ·¸
* These characters aren't displayed at all if HD text is enabled: ¬­÷±¤ (including soft hyphen)




第129行: 第131行:
文本和关键字可以一起使用来添加额外的信息,将名称的某些部分更改为不同的颜色,等等。 请参阅下面的 [[Item_Filtering#Output_Keywords | all keywords]].
文本和关键字可以一起使用来添加额外的信息,将名称的某些部分更改为不同的颜色,等等。 请参阅下面的 [[Item_Filtering#Output_Keywords | all keywords]].


<code>ItemDisplay[SOCK>0]: %NAME% %GRAY%[%SOCKETS%]</code> <span style="color:gray;">''displays socketed items with '''[X]''' appended in gray, where X is the number of sockets''</span>
<code>ItemDisplay[SOCKETS>0]: %NAME% %GRAY%[%SOCKETS%]</code> <span style="color:gray;">''displays socketed items with '''[X]''' appended in gray, where X is the number of sockets''</span>




第148行: 第150行:
The '''''%CONTINUE%''''' keyword replaces the contents of '''''%NAME%''''' with the current rule's '''''Output''''' (overwriting the default name or previously stored output) and makes the program continue checking rules. This allows multiple rules to modify an item's appearance based on different conditions.
The '''''%CONTINUE%''''' keyword replaces the contents of '''''%NAME%''''' with the current rule's '''''Output''''' (overwriting the default name or previously stored output) and makes the program continue checking rules. This allows multiple rules to modify an item's appearance based on different conditions.


<code>ItemDisplay[SOCK>0]: %NAME% [%SOCKETS%]%CONTINUE%</code> <span style="color:gray;">''appends '''[X]''' to socketed items, where X is the number of sockets (continues)''</span>
<code>ItemDisplay[SOCKETS>0]: %NAME% [%SOCKETS%]%CONTINUE%</code> <span style="color:gray;">''appends '''[X]''' to socketed items, where X is the number of sockets (continues)''</span>


<code>ItemDisplay[ETH]: eth %NAME%%CONTINUE%</code> <span style="color:gray;">''prepends '''eth''' to ethereal items (continues)''</span>
<code>ItemDisplay[ETH]: eth %NAME%%CONTINUE%</code> <span style="color:gray;">''prepends '''eth''' to ethereal items (continues)''</span>
第156行: 第158行:
Without '''''%CONTINUE%''''', this would require a separate rule for every possible combination of different conditions, the number of rules growing exponentially with each additional condition:
Without '''''%CONTINUE%''''', this would require a separate rule for every possible combination of different conditions, the number of rules growing exponentially with each additional condition:


<code>ItemDisplay[ETH SOCK>0]: eth %NAME% [%SOCKETS%]</code>
<code>ItemDisplay[ETH SOCKETS>0]: eth %NAME% [%SOCKETS%]</code>


<code>ItemDisplay[!ETH SOCK>0]: %NAME% [%SOCKETS%]</code>
<code>ItemDisplay[!ETH SOCKETS>0]: %NAME% [%SOCKETS%]</code>


<code>ItemDisplay[ETH SOCK=0]: eth %NAME%</code>
<code>ItemDisplay[ETH SOCKETS=0]: eth %NAME%</code>


<code>ItemDisplay[!ETH SOCK=0]: %NAME%</code>
<code>ItemDisplay[!ETH SOCKETS=0]: %NAME%</code>




第186行: 第188行:




The '''''%NL%''''' keyword adds a new line above the previous line and can only be used within item descriptions.
The '''''%NL%''''' keyword adds a new line above the previous line and can only be used within item descriptions, or within item names of identified items whose rarity is magic or higher.


<code>ItemDisplay[]: %NAME%{Affix Level: %ALVL%%NL%Item Level: %ILVL%}</code> <span style="color:gray;">''Shows item/affix levels on separate lines in description (same effect as '''Show iLvl''' setting)''</span>
<code>ItemDisplay[]: %NAME%{Affix Level: %ALVL%%NL%Item Level: %ILVL%}</code> <span style="color:gray;">''Shows item/affix levels on separate lines in description (same effect as '''Show Item Level''' setting)''</span>


<!-- End of "Filter Syntax" category -->
<!-- End of "Filter Syntax" category -->

导航菜单