-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.rs2f
More file actions
50 lines (43 loc) · 983 Bytes
/
Copy pathindex.rs2f
File metadata and controls
50 lines (43 loc) · 983 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*@ define:module:readme
name: README
description: |
# example-filter
Example loot filter that allows you to configure highlighted and hidden
items.
Highlight/hides, when configured through alt-clicks in the game world, will
take precedence over all settings in this filter.
*/
/*@ define:module:highlight
name: Highlight
description: |
Configure items to highlight.
*/
/*@ define:input:highlight
type: stringlist
label: Highlight items
*/
#define VAR_HIGHLIGHT_ITEMS []
/*@ define:input:highlight
type: style
label: Item highlight style
*/
#define VAR_HIGHLIGHT_STYLE \
textColor = "#ff0000";\
borderColor = "#ff0000";\
backgroundColor = "#80101010";
rule (name:VAR_HIGHLIGHT_ITEMS) {
VAR_HIGHLIGHT_STYLE
}
/*@ define:module:hide
name: Hide
description: |
Configure items to hide.
*/
/*@ define:input:hide
type: stringlist
label: Hide items
*/
#define VAR_HIDE_ITEMS ["Coins", "Ashes", "Vial", "Seaweed"]
rule (name:VAR_HIDE_ITEMS) {
hidden = true;
}