1 # -*- hengband-pickpref -*-
3 # Preference of the Object Auto-picker/Destroyer
7 # ESC ^Q : Command mode
8 # q _ : Quit (command mode only)
9 # hjkl2468 : Move (command mode only)
10 # ^B ^N ^P ^F : Move (always)
11 # ^I : Choose from inventry/equipment
12 # ^S : pick up / destroy / leave on floor
13 # ^U : identified / unidentified / ...
14 # ^L : Insert name of the last auto-destroyed item.
15 # '/' : Search string, or search an item specified by ^I or ^L.
17 # 'N' : Search previous
20 # Redefine colors here. Colors in "pref.prf" doesn't seem to be
21 # applied. Possibly a bug?
22 V:6:0x01:0x60:0x60:0xFE
24 #===============================================================
25 # Class specific configurations: they should have the highest
27 #===============================================================
28 %:pick.d/classes/archer.prf
29 %:pick.d/classes/magic-eater.prf
30 %:pick.d/classes/mirror-master.prf
31 %:pick.d/classes/monk.prf
32 %:pick.d/classes/ninja.prf
34 #===============================================================
36 #===============================================================
40 mushroom of restoring#!k!s!d
45 #===============================================================
47 #===============================================================
49 # No players would rely on torches. Just leave them on the floor.
52 # Level 1..25: Players usually have no permanent light sources and
53 # they rely on lanterns.
54 ?:[NOT [GEQ $LEVEL 25]]
59 # Level 25..: Players usually have permanent light sources, and they
60 # are often artifacts. Leave lanterns and feanorian lamps on the
61 # floor, even if they are ego.
69 #===============================================================
71 #===============================================================
72 phial of galadriel#%all;@A0!!
79 #===============================================================
81 #===============================================================
94 # Unidentified missiles are potentially useful.
97 #===============================================================
99 #===============================================================
101 # Ego or artifact broken daggers or swords are repairable. Always pick
104 artifact weapons:broken
106 # We don't want to discard rare weapons or armors even if they aren't
108 !worthless weapons:blade of chaos
109 weapons:blade of chaos
111 weapons:poison needle
112 shields:mirror shield#%all!k
115 armors:elvenkind#%all
119 # Discard boring weapons and armors depending on the player level.
120 # TODO: Move the Weaponsmith to the class-specific file.
121 ?:[AND [GEQ $LEVEL 10] [NOT [EQU $CLASS Weaponsmith]]]
125 ?:[AND [GEQ $LEVEL 25] [NOT [EQU $CLASS Weaponsmith]]]
129 ?:[AND [GEQ $LEVEL 30] [NOT [EQU $CLASS Weaponsmith]]]
130 # We don't need "Sword of Slay Human" but we may need "Sword of
132 ~ego weapons:of slaying
136 # Unidentified weapons are potentially useful. Pick them all.
140 #===============================================================
142 #===============================================================
144 potion of resist cold
145 potion of resist heat
146 potion of cure critical wounds#@q0
149 potion of resistance#!*
151 potion of *healing*#!*
153 potion of enlightenment#!*
155 potion of self knowledge#!*
156 potion of new life#!*
158 potion of strength#!k
160 potion of dexterity#!k
161 potion of constitution#!k
162 potion of intelligence#!k
163 potion of charisma#!k
165 potion of restore life levels#!k!s!d
166 ~potion of restore charisma
168 !potion of apple juice
170 !potion of cure light wounds
171 !potion of infra-vision
172 !potion of neo-tsuyoshi special
173 !potion of neutralize poison
174 !potion of slime mold juice
175 !potion of slow poison
178 #===============================================================
180 #===============================================================
183 scroll of phase door#@r0
186 scroll of teleportation#@r1
187 scroll of teleport level#!k!s!r
189 scroll of monster confusion#!k@r2
190 ~scroll of identify#@r8
191 scroll of *identify*#!r
193 # Players may be relying on Rod of Recall. If they aren't collecting
194 # the scrolls leave them on the floor. If they are, pick them with a
195 # specific inscription.
196 collecting:scroll of word of recall
197 ~scroll of word of recall#!k!d!r@r9
199 scroll of destruction#!*
200 scroll of *destruction*#!*
201 scroll of acquirement#!*
202 scroll of genocide#!*
203 scroll of mundanity#!*
204 scroll of recharging#!*
205 scroll of reset recall#!*
207 !scroll of curse weapon
208 !scroll of curse armor
211 #===============================================================
213 #===============================================================
216 wand of stone to mud#!k!s
217 wand of teleport other#!k!s
218 wand of disintegrate#!k!s
220 wand of dragon's flame#!k!s
221 wand of dragon's frost#!k!s
223 # Magic-eaters should pick every wand except for truly useless ones.
224 ?:[EQU $CLASS Magic-Eater]
227 # Otherwise leave these wands on the floor.
228 ?:[NOT [EQU $CLASS Magic-Eater]]
229 ~wand of drain life#!k!s
230 ~wand of confuse monster
231 ~wand of sleep monster
234 #===============================================================
236 #===============================================================
237 staff of trap location#!k@u0
238 staff of detect evil#!k!s@u1
239 staff of perception#!k@u8
242 staff of healing#!k!s!d
243 staff of power#!k!s!d
245 staff of *destruction*#!*
247 # Magic-eaters should pick every staff.
248 ?:[EQU $CLASS Magic-Eater]
249 magical devices:staff
252 #===============================================================
254 #===============================================================
255 rod of trap location#!k@z0
256 rod of detection#!k!s@z0!!
257 rod of illumination#!k@z1
259 rod of perception#!k!s!d@z8!!
263 rod of recall#!k!s!d!z@z9!!
264 rod of stone to mud#!k!s
269 rod of lightning balls
271 # Magic-eaters should pick every rod.
272 ?:[EQU $CLASS Magic-Eater]
275 # Otherwise leave these wands on the floor.
276 ?:[NOT [EQU $CLASS Magic-Eater]]
280 ~rod of lightning bolts
282 ~rod of confuse monster#!k!s
283 ~rod of sleep monster
286 #===============================================================
288 #===============================================================
290 # Some rings are totally worthless, like Ring of Protection [-5].
294 identified:ring of nether resistance#%all
295 identified:ring of speed#!k!s!d
298 # Ring of teleportation is a bad item.
299 !ring of teleportation
301 # Some rings may have some value but are not worth wearing.
307 # Unidentified rings are always worth identifying, unless they are
308 # known to be useless.
311 #===============================================================
313 #===============================================================
315 # Some amulets are totally worthless, like Amulet of Strength [-5].
318 # Amulet of Charisma may be worth selling in the early game, but soon
319 # becomes completely worthless.
324 amulet of resistance#%all
329 !amulet of teleportation
331 # Useful but dangerous at the same time.
332 amulet of anti-magic#!w!k!s
333 amulet of anti-teleportation#!w!k!s
335 # Unidentified amulets are always worth identifying, unless they are
336 # known to be useless.
339 #===============================================================
341 #===============================================================
343 ~first realm's first spellbooks#@ma!k
344 ~first realm's second spellbooks#@mb!k
345 first realm's third spellbooks#@mc!k
346 first realm's fourth spellbooks#@md!k
348 ~second realm's first spellbooks#@me!k
349 ~second realm's second spellbooks#@mf!k
350 second realm's third spellbooks#@mg!k
351 second realm's fourth spellbooks#@mh!k
353 # We want to pick up expensive unreadable books for money. Note that
354 # Arcane and Kendo ones are cheap.
355 !unreadable first spellbooks
356 !unreadable second spellbooks
358 !unreadable third spellbooks:arcane
359 !unreadable third spellbooks:kendo
360 unreadable third spellbooks
362 ~unreadable fourth spellbooks:arcane
363 ~unreadable fourth spellbooks:kendo
364 unreadable fourth spellbooks
366 #===============================================================
368 #===============================================================
370 # Statues are useless but some are expensive.
378 #===============================================================
380 #===============================================================
384 #===============================================================
385 # Corpses or Skeletons
386 #===============================================================
387 wanted corpses or skeletons#!k
389 #===============================================================
391 #===============================================================
393 # Auto-inscribe resistances.
394 ~*identified* artifact items#%all
395 ~*identified* ego items#%all
402 #===============================================================
404 #===============================================================
411 # Pick all the non-junks until the player reaches a specific level.