summaryrefslogtreecommitdiffstats
path: root/nethackrc
blob: f351c321143c4b4d9c5217b81dc95ee4fe336763 (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
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
# improve the consistency of telnet ping/pong
OPTIONS=!sparkle
OPTIONS=runmode:teleport
OPTIONS=!timed_delay

# display
OPTIONS=showexp
OPTIONS=showscore
OPTIONS=time
OPTIONS=color
OPTIONS=boulder:0
OPTIONS=!tombstone
OPTIONS=!news
OPTIONS=!legacy
OPTIONS=suppress_alert:3.4.3
OPTIONS=hilite_pet
OPTIONS=hilite_pile
OPTIONS=hitpointbar
OPTIONS=lit_corridor
OPTIONS=msg_window:full
OPTIONS=pile_limit:0

# functionality
OPTIONS=autopickup
OPTIONS=pickup_types:$"?!=/
OPTIONS=pickup_burden:unburdened
OPTIONS=paranoid_confirmation:none
OPTIONS=pettype:none
OPTIONS=!cmdassist
OPTIONS=disclose:yi +avgco
OPTIONS=!number_pad

# miscellaneous
OPTIONS=!mail

# map changes for code simplicity
SYMBOLS=S_mimic_def:m
SYMBOLS=S_ghost:X
SYMBOLS=S_worm_tail:w
# "strange monster" = m (mimic)
# ghost/shade = X     now space is solid rock
# worm tail = w       now ~ is water

SYMBOLS=S_web:^
# spider web = ^      now " is amulet

SYMBOLS=S_sink:{
SYMBOLS=S_hcdbridge:}
SYMBOLS=S_vcdbridge:}
SYMBOLS=S_bars:}
SYMBOLS=S_tree:}
SYMBOLS=S_hcdoor:]
SYMBOLS=S_vcdoor:]
SYMBOLS=S_grave:\\
SYMBOLS=S_pool:~
SYMBOLS=S_water:~
SYMBOLS=S_lava:~
#  sink => {          one less #, walkable
#  drawbridge => }    one less #, not walkable
#  iron bars => }     one less #, not walkable (color: cyan)
#  trees => }         one less #, not walkable (color: green)
#  closed doors => ]  now + is spellbook
#  grave => \         now gray | and - are walls, (grey -- thrones)
#  water => ~         it looks cool (blue -- long worm tail)

OPTIONS=statushilites:1
OPTIONS=hilite_status:carrying-capacity/burdened/yellow
OPTIONS=hilite_status:carrying-capacity/stressed/red
OPTIONS=hilite_status:carrying-capacity/strained/orange
OPTIONS=hilite_status:carrying-capacity/overtaxed/orange
OPTIONS=hilite_status:carrying-capacity/overloaded/orange
OPTIONS=hilite_status:hitpoints/<100%/green
OPTIONS=hilite_status:hitpoints/<50%/yellow
OPTIONS=hilite_status:hitpoints/<33%/red
OPTIONS=hilite_status:hitpoints/<25%/orange
OPTIONS=hilite_status:hitpoints/<15%/black
OPTIONS=hilite_status:hitpoints/100%/normal
OPTIONS=hilite_status:hitpoints/<5/black
OPTIONS=hilite_status:power/<100%/lightcyan
OPTIONS=hilite_status:power/<50%/lightmagenta
OPTIONS=hilite_status:power/<33%/magenta
OPTIONS=hilite_status:power/100%/normal
OPTIONS=hilite_status:hunger/satiated/green
OPTIONS=hilite_status:hunger/hungry/yellow
OPTIONS=hilite_status:hunger/weak/red
OPTIONS=hilite_status:hunger/fainting/orange
OPTIONS=hilite_status:hunger/fainted/orange
OPTIONS=hilite_status:hunger/starved/orange
OPTIONS=hilite_status:condition/major_troubles/orange
OPTIONS=hilite_status:condition/minor_troubles/yellow
OPTIONS=hilite_status:condition/movement/blue

OPTIONS=menucolors

