Item Filtering:修订间差异

跳转到导航 跳转到搜索
第197行: 第197行:
== Filter Strictness ==
== Filter Strictness ==
[[File:filter_strictness_default.png|thumb|Default Filter Strictness Levels]]
[[File:filter_strictness_default.png|thumb|Default Filter Strictness Levels]]
Filter levels can be selected from the in-game settings menu and will change which rules/notifications are enabled based on the FILTLVL/TIER codes used in the filter. By default, there are two levels: "Standard" and "Show All Items". The "Standard" level is the normal filter behavior that would be seen without any filter level changes, whereas "Show All Items" will just prevent any items from being filtered out (hidden).
过滤级别可以从游戏内的设置菜单中选择,并将根据过滤器中使用的FILTLVL/TIER代码来改变哪些规则/通知被启用。默认情况下,有两个级别: "标准""显示所有物品""标准"级别是正常的过滤器行为,在没有任何过滤器级别变化的情况下会看到,而 "显示所有物品 "将只是防止任何项目被过滤掉(隐藏)。


To enable custom filter levels, use the following format at the top of the filter:
要启用自定义过滤器级别,在过滤器文本的顶部使用以下格式:


<code>ItemDisplayFilterName[]: Low Strictness</code> <span style="color:gray;">''Adds a new filter strictness level named "Low Strictness"''</span>
<code>ItemDisplayFilterName[]: Low Strictness</code> <span style="color:gray;">''增加了一个新的过滤器筛选级别,命名为 "Low Strictness"''</span>


<code>ItemDisplayFilterName[]: Medium Strictness</code> <span style="color:gray;">''Adds a new filter strictness level named "Medium Strictness"''</span>
<code>ItemDisplayFilterName[]: Medium Strictness</code> <span style="color:gray;">''增加了一个新的过滤器筛选级别,命名为"Medium Strictness"''</span>


<code>ItemDisplayFilterName[]: High Strictness</code> <span style="color:gray;">''Adds a new filter strictness level named "High Strictness"''</span>
<code>ItemDisplayFilterName[]: High Strictness</code> <span style="color:gray;">''增加了一个新的过滤器筛选级别,命名为"High Strictness"''</span>




In addition to level 0 ("Show All Items") which is always available, up to 9 other levels can be enabled and the order in which they're listed at the top of the filter determines which number will reference them when used with the FILTLVL/TIER codes (e.g. '''''FILTLVL=1''''' and '''''%TIER-1%''''' for the first custom level).
除了始终可用的0级("显示所有物品")之外,最多可以启用9个其他级别,它们在过滤器顶部列出的顺序决定了在与FILTLVL/TIER代码一起使用时,哪个数字将引用它们(例如,'''''FILTLVL=1''''''''''%TIER-1%''''',用于第一个自定义级别)。


These codes can be used to create separate versions of the same filter with varying levels of strictness, make separate versions which includes extra info so that players can more easily reference niche item info without it cluttering item tooltips during normal gameplay (the levels could be swapped to when needed), or even combine drastically different filters into one just so they can be more easily swapped between.
These codes can be used to create separate versions of the same filter with varying levels of strictness, make separate versions which includes extra info so that players can more easily reference niche item info without it cluttering item tooltips during normal gameplay (the levels could be swapped to when needed), or even combine drastically different filters into one just so they can be more easily swapped between.
这些代码可以用来创建具有不同筛选等级的同一过滤器的独立版本(在需要时可以交换级别),包括额外信息的独立版本,制作让玩家可以更容易地参考的不常见物品的信息提示工具,让玩家在正常游戏中不会混淆物品。或者甚至将完全不同的过滤器合并成一个,以便它们可以更容易地在不同的场景地交换着使用。


<code>ItemDisplay[yps FILTLVL>1]:</code> <span style="color:gray;">''Hides Antidote Potions if filter level 2+ is selected''</span>


<code>ItemDisplay[MAG !ID cm1]: %NAME%%TIER-2%%DOT-97%</code> <span style="color:gray;">''Shows notifications for unidentified magic small charms if filter level 2 or lower is selected (still shows map icons at all levels)''</span>
<code>ItemDisplay[yps FILTLVL>1]:</code> <span style="color:gray;">''当过滤等级设置为2或者更高级别时,隐藏解毒药水''</span>


<code>ItemDisplay[MAG !ID cm1]: %NAME%%TIER-2%%DOT-97%</code> <span style="color:gray;">''如果选择了2级或更低的过滤级别,则显示未鉴定的魔法小符的通知(所有级别下仍会显示小地图图标)''</span>


If a rule doesn't include '''''FILTLVL''''' as a condition, it won't be restricted by whatever filter level is selected.


If a rule includes a [[Item_Filtering#Notification_Keywords|notification keyword]] and ''doesn't'' include a TIER keyword, it'll act as if '''''%TIER-9%''''' is included - it'll notify at all filter levels instead of being restricted by whatever filter level is selected.
如果一条规则不包括'''''FILTLVL''''' 作为条件,那么无论选择什么过滤级别,它都不会受到限制。
 
如果一个规则包括[[Item_Filtering#Notification_Keywords|notification keyword]],但''''包括TIER关键字,它将像'''''%TIER-9%''''' 那样运作:它将在所有过滤级别上发出通知,而不是受限于所选的任何过滤级别


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