Item Filtering:修订间差异

跳转到导航 跳转到搜索
第356行: 第356行:
|}
|}


==== Notification Keywords ====
==== 通知 关键字 ====
[[File:MapNotificationColors.png|thumb|Minimap Icon Colors]]
[[File:MapNotificationColors.png|thumb|Minimap Icon Colors]]
These keywords add the item to the notification list and create a minimap icon for it.
这些关键词将物品目添加到通知列表中,并为其创建一个迷你地图图标。


The color of the minimap icon corresponds to the keyword's hexadecimal 2-digit color code. The icon may be black (00), green (84), red (62), or any of the other colors shown in the chart image. Note that '''%MAP%''' may be used without a 2-digit color code, in which case the icon will use the current text color (or white if no color has been set).
迷你地图图标的颜色与关键词的十六进制2位颜色代码相对应。图标可以是黑色(00)、绿色(84)、红色(62),或图表中显示的任何其他颜色。请注意,'''%MAP%''可以不使用2位数的颜色代码,在这种情况下,图标将使用当前的文本颜色(如果没有设置颜色,则使用白色)。
 
多个关键词可以一起使用,以创建多色的迷你地图图标。


Multiple keywords can be used together to create multi-colored minimap icons.


{| class="wikitable"
{| class="wikitable"
! Code !! Details
! 代码 !! 详情
|-
|-
| %BORDER-00% || notification & minimap icon (large)
| %BORDER-00% || 通知 & 迷你地图图标 ()
|-
|-
| %MAP-00% || notification & minimap icon (medium)
| %MAP-00% || 通知 & 迷你地图图标 (中等)
|-
|-
| %DOT-00% || notification & minimap icon (small)
| %DOT-00% || 通知 & 迷你地图图标 ()
|-
|-
| %PX-00% || notification & minimap icon (tiny)
| %PX-00% || 通知 & 迷你地图图标 (最小)
|}
|}


The 2-digit hexadecimal codes which correspond to the [[Item_Filtering#Colors|text colors]] are listed below. Text colors have a solid inner color and their edges are blended to improve readability, so their average colors appear slightly different in some cases.
[[Item_Filtering#Colors|text colors]]相对应的2位十六进制代码列在下面。文本颜色有一个固定的内部机制,它们的边缘平滑处理以提高清晰度,所以它们的正常颜色在某些情况下看起来略有不同。
{| class="wikitable"
{| class="wikitable"
! Text Color !! Hex (Inner) !! Hex (Average)
! 文本颜色 !! Hex (内部) !! Hex (常规)
|-
|-
| <span class="d2-white">White</span> || 1F || 20
| <span class="d2-white">White</span> || 1F || 20
第415行: 第416行:
<br>
<br>


The following keyword only applies if '''Detailed Notifications''' is disabled, which is not recommended. To disable text notifications for items while keeping their minimap icons, use '''%TIER-0%''' instead.
以下关键词只适用于'''详细通知'''被禁用的情况,不推荐使用。要禁用项目的文字通知,同时保留它们的迷你地图图标,请使用'''%TIER-0%'''代替


{| class="wikitable"
{| class="wikitable"
! Code !! Details
! Code !! Details
|-
|-
| %NOTIFY-0% || changes the item's text notification color
| %NOTIFY-0% || 改变物品的文本通知颜色
|-
|-
| %NOTIFY-DEAD% || disables text notifications for the item
| %NOTIFY-DEAD% || 禁用该物品的文本通知
|}
|}


The ''NOTIFY'' keyword may use a 1-digit color code (0-F) which corresponds to these colors in order: WHITE, RED, GREEN, BLUE, GOLD, GRAY, BLACK, TAN, ORANGE, YELLOW, DARK_GREEN, PURPLE, GREEN, WHITE, BLACK, WHITE. If ''DEAD'' is used instead of a color code, the item's notifications will be disabled instead.
''NOTIFY''关键词可以使用1位数的颜色代码(0-F),依次对应于这些颜色: 白,红,绿,蓝,金,灰,黑,棕,橙,黄,深绿,紫,绿,白,黑,白。如果用''DEAD''来代替颜色代码,该物品的通知将被禁用。


Most filters are made to be used with '''Detailed Notifications''', so ''NOTIFY'' is incompatible with them. Note that without '''Detailed Notifications''' enabled, '''Drop Notifications''' will only apply to items when they initially drop (prior to being picked up for the first time).
大多数过滤器都是为了与''详细通知''一起使用,所以''通知''与它们不兼容。请注意,如果没有启用''详细通知''''掉落通知''将只适用于物品最初掉落时(在第一次被拾起之前)。




All notification keywords bypass the normal rule-handling procedure. Normally, the rules are processed top-to-bottom and this process halts when a matching rule (without '''%CONTINUE%''') is found. Notification keywords, however, can apply even after the process has halted. This is most likely due to the game making a separate pass through the filter file for notification keywords - the first pass ignores notification keywords, and the second pass ignores everything else.
所有的通知关键字都绕过了正常的规则处理程序。通常,规则是从上到下处理的,当找到一个匹配的规则(没有''%CONTINUE%'')时,这个过程就会停止。然而,通知关键字甚至可以在该过程停止后适用。这很可能是由于游戏对通知关键字的过滤文件进行了单独的处理--第一次处理忽略了通知关键字,第二次处理忽略了其他的东西。


==== 特殊 关键字 ====
==== 特殊 关键字 ====