-
Notifications
You must be signed in to change notification settings - Fork 0
/
.nethackrc
210 lines (177 loc) · 7.43 KB
/
.nethackrc
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
OPTIONS=toptenwin,hilite_pet,!number_pad
OPTIONS=fixinv,safe_pet,sortpack,tombstone,color
OPTIONS=verbose,news
OPTIONS=pickup_types:$
OPTIONS=nomail
OPTIONS=!use_darkgray
OPTIONS=windowtype:curses
OPTIONS=popup_dialog
OPTIONS=splash_screen
OPTIONS=perm_invent
OPTIONS=lit_corridor,dark_room
OPTIONS=menu_objsyms
OPTIONS=pickup_burden:U
OPTIONS=!sparkle
OPTIONS=hitpointbar
OPTIONS=boulder:0
OPTIONS=catname:Tibbles, dogname:Jaws, name:Abers, fruit:piece of stilton
OPTIONS=autoquiver
OPTIONS=time
OPTIONS=autodig
OPTIONS=altmeta
OPTIONS=hilite_pile
OPTIONS=statushilites:10
# Hunger
OPTIONS=hilite_status: hunger/Hungry/brown/Weak/red/Fainting/orange&blink
# Burden
OPTIONS=hilite_status: carrying-capacity/Burdened/brown/Stressed/red/Strained/orange/Overtaxed/bright-red/Overloaded/gray&inverse
# Conditions: Major Troubles
OPTIONS=hilite_status: condition/stone/red&inverse/termill/red&inverse
OPTIONS=hilite_status: condition/strngl/red&inverse
OPTIONS=hilite_status: condition/foodpois/red&inverse/slime/red&inverse
# Conditions: Minor Troubles
OPTIONS=hilite_status: condition/blind/yellow/deaf/yellow
OPTIONS=hilite_status: condition/stun/yellow
OPTIONS=hilite_status: condition/conf/yellow/hallu/bright-magenta
# Gold, Exp, Characteristics
OPTIONS=hilite_status:gold/always/yellow
OPTIONS=hilite_status:experience-level/up/white/down/cyan
OPTIONS=hilite_status:characteristics/up/green/down/red
# HP / PW
OPTIONS=hilite_status:hitpoints/100%/bright-green/<=99%/green
OPTIONS=hilite_status:hitpoints/<=80%/yellow/<=60%/brown/<=40%/orange/<=20%/bright-red&inverse
OPTIONS=hilite_status:power/<=100%/bright-cyan/<=80%/cyan
OPTIONS=hilite_status:power/<=60%/bright-blue/<=40%/blue/<=20%/magenta
OPTIONS=hilite_status:hitpoints-max/always/green/up/bright-green/down/orange
OPTIONS=hilite_status:power-max/always/cyan/up/bright-cyan/down/bright-blue
OPTIONS=menucolors
# Enhance
MENUCOLOR="^ *[a-z] - +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=white
# Random items with known BUC status
MENUCOLOR="blessed"=green
MENUCOLOR="blessed clear potion"=lightcyan
MENUCOLOR="blessed clear potions"=lightcyan
MENUCOLOR="blessed potion called water"=lightcyan
MENUCOLOR="blessed potions called water"=lightcyan
MENUCOLOR="holy"=lightcyan
MENUCOLOR=" cursed"=red
MENUCOLOR="cursed clear potion"=magenta
MENUCOLOR="cursed clear potions"=magenta
MENUCOLOR="cursed potion called water"=magenta
MENUCOLOR="cursed potions called water"=magenta
MENUCOLOR="unholy"=magenta
MENUCOLOR="uncursed"=white
#MENUCOLOR="\+0"=white
#kludge for implicit_ucnursed option
MENUCOLOR="implicit_uncursed"=gray
# Tools and unused items with known enchantments and charges
MENUCOLOR="\([0-9]:.*\)"=yellow
MENUCOLOR="\([0-9]:0\)"=brown
MENUCOLOR="\(-1:0\)"=brown&underline
#MENUCOLOR="\+[1-9]"=yellow
MENUCOLOR="-[1-9]"=magenta
MENUCOLOR="worthless"=brown
MENUCOLOR="named empty"=brown
#markers
MENUCOLOR="blessed .*marker"=lightgreen
MENUCOLOR="blessed .*marker.*1:"=green
MENUCOLOR=" cursed .*marker"=orange
MENUCOLOR=" cursed .*marker.*1:"=red
# Items in use.
MENUCOLOR="\(weapon in .*\)"=white&underline
MENUCOLOR="\(wielded.*\)"=white&underline
MENUCOLOR="\(alternate weapon\)"=white&underline
MENUCOLOR="\(in quiver\)"=white&underline
MENUCOLOR="\(at the ready\)"=white&underline
MENUCOLOR="\(being worn\)"=white&underline
MENUCOLOR="\(embedded in your skin\)"=white&underline
MENUCOLOR="\(on left .*\)"=white&underline
MENUCOLOR="\(on right .*\)"=white&underline
MENUCOLOR="\(in use\)"=white&underline
MENUCOLOR="tethered"=white&underline
# Blessed items in use
MENUCOLOR="blessed .* \(weapon in .*\)"=lightgreen&underline
MENUCOLOR="blessed .* \(wielded.*\)"=lightgreen&underline
MENUCOLOR="blessed .* \(alternate weapon\)"=lightgreen&underline
MENUCOLOR="blessed .* \(in quiver\)"=lightgreen&underline
MENUCOLOR="blessed .* \(at the ready\)"=lightgreen&underline
MENUCOLOR="blessed .* \(being worn\)"=lightgreen&underline
MENUCOLOR="blessed .* \(embedded in your skin\)"=lightgreen&underline
MENUCOLOR="blessed .* \(on left .*\)"=lightgreen&underline
MENUCOLOR="blessed .* \(on right .*\)"=lightgreen&underline
MENUCOLOR="blessed .* \(in use\)"=lightgreen&underline
MENUCOLOR="blessed .* tethered"=lightgreen&underline
# Cursed items in use
MENUCOLOR=" cursed .* \(weapon in .*\)"=orange&underline
MENUCOLOR=" cursed .* \(wielded.*\)"=orange&underline
MENUCOLOR=" cursed .* \(alternate weapon\)"=orange&underline
MENUCOLOR=" cursed .* \(in quiver\)"=orange&underline
MENUCOLOR=" cursed .* \(at the ready\)"=orange&underline
MENUCOLOR=" cursed .* \(being worn\)"=orange&underline
MENUCOLOR=" cursed .* \(embedded in your skin\)"=orange&underline
MENUCOLOR=" cursed .* \(on left .*\)"=orange&underline
MENUCOLOR=" cursed .* \(on right .*\)"=orange&underline
MENUCOLOR=" cursed .* \(in use\)"=orange&underline
MENUCOLOR=" cursed .* tethered"=orange&underline
# Mark potentially dangerous things (and a kludge for BoH looting prompts)
MENUCOLOR=" holding"=lightmagenta
MENUCOLOR="Put .* holding"=gray
MENUCOLOR="Take .* holding"=gray
MENUCOLOR="holding .* empty"=gray
MENUCOLOR="Do what with your .* holding"=gray
MENUCOLOR="Do what with the bag .* holding"=gray
MENUCOLOR="Look inside the .* holding"=gray
MENUCOLOR="stash one item into the .* holding"=gray
MENUCOLOR="tricks"=lightmagenta
MENUCOLOR="cancel"=lightmagenta
MENUCOLOR="vanish"=lightmagenta
# Spell failure rates
MENUCOLOR=" 0% "=lightcyan
MENUCOLOR=" [1-9]% "=lightgreen
MENUCOLOR=" 1[0-9]% "=green
MENUCOLOR=" 2[0-4]% "=green
MENUCOLOR=" 2[5-9]% "=brown
MENUCOLOR=" [34][0-9]% "=brown
MENUCOLOR=" [56][0-9]% "=red
MENUCOLOR=" 7[0-4]% "=red
MENUCOLOR=" 7[5-9]% "=orange
MENUCOLOR=" [89][0-9]% "=orange
MENUCOLOR=" 100% "=orange&underline
MENUCOLOR="[a-zA-Z] - [a-zA-Z ]+ [0-9]\* [a-z]+ +[0-9]+%"=magenta
#lamps
MENUCOLOR="magic lamp"=blue&bold
MENUCOLOR=" \(lit\)"=white&underline
MENUCOLOR="magic lamp \(lit\)"=lightblue&underline
MENUCOLOR="lamp called magic \(lit\)"=lightblue&underline
#food
MENUCOLOR="corpse"=brown
#MENUCOLOR=" tin"=cyan ##Need exceptions for tin wand, tin opener, tin whistle
MENUCOLOR="(meatball|meat ring|meat stick|egg|tripe ration|huge chunk of meat)"=brown
# vegan
MENUCOLOR="(food |cram |K-|C-)ration|gunyoki"=lightgreen
MENUCOLOR="lembas wafer|melon|carrot|tins? .* spinach"=lightgreen
MENUCOLOR=" oranges?( named.*)?$"=lightgreen
MENUCOLOR=" pears?( named.*)?$"=lightgreen
MENUCOLOR=" (apple|banana|kelp|eucalyptus|garlic|wolfsbane)"=lightgreen
MENUCOLOR=" (slime mold|loadboulder)"=lightgreen
MENUCOLOR="(tins? of )?(gelatinous cube|acid blob|quivering blob)( corpse)?"=lightgreen
MENUCOLOR="(tins? of )?(blue|spotted|ochre) jelly( corpse)?"=lightgreen
MENUCOLOR="(tins? of )?lichen|shrieker|violet fungus|(brown|yellow|green|red) mold( corpse)?"=lightgreen
# vegetarian
MENUCOLOR="egg|pancake|fortune cookie|candy bar|royal jelly|cream pie|candle"=green
MENUCOLOR="(tin of )?brown pudding|gray ooze( corpse)?"=green
#Items of interest
MENUCOLOR="blessed unicorn horn"=blue&bold
MENUCOLOR="blessed .* unicorn horn"=blue&bold
MENUCOLOR="blessed stone called luck.*"=blue&bold
MENUCOLOR="blessed luckstone"=blue&bold
MENUCOLOR="lizard corpse"=blue&bold
MENUCOLOR="wand .* wishing"=blue&bold
MENUCOLOR="blessed scroll .* scare monster"=blue&bold
MENUCOLOR="uncursed scroll .* scare monster"=blue
MENUCOLOR=" cursed scroll .* scare monster"=orange
#invocation items
MENUCOLOR=" (Bell of Opening\|silver bell\|Candelabrum of Invocation\|candelabrum\|Book of the Dead\|papyrus spellbook)"=magenta
#money
MENUCOLOR=" gold piece"=yellow
MENUCOLOR="unpaid"=white&bold