Item Filtering:修订间差异

跳转到导航 跳转到搜索
添加1,682字节 、​ 2024年4月15日 (星期一)
无编辑摘要
无编辑摘要
无编辑摘要
 
第34行: 第34行:


<code>ItemDisplay[]: %NAME%</code> <span style="color:gray;">''以默认名称显示所有物品''</span>
<code>ItemDisplay[]: %NAME%</code> <span style="color:gray;">''以默认名称显示所有物品''</span>
<code>ItemDisplay[]: %NAME%{%NAME%}</code> <span style="color:gray;">''以默认名称和描述显示所有物品''</span>


=== 条件Conditions ===
=== 条件Conditions ===
第128行: 第130行:
<code>ItemDisplay[hdm]: 恰西最喜欢的锤子</code> <span style="color:gray;">''恰西最喜欢的锤子''</span> <span style="color:#3f6e2d; background-color:#161f0c; border-color:#0d1709">注释:用自己的描述文本取代了默认的名称
<code>ItemDisplay[hdm]: 恰西最喜欢的锤子</code> <span style="color:gray;">''恰西最喜欢的锤子''</span> <span style="color:#3f6e2d; background-color:#161f0c; border-color:#0d1709">注释:用自己的描述文本取代了默认的名称


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


<code>ItemDisplay[SOCKETS>0]: %NAME% %GRAY%[%SOCKETS%]</code> <span style="color:gray;">''在有凹槽物品的物品名称后面显示灰色的''[X]'',X为凹槽的数量''</span>
<code>ItemDisplay[SOCKETS>0]: %NAME% %GRAY%[%SOCKETS%]</code> <span style="color:gray;">''在有凹槽物品的物品名称后面显示灰色的''[X]'',X为凹槽的数量''</span>


The price of an item (displayed above the name when a merchant is selling it) can be recolored by using a color keyword after the rest of the output.
<code>ItemDisplay[SHOP]: %NAME%%WHITE%</code> <span style="color:gray;">''changes the price color for shop items to white</span>