# ascension kit
MENUCOLOR=" bag .* holding"=magenta
MENUCOLOR=" luck(stone)?($| )"=magenta
MENUCOLOR=" wand .* wish(ing)?($| )"=magenta
MENUCOLOR=" magic marker"=magenta
MENUCOLOR=" magic lamp|lamp .* magic"=magenta
MENUCOLOR=" unicorn horn[^[]*$"=magenta
MENUCOLOR=" ring .* conflict"=magenta
MENUCOLOR=" ring .* free action($| )"=magenta
MENUCOLOR=" ring .* tele(port)? control($| )"=magenta
MENUCOLOR=" ring .* lev(itation)?($| )"=magenta
MENUCOLOR=" scrolls? .* charging($| )"=magenta
MENUCOLOR=" amulet .* life saving($| )"=magenta
MENUCOLOR=" amulet .* ref(lection)?($| )"=magenta
MENUCOLOR=" c(o|hi)ckatrice (corpse|egg)"=magenta
MENUCOLOR=" stethoscope"=magenta
MENUCOLOR=" key($| )"=magenta

# items that need to be fixed
MENUCOLOR=" cursed.* bag .* holding"=red
MENUCOLOR=" cursed.* luck(stone)?($| )"=red
MENUCOLOR=" cursed.* unicorn horn"=red
MENUCOLOR=" cursed.* (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)"=red
MENUCOLOR=" load(stone)?($| )"=red

# magic items
MENUCOLOR="piece of cloth|opera cloak|ornamental cope|tattered cape"=blue
MENUCOLOR="plumed helmet|etched helmet|crested helmet|visored helmet"=blue
MENUCOLOR="(old|padded|riding|fencing) gloves"=blue
MENUCOLOR="(mud|buckled|riding|snow|hiking|combat|jungle) boots"=blue

# items to keep out of bags of holding
MENUCOLOR=" bag .* tricks"=red&bold
MENUCOLOR=" wand .*[^!]canc"=red&bold
MENUCOLOR=" wand .* vanish"=red&bold

# spell failure
MENUCOLOR=" 0% "=white
MENUCOLOR=" [1-9]% "=cyan
MENUCOLOR=" [12][0-9]% "=cyan
MENUCOLOR=" [3-6][0-9]% "=yellow
MENUCOLOR=" 7[0-5]% "=yellow
MENUCOLOR=" 7[6-9]% "=orange
MENUCOLOR=" 8[0-9]% "=orange
MENUCOLOR=" 9[0-9]% "=red
MENUCOLOR=" 100% "=red
MENUCOLOR="[a-zA-Z ]+ [0-9]\*   [a-z]+ +[0-9]+%"=magenta

# fix mistakenly highlighted menu items
MENUCOLOR=" is empty. Do what?"=no color
MENUCOLOR="Put something into .*"=no color
MENUCOLOR="Take something out of .*"=no color
MENUCOLOR="unicorn horn.*(Unskilled|Basic|Skilled|Expert)"=no color
MENUCOLOR="Info on what a given key does."=no color
MENUCOLOR="Full list of keyboard commands."=no color
MENUCOLOR="altkeyhandler"=no color
MENUCOLOR="fruit.*\["=no color

# emergencies
MSGTYPE=stop "The (couatl.*eel|kraken) swings itself around you!"
MSGTYPE=stop "The python grabs you!"
MSGTYPE=stop "You don't feel very well"
MSGTYPE=stop "You are turning a little green"
MSGTYPE=stop "Your limbs are getting oozy"
MSGTYPE=stop "Your skin begins to peel away"
MSGTYPE=stop "You are turning into a green slime"
MSGTYPE=stop "You are slowing down"
MSGTYPE=stop "Your limbs are stiffening"
MSGTYPE=stop "It constricts your throat!"
MSGTYPE=stop "You find it hard to breathe"
MSGTYPE=stop "You're gasping for air"
MSGTYPE=stop "Your blood is having trouble reaching your brain"
MSGTYPE=stop "You can no longer breathe"
MSGTYPE=stop "You're turning blue"
MSGTYPE=stop "Your consciousness is fading"
MSGTYPE=stop "You feel deathly sick"
MSGTYPE=stop "You feel much worse"
MSGTYPE=stop "You feel even worse"

# vibrating square
MSGTYPE=stop "You feel a strange vibration beneath "
MSGTYPE=stop "You feel a strange vibration under your "