]> gitweb @ CieloNegro.org - sugar.git/blobdiff - dot-files/_angband/Hengband/pickpref_prf
Auto commit by The Sugar System.
[sugar.git] / dot-files / _angband / Hengband / pickpref_prf
index 12f5a0e5254b56a8c5e4b66cac2265fea957ad19..e00013890a896c4ce73c0f2a95fdd8dbcefbcec9 100644 (file)
@@ -1,5 +1,6 @@
+# -*- hengband-pickpref -*-
 #
-# Sample Preference of the Object Auto-picker/Destroyer
+# Preference of the Object Auto-picker/Destroyer
 #
 # Important commands
 #  a i ^Q      :  Insert mode
 #  'N' : Search previous
 #
 
-#============================
-#  Food
-#============================
+# Redefine colors here. Colors in "pref.prf" doesn't seem to be
+# applied. Possibly a bug?
+V:6:0x01:0x60:0x60:0xFE
+
+#===============================================================
+#  Class specific configurations: they should have the highest
+#  preference.
+#===============================================================
+%:pick.d/classes/archer.prf
+%:pick.d/classes/magic-eater.prf
+%:pick.d/classes/mirror-master.prf
+%:pick.d/classes/monk.prf
+%:pick.d/classes/ninja.prf
+
+#===============================================================
+#  Foods
+#===============================================================
 ration of food#@E0
 elvish waybread#@E0
 
-#============================
+mushroom of restoring#!k!s!d
+~mushroom of restore
+
+#===============================================================
+#  Light sources
+#===============================================================
+
+# No players would rely on torches. Just leave them on the floor.
+~Wooden Torch
+
+# Level 1..25: Players usually have no permanent light sources and
+# they rely on lanterns.
+?:[NOT [GEQ $LEVEL 25]]
+Brass Lantern
+Flask of oil
+Feanorian Lamp
+
+# Level 25..: Players usually have permanent light sources, and they
+# are often artifacts. Leave lanterns and feanorian lamps on the
+# floor, even if they are ego.
+?:[GEQ $LEVEL 25]
+~Brass Lantern
+~Flask of oil
+~Feanorian Lamp
+
+?:1
+
+#===============================================================
+#  Artifacts
+#===============================================================
+phial of galadriel#%all;@A0!!
+
+stone of lore#!s!d@A8
+A:\e\e\\A8\e(
+P:^e
+
+#===============================================================
 #  Archery
-#============================
+#===============================================================
 !arrow of flame
 !arrow of frost
 !arrow of holy might
@@ -37,72 +88,49 @@ elvish waybread#@E0
 seeker arrow#!k@f1
 long bow
 
-#============================
-#  Teleportation
-#============================
-scroll of phase door#@r0
-A:\e\e\\r0
-P:\t
-scroll of teleportation#@r1
-scroll of teleport level#!k!s!r
-!ring of teleportation
-amulet of anti-teleportation#!w!k!s
-
-#============================
-#  Identification
-#============================
-scroll of identify#@r8
-staff of perception#!k@u8
-rod of perception#!k!s!d@z8!!
-A:\e\e\\z8(
-P:,
-stone of lore#!s!d@A8
-A:\e\e\\A8\e(
-P:^e
-
-#============================
-#  Recall
-#============================
-rod of recall#!k!s!d!z@z9!!
-scroll of word of recall#!k!d!r@r9
-
-#============================
-#  Detection
-#============================
-rod of trap location#!k@z0
-rod of detection#!k!s@z0!!
-staff of trap location#!k@u0
-staff of detect evil#!k!s@u1
+# Unidentified missiles are potentially useful.
+unidentified missiles
 
-#============================
-#  Illumination
-#============================
-phial of galadriel#%all;@A0!!
-rod of illumination#!k@z1
+#===============================================================
+#  Weapons and Armors
+#===============================================================
+
+# Ego or artifact broken daggers or swords are repairable. Always pick
+# them.
+ego weapons:broken
+artifact weapons:broken
+
+# We don't want to discard rare weapons or armors even if they aren't
+# ego.
+!worthless weapons:blade of chaos
+weapons:blade of chaos
+shields:mirror shield#!k
+weapons:poison needle
+armors:dragon#%all
+armors:mythril
 
-#============================
-#  Boosting speed
-#============================
-potion of speed#!*
-staff of speed#!*
+# Discard boring weapons and armors depending on the player level.
+# TODO: Move the Weaponsmith to the class-specific file.
+?:[AND [GEQ $LEVEL 10] [NOT [EQU $CLASS Weaponsmith]]]
+!average weapons
+!average armors
 
-#============================
-#  Acquirement
-#============================
-scroll of acquirement#!*
+?:[AND [GEQ $LEVEL 25] [NOT [EQU $CLASS Weaponsmith]]]
+!good weapons
+!good armors
+?:1
 
-#============================
-#  Destruction
-#============================
-scroll of destruction#!*
-scroll of *destruction*#!*
-staff of *destruction*#!*
+# Unidentified weapons are potentially useful. Pick them all.
+unidentified weapons
+unidentified armors
 
-#============================
+#===============================================================
 #  Potions
-#============================
+#===============================================================
+potion of heroism
 potion of cure critical wounds#@q0
 
+potion of speed#!*
 potion of resistance#!*
 potion of healing#!*
 potion of *healing*#!*
@@ -119,17 +147,54 @@ potion of constitution#!k
 potion of intelligence#!k
 potion of charisma#!k
 
-#============================
+potion of restore life levels#!k!s!d
+~potion of restore charisma
+
+!potion of apple juice
+!potion of boldness
+!potion of cure light wounds
+!potion of infra-vision
+!potion of neo-tsuyoshi special
+!potion of neutralize poison
+!potion of slime mold juice
+!potion of slow poison
+!potion of water
+
+#===============================================================
 #  Scrolls
-#============================
+#===============================================================
+
+# Teleportation
+scroll of phase door#@r0
+A:\e\e\\r0
+P:\t
+scroll of teleportation#@r1
+scroll of teleport level#!k!s!r
+
 scroll of monster confusion#!k@r2
+scroll of identify#@r8
+
+# Players may be relying on Rod of Recall. If they aren't collecting
+# the scrolls leave them on the floor. If they are, pick them with a
+# specific inscription.
+collecting:scroll of word of recall
+~scroll of word of recall#!k!d!r@r9
+
+scroll of destruction#!*
+scroll of *destruction*#!*
+scroll of acquirement#!*
 scroll of genocide#!*
+scroll of mundanity#!*
 scroll of recharging#!*
 scroll of reset recall#!*
 
-#============================
+!scroll of curse weapon
+!scroll of curse armor
+!scroll of rumour
+
+#===============================================================
 #  Wands
-#============================
+#===============================================================
 !wand of wonder
 
 wand of stone to mud#!k!s
@@ -150,20 +215,36 @@ magical devices:wand
 ~wand of sleep monster
 ?:1
 
-#============================
+#===============================================================
 #  Staffs
-#============================
+#===============================================================
+staff of trap location#!k@u0
+staff of detect evil#!k!s@u1
+staff of perception#!k@u8
+
+staff of speed#!*
 staff of healing#!k!s!d
 staff of power#!k!s!d
 
+staff of *destruction*#!*
+
 # Magic-eaters should pick every staff.
 ?:[EQU $CLASS Magic-Eater]
 magical devices:staff
 ?:1
 
-#============================
+#===============================================================
 #  Rods
-#============================
+#===============================================================
+rod of trap location#!k@z0
+rod of detection#!k!s@z0!!
+rod of illumination#!k@z1
+
+rod of perception#!k!s!d@z8!!
+A:\e\e\\z8(
+P:,
+
+rod of recall#!k!s!d!z@z9!!
 rod of stone to mud#!k!s
 
 rod of acid balls
@@ -186,280 +267,117 @@ magical devices:rod
 ~rod of sleep monster
 ?:1
 
-#============================
-#  Chest
-#============================
-!chest (empty)
-~chest
-
-#============================
+#===============================================================
 #  Rings
-#============================
-*identified* ring of nether resistance#%all
-identified ring of speed#!k
+#===============================================================
+
+# Some rings are totally worthless, like Ring of Protection [-5].
+!worthless:ring
+
+# Pick useful ones.
+identified:ring of nether resistance#%all
+identified:ring of speed#!k
 ring of extra#!k
 
-#============================
-#  Sustaining stats
-#============================
+# Ring of teleportation is a bad item.
+!ring of teleportation
+
+# Some rings may have some value but are not worth wearing.
 ?:[GEQ $LEVEL 10]
 !ring of sustain
 !ring of searching
 ?:1
-~ring of resist
 
-#============================
-#  Amulets
-#============================
-~amulet of resist
-amulet of anti-magic#!w!k!s
-~amulet of charisma
+# Unidentified rings are always worth identifying, unless they are
+# known to be useless.
+unidentified:ring
 
-#============================
-#  Junk
-#============================
-!{empty}
-!{cursed}
+#===============================================================
+#  Amulets
+#===============================================================
 
-!scroll of curse weapon
-!scroll of curse armor
-!scroll of rumour
+# Some amulets are totally worthless, like Amulet of Strength [-5].
+!worthless:amulet
 
-!potion of boldness
-!potion of infra-vision
-!potion of slow poison
-!potion of neutralize poison
-!potion of cure light wounds
-!potion of water
-!slime mold juice
-!apple juice
-!empty bottle
+~amulet of resist
+~amulet of charisma
 
 !amulet of adornment
 !amulet of teleportation
 
-#============================
-#  Class: Magic-Eater
-#============================
-?:[EQU $CLASS Magic-Eater]
-
-# Staff of Perception
-A:\e\e\e\\mAf
-P:^o
-
-# Rod of Trap Location
-A:\e\e\e\\mCa
-P:^t
-
-# Rod of Illumination
-A:\e\e\e\\mCe
-P:Q
-
-# Wand of Magic Missile
-A:\e\e\e\\mBp*t*\e
-P:X
-
-# Wand of Stinking Cloud
-A:\e\e\e\\mBo*t*\e
-P:^c
-
-# Wand of Stone to Mud
-A:\e\e\e\\mBg
-P:S
-
-?:1
-
-#============================
-#  Class: Ninja
-#============================
-?:[EQU $CLASS Ninja]
-lights:of Darkness
-lights#@k0
-!scroll of light
-
-# Quick Walk
-A:\\Ua
-P:]
-
-# Throw iron spikes
-Iron Spike#@v0
-A:\e\e\\v0*t*\e
-P:X
-
-# Create Darkness
-A:\\ma
-P:Q
-
-# Detect Near
-A:\\mb
-P:`
-
-# Hide in Leafs
-A:\\mc
-P:\t
+# Useful but dangerous at the same time.
+amulet of anti-magic#!w!k!s
+amulet of anti-teleportation#!w!k!s
 
-# Ancient Knowledge
-A:\\mh(
-P:^e
+# Unidentified amulets are always worth identifying, unless they are
+# known to be useless.
+unidentified:amulet
 
-?:1
+#===============================================================
+#  Books
+#===============================================================
+~first realm's first spellbooks#@ma!k
+~first realm's second spellbooks#@mb!k
+first realm's third spellbooks#@mc!k
+first realm's fourth spellbooks#@md!k
 
-#============================
-#  Class: Monk
-#============================
-?:[EQU $CLASS Monk]
+~second realm's first spellbooks#@me!k
+~second realm's second spellbooks#@mf!k
+second realm's third spellbooks#@mg!k
+second realm's fourth spellbooks#@mh!k
 
-# Lightning
-A:\e\e\e\\mab*t*\e
-P:X
+!unreadable first spellbooks
+!unreadable second spellbooks
+~unreadable third spellbooks
+unreadable fourth spellbooks
 
-?:1
+#===============================================================
+#  Statues
+#===============================================================
 
-#============================
-#  Unordered
-#============================
-!potion of neo-tsuyoshi special
+# Statues are useless but some are expensive.
+golden statue
+ivory statue
+mithril statue
+ornate statue
 
-mirror shield#!k
+!statue
 
-mushroom of restoring#!k!s!d
-!mushroom of
+#===============================================================
+#  Chests
+#===============================================================
+!chest (empty)
+~chest
 
-wanted corpse#!k
-wanted Skeleton#!k
+#===============================================================
+#  Corpses or Skeletons
+#===============================================================
+wanted corpses or skeletons#!k
 
-unaware items
-collecting rod
-collecting potion
-collecting scroll
-collecting missiles
-(collecting items
+#===============================================================
+#  Misc.
+#===============================================================
 
-# Auto-inscribe resistances ( {%all} has special meaning. )
+# Auto-inscribe resistances.
 ~*identified* artifact items#%all
 ~*identified* ego items#%all
 
-# Simple version of Auto-inscribe ( {%} has special meaning. )
-#~*identified* artifact items#%
-#~*identified* ego items#%
-
-*Destruction*
-Genocide
-scroll of mundanity#!r!k
-
-?:[EQU $CLASS Archer]
-worthless skeleton
-worthless pottery
-worthless bone
-worthless stick
-worthless skull
-!iron shot
-!mithril shot
-!rounded pebble
-!steel bolt
-!bolt (1d5)
-!seeker bolt
-A:\e\e\e\\f0*t*\e
-P:X
-A:\e\e\e\\f1*t*\e
-P:^c
-A:\e\e\e\\Uaa(
-P:]
-
-# Type '(' to enchant the equipped bow
-scroll of enchant weapon#@rz
-A:\e\e\erz/c
-P:(
-
-?:[EQU $CLASS Mirror-Master]
-potion of restore mana#!k!s!d
-# Making a mirror
-A:\e\e\\mb
-P:(
-# Break Mirrors
-A:\e\e\\Ua
-P:)
-# Mirror Concentration
-A:\e\e\\Ub
-P:]
-# Mirror of Seeing
-A:\e\e\\ma
-P:V
-# Drip of Light
-A:\e\e\\mc*t*\e
-P:X
-# Mirror of Light
-A:\e\e\\me
-P:Q
-# Mirror Crashing
-A:\e\e\\mi*t*\e
-P:^c
-# Robe of Dust
-A:\e\e\\mg
-P:`
-# Fire an arrow (not a magic!)
-A:\e\e\\f0*t*\e
-P:^g
-# Seeker Ray
-A:\e\e\\mk*
-P:^z
-# Warped Mirror
-A:\e\e\\md
-P:\t
-?:1
-
-first realm's fourth spellbooks#@md!k
-first realm's third spellbooks#@mc!k
-second realm's fourth spellbooks#@mh!k
-second realm's third spellbooks#@mg!k
-
-unidentified dice boosted weapons
-unidentified more than 25 dice weapons
-unidentified weapons
-unidentified armors
-unidentified missiles
-
-~first realm's second spellbooks#@mb!k
-~first realm's first spellbooks#@ma!k
-~second realm's second spellbooks#@mf!k
-~second realm's first spellbooks#@me!k
+unaware items
+rare items
+(collecting missiles
+collecting items
 
-!unreadable first spellbooks
+#===============================================================
+#  Catch-all
+#===============================================================
 
-!worthless
+# Discard junk items
+!worthless items
 !iron spike
-?:[GEQ $LEVEL 10]
-missiles
-rings
-amulets
-lights
-poison needle
-gold statue
-!statue
-
-armors:dragon#%all
-armors:mythril
-blade of chaos
-!unreadable second spellbooks
-
-?:[AND [GEQ $LEVEL 10] [NOT [EQU $CLASS Weaponsmith]]]
-average weapons
-average armors
-
-?:[AND [GEQ $LEVEL 25] [NOT [EQU $CLASS Weaponsmith]]]
-good weapons
-good armors
-
-?:[AND [GEQ $LEVEL 49] [NOT [EQU $CLASS Weaponsmith]]]
-ego weapons
-ego armors
-?:1
-
-~unreadable third spellbooks
-unreadable fourth spellbooks
+!empty bottle
 
+# Pick all the non-junks until the player reaches a specific level.
 ?:[GEQ $LEVEL 25]
 ~all
 ?:1
-
 all