与其他地方一样,双斜杠(''//'')的功能是在文件中写入注释,这些注释将被计算机忽略。
与其他地方一样,双斜杠(''//'')的功能是在文件中写入注释,这些注释将被计算机忽略。 Everything afterward will be ignored.


<code>ItemDisplay[NMAG (aqv OR cqv)]: // 隐藏普通的箭矢/弩矢</code>
<code>ItemDisplay[NMAG (aqv OR cqv)]: // 隐藏普通的箭矢/弩矢</code>


<code>ItemDisplay[tsc]: //%NAME% // Scroll of Town Portal</code> <span style="color:gray;">''这条规则隐藏了TP滚动。但可以通过删除%NAME%前面的"''//'''''"来将规则改为显示它们。</span>


<code>//ItemDisplay[MAG cm2]: // hides magic large charms</code> <span style="color:gray;">''这条 "规则 "将被忽略,但可以通过删除ItemDisplay前的第一个"''//'''''"来实现重新启用。</span>
When frequently enabling or disabling parts of a filter, putting '''//''' in front of those parts instead of deleting them can result in faster editing.
 
<code>ItemDisplay[tsc]: //%NAME%</code> <span style="color:gray;">''这条规则隐藏了TP滚动。但可以通过删除%NAME%前面的"''//'''''"来将规则改为显示它们。</span>
 
<code>//ItemDisplay[MAG (aqv OR cqv)]: // hides magic quivers if enabled</code> <span style="color:gray;">''这条 "规则 "将被忽略,但可以通过删除ItemDisplay前的第一个"''//'''''"来实现重新启用。</span>




第189行: 第197行:




'''''%NL%''''' 关键字在前一行之上添加一个新行,只能在稀有度为魔法或更高的已识别物品的物品名称中使用。
'''''%NL%''''' 关键字在前一行之上添加一个新行,可以用在所有物品的描述或这些物品名称:已识别的魔法或以上等级物品,符文之语,以及商店中的物品。


<code>ItemDisplay[]: %NAME%{Affix Level: %ALVL%%NL%Item Level: %ILVL%}</code> <span style="color:gray;">''在物品描述中分行显示物品/词缀等级(与''Show Item Level''的设置效果相同)。''</span>
<code>ItemDisplay[]: %NAME%{Affix Level: %ALVL%%NL%Item Level: %ILVL%}</code> <span style="color:gray;">''在物品描述中分行显示物品/词缀等级(与''Show Item Level''的设置效果相同)。''</span>
The number of displayed characters for an item's name is capped at 56. The internal limit for an item's name includes additional characters for color keywords (3 characters each) and %NL% (2 characters each) and goes up to 125.
For example, a name that uses all 56 text characters and also uses 23 color keywords (69 internal characters) would have an internal size of 125 (56+69) and work as expected, but attempting to add another color will break things.
The cap for item descriptions is much higher at 500 total characters and, unlike for item names, is the same for both displayed characters and internal characters.


<!-- End of "Filter Syntax" category -->
<!-- End of "Filter Syntax" category -->
第439行: 第454行:
| %CONTINUE% || 该项目将与其他规则进行比较,而不是直接基于当前规则显示<br>当前规则的输出被存储在%NAME%中。
| %CONTINUE% || 该项目将与其他规则进行比较,而不是直接基于当前规则显示<br>当前规则的输出被存储在%NAME%中。
|-
|-
| %NL% || 指定一个新的行(行是自下而上构建的)<br>只对''ID NMAG''物品(已鉴定的魔法或更高品质的物品)生效
| %NL% || 指定一个新的行(行是自下而上构建的)<br>只对'''ID !NMAG''', '''RW''', 或 '''SHOP'''物品(已鉴定的魔法或更高品质的物品,符文之语,或商店里面的物品)生效
|-
|-
| {} || 大括号内的内容适用于物品的描述,而不是物品的名称/标题
| {} || 大括号内的内容适用于物品的描述,而不是物品的名称/标题
第1,285行: 第1,300行:
| style="font-size:90%;" | STAT496 || ''map_mon_droparmor''
| style="font-size:90%;" | STAT496 || ''map_mon_droparmor''
|-
|-
| style="font-size:90%;" | STAT497 || ''map_mon_dropcharms''
| style="font-size:90%;" | STAT497 || ''map_mon_dropcrafting''
|-
|-
| style="font-size:90%;" | STAT498 || ''map_glob_extra_boss''
| style="font-size:90%;" | STAT498 || ''map_glob_extra_boss''
第1,296行: 第1,311行:
|-
|-
| style="font-size:90%;" | STAT503 || ''map_glob_dropcorrupted''
| style="font-size:90%;" | STAT503 || ''map_glob_dropcorrupted''
|-
| style="font-size:90%;" | STAT186 || ''map_glob_boss_dropskillers''
|-
| style="font-size:90%;" | STAT187 || ''map_glob_boss_dropcorruptedunique''
|-
| style="font-size:90%;" | STAT505 || ''map_glob_boss_dropfacet''
|-
| style="font-size:90%;" | STAT506 || ''map_mon_dropjewels''
|-
|-
|}
|}
第1,430行: 第1,453行:
|-
|-
| style="font-size:90%;" | STAT184 || ''missing_hp''
| style="font-size:90%;" | STAT184 || ''missing_hp''
|-
| style="font-size:90%;" | STAT185 || ''uber_difficulty''
|-
| style="font-size:90%;" | STAT189 || ''openwounds_stack''
|-
| style="font-size:90%;" | STAT190 || ''curse_slots''
|-
| style="font-size:90%;" | STAT191 || ''item_skillonequip''
|-
| style="font-size:90%;" | STAT213 || ''item_mindamage_energy''
|-
|-
| style="font-size:90%;" | STAT215 || ''item_armorpercent_perlevel''
| style="font-size:90%;" | STAT215 || ''item_armorpercent_perlevel''
第1,643行: 第1,676行:
|-
|-
| STAT88 || ''item_doubleherbduration''
| STAT88 || ''item_doubleherbduration''
|-
| style="font-size:90%;" | STAT185 || ''unused185''
|-
| style="font-size:90%;" | STAT186 || ''unused186''
|-
| style="font-size:90%;" | STAT187 || ''unused187''
|-
| style="font-size:90%;" | STAT189 || ''unused189''
|-
| style="font-size:90%;" | STAT190 || ''unused190''
|-
| style="font-size:90%;" | STAT191 || ''unused191''
|-
|-
| style="font-size:90%;" | STAT192 || ''unused192''
| style="font-size:90%;" | STAT192 || ''unused192''
第1,679行: 第1,700行:
|-
|-
| style="font-size:90%;" | STAT212 || ''unused211''
| style="font-size:90%;" | STAT212 || ''unused211''
|-
| style="font-size:90%;" | STAT213 || ''unused212''
|-
|-
| style="font-size:90%;" | STAT268 || ''item_armor_bytime''
| style="font-size:90%;" | STAT268 || ''item_armor_bytime''
第2,833行: 第2,852行:
|-
|-
| 182 || Stronghold of Acheron
| 182 || Stronghold of Acheron
|-
| 183 || Fallen Gardens
|-
| 184 || Diamond Gate
|}
|}
</li>
</li>
第2,928行: 第2,951行:
| 26 || Attack Rating, Enhanced Damage
| 26 || Attack Rating, Enhanced Damage
|-
|-
| 27 || All Skills
| 27 || All Skills <span class="omod">(Weapons)</span>
|-
|-
| 28 || Fire Mastery, Faster Cast
| 28 || Fire Mastery, Faster Cast
第2,974行: 第2,997行:
| 49 || Curse Resistance <span class="omod">(Chest, Helm, Quiver, Shield)</span>
| 49 || Curse Resistance <span class="omod">(Chest, Helm, Quiver, Shield)</span>
|-
|-
| 50 || All Skills
| 50 || All Skills <span class="omod">(Non-weapons)</span>
|}
|}
</li>
</li>

导航菜单