summaryrefslogtreecommitdiffstats
path: root/crawl-ref/settings/menu_colours.txt
blob: c3a5c092c01694555dd6e5e5de3d0de099b7eb08 (plain) (blame)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Changing colours of items in the inventory and other menus

menu := menu_colour 
ae   := autopickup_exceptions

# Important game items
#
menu = lightmagenta:.*misc.*rune( of Zot)?
menu = lightmagenta:.*orb.*Zot

# Artefacts
menu = white:.*artefact.*

# If Options.menu_colour_prefix_id is set to true, you can 
# differentiate further.
#menu = white:.*identified.*artefact.*
#menu = magenta:.*unidentified.*artefact.*

# Ego items 
#
: if options.menu_colour_prefix_class and options.menu_colour_prefix_id then
menu = lightblue:(^identified armour .* pair of .* of )
menu = lightgrey:(^identified armour .* pair of )
menu = lightblue:(^identified (weapon|armour) .* of )

# Possible egos
menu = lightblue:^unidentified .*weapon.*(runed|glowing)
menu = lightblue:^unidentified .*armour.*(runed|glowing|embroidered|shiny|dyed)

: elseif options.menu_colour_prefix_class then
#Possible egos
menu = lightblue:.*weapon.*(runed|glowing)
menu = lightblue:.*armour.*(runed|glowing|embroidered|shiny|dyed)
:end

# Mummies' potions
#
: if you.race() == "Mummy" then
menu_colour = darkgrey:.*potion.*
: end

# Emergency items 
#
menu = cyan:.*scroll.*(blinking|teleport|fear)
menu = cyan:.*wand.*(teleport|healing|hasting)
menu = cyan:.*potion.*(heal|berserk|speed|resistance)
menu = cyan:.*misc.*[lL]antern

# Good items
#
menu = magenta:.*scroll.*(acquirement)
menu = magenta:.*potion.*(gain (strength|dexterity|intelligence))
menu = magenta:.*potion.*(experience|magic)
: if not you_real_undead() then
menu = magenta:.*potion.*(of mutation)
: else
menu = lightred:.*potion.*(of mutation)
: end

# Dangerous items
#
menu = lightred:.*scroll.*(forgetfulness|torment|curse armour)
menu = lightred:.*scroll.*(immolation|curse weapon)
menu = lightred:.*potion.*(slowing|degeneration|poison|confusion)
menu = lightred:.*potion.*(paralysis|decay)
menu = lightred:.*jewellery.*(inaccuracy|hunger)

# Useless items
#
menu = darkgrey:.*scroll.*(random uselessness|paper|noise)
menu = darkgrey:.*potion.*water

: if you.race() == "Mummy" then
menu = darkgrey:.*jewellery.*(sustenance)
: end

: if you_real_undead() then
menu = darkgrey:.*jewellery.*(regeneration|rage)
: end

: if string.find(you.race(), "Draconian", 0, true) then
menu = darkgrey:.*jewellery.*(controlled flight)
ae   = >amulet.*(controlled flight)
: end

: if you.race() == "Green Draconian" or you.race() == "Naga" then
menu = darkgrey:.*jewellery.*(poison resistance)
ae   = >ring.*(poison resistance)
: end

< if you.race() == "Naga" or
     you.race() == "Spriggan" or
     you.race() == "Vampire" then >
menu = darkgrey:.*jewellery.*(see invis)
ae   = >ring.*(see invis)
:end

: if you.race() == "Spriggan" then
menu = darkgrey:.*jewellery.*(sustenance)
ae   = >ring.*(sustenance)
:end

# need to save and restore after temple if you get trog later
: if you.god() == "Trog" then
menu = darkgrey:.*jewellery.*(rage|wizardry)
ae   = >amulet.*(rage)
ae   = >ring.*(wizardry)
: end

# Exceptions
#
menu = yellow:.*potion.*(porridge|gluggy white)

# Defaults for normal items
#
menu = lightred:.*equipped.*cursed
menu = lightgreen:.*equipped.*
menu = green:uncursed
menu = red:cursed
menu = lightgrey:^(scroll|potion|ring|amulet)