-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
.nethackrc
278 lines (253 loc) · 9.31 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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
OPTIONS=number_pad:0
OPTIONS=role:valkyrie
OPTIONS=race:dwarf
OPTIONS=gender:female
OPTIONS=align:lawful
OPTIONS=catname:Snowball
OPTIONS=dogname:Sparky
OPTIONS=horsename:Seabiscuit
OPTIONS=pettype:cat
OPTIONS=fruit:kumquat
OPTIONS=color
OPTIONS=dark_room
OPTIONS=eight_bit_tty
OPTIONS=!sparkle
OPTIONS=standout
OPTIONS=use_darkgray
OPTIONS=use_inverse
OPTIONS=windowtype:curses
OPTIONS=cursesgraphics
OPTIONS=!hilite_pet
OPTIONS=hilite_pile
OPTIONS=perm_invent
OPTIONS=IBMgraphics
OPTIONS=roguesymset:RogueIBM
OPTIONS=!autoopen
OPTIONS=align_message:top
OPTIONS=align_status:bottom
OPTIONS=altmeta
OPTIONS=autodig
OPTIONS=autopickup
OPTIONS=bones
OPTIONS=boulder:0
OPTIONS=checkpoint
OPTIONS=confirm
OPTIONS=disclose:+i +a +v +g +c +o
OPTIONS=extmenu
OPTIONS=fixinv
OPTIONS=hitpointbar
OPTIONS=lit_corridor
OPTIONS=!mail
OPTIONS=msg_window:reversed
OPTIONS=msghistory:60
OPTIONS=!autoquiver
OPTIONS=!cmdassist
OPTIONS=!help
OPTIONS=!ignintr
OPTIONS=!implicit_uncursed
OPTIONS=!legacy
OPTIONS=!lootabc
OPTIONS=!news
OPTIONS=!rest_on_space
OPTIONS=!tombstone
OPTIONS=null
OPTIONS=pickup_burden:stressed
OPTIONS=pickup_types:$
OPTIONS=popup_dialog
OPTIONS=prayconfirm
OPTIONS=pushweapon
OPTIONS=runmode:run
OPTIONS=safe_pet
OPTIONS=showexp
OPTIONS=showrace
OPTIONS=showscore
OPTIONS=silent
OPTIONS=sortpack
OPTIONS=sortloot:loot
OPTIONS=time
OPTIONS=travel
OPTIONS=verbose
SYMBOLS=S_ghost:X
SYMBOLS=S_eel:7
OPTIONS=boulder:0
#MSGTYPE=hide ".*"
MSGTYPE=stop "feel hungry"
MSGTYPE=stop "feel weak"
MSGTYPE=stop "Blecch.*Rotten"
MSGTYPE=hide "You swap places with .*"
MSGTYPE=hide "You start digging."
MSGTYPE=hide "You hit the rock with all your might."
MSGTYPE=hide "You succeed in cutting away some rock."
MSGTYPE=hide "You find a hidden passage."
#MSGTYPE=norep "You see here a .*"
#MSGTYPE=norep "You see here an .*"
MSGTYPE=stop "You are slowing down."
MSGTYPE=stop "You find it hard to breathe."
MSGTYPE=stop "You begin bashing.*"
MSGTYPE=stop "Your .* slips from your hand."
#MSGTYPE=stop "You are turning a little .*"
#MSGTYPE=stop "You are beginning to feel hungry"
MSGTYPE=hide "turns to flee"
#MSGTYPE=hide "You harmlessly attack"
OPTIONS=statushilites:10
OPTIONS=hilite_status:gold/always/yellow
OPTIONS=hilite_status:alignment/lawful/lightgreen
OPTIONS=hilite_status:experience-level/changed/white/cyan
OPTIONS=hilite_status:characteristics/<5/red
OPTIONS=hilite_status:characteristics/>6/orange
OPTIONS=hilite_status:characteristics/>8/brown
OPTIONS=hilite_status:characteristics/>11/yellow
OPTIONS=hilite_status:characteristics/>13/green
OPTIONS=hilite_status:characteristics/>16/cyan
OPTIONS=hilite_status:characteristics/>18/lightblue
OPTIONS=hilite_status:hitpoints/100%/grey&normal
OPTIONS=hilite_status:hitpoints/<100%/green&normal
OPTIONS=hilite_status:hitpoints/<66%/yellow&normal
OPTIONS=hilite_status:hitpoints/<50%/orange&normal
OPTIONS=hilite_status:hitpoints/<33%/red&bold
OPTIONS=hilite_status:hitpoints/<15%/red&inverse
OPTIONS=hilite_status:power/100%/grey&normal
OPTIONS=hilite_status:power/<100%/green&normal
OPTIONS=hilite_status:power/<66%/yellow&normal
OPTIONS=hilite_status:power/<50%/orange&normal
OPTIONS=hilite_status:power/<33%/red&bold
OPTIONS=hilite_status:cap/burdened/yellow&blink/stressed/orange&blink/strained/red&bold&blink/overtaxed/red&inverse&blink/overloaded/red&inverse&blink
OPTIONS=hilite_status:hunger/satiated/yellow/hungry/orange/weak/red&bold&blink/fainting/red&inverse&blink/fainted/red&inverse&blink
OPTIONS=hilite_status:condition/hallu/yellow&blink
OPTIONS=hilite_status:condition/conf/orange&blink
OPTIONS=hilite_status:condition/stun/red&bold&blink
OPTIONS=hilite_status:condition/termill/red&inverse&blink
OPTIONS=hilite_status:condition/foodpois/red&inverse&blink
OPTIONS=hilite_status:condition/slime/red&inverse
OPTIONS=hilite_status:characteristics/up/green/down/red
OPTIONS=hilite_status:gold/up/yellow/down/brown
# Enable menu color options
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_uncursed 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="(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"=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