X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_angband%2FHengband%2Fpickpref_prf;h=1504ab37668310830c50cd7181509beacbc0f68d;hb=HEAD;hp=12f5a0e5254b56a8c5e4b66cac2265fea957ad19;hpb=96ae156534c456ce59254998be189bc9cb258490;p=sugar.git diff --git a/dot-files/_angband/Hengband/pickpref_prf b/dot-files/_angband/Hengband/pickpref_prf index 12f5a0e..1504ab3 100644 --- a/dot-files/_angband/Hengband/pickpref_prf +++ b/dot-files/_angband/Hengband/pickpref_prf @@ -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 @@ -16,15 +17,68 @@ # '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 +!mushroom of disease +!mushroom of unhealth + +#=============================================================== +# 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!! + +unidentified:^stone +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 +91,79 @@ 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:falcon sword +weapons:poison needle +shields:mirror shield#%all!k +armors:dragon#%all +armors:mythril +armors:elvenkind#%all +armors:elven +armors:black clothes + +# Shovels are never useful after the very beginning of the game. +?:[AND [GEQ $MONEY 1000] [NOT [EQU $CLASS Weaponsmith]]] +!dwarven pick +!mattock +!orcish pick +!shovel +?: + +# 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 -#============================ -# Boosting speed -#============================ -potion of speed#!* -staff of speed#!* +?:[AND [GEQ $LEVEL 25] [NOT [EQU $CLASS Weaponsmith]]] +!average weapons:blade of chaos +!good weapons +!good armors + +?:[AND [GEQ $LEVEL 30] [NOT [EQU $CLASS Weaponsmith]]] +!good weapons:blade of chaos +# We don't need "Sword of Slay Human" but we may need "Sword of +# Slaying". +~ego weapons:of slaying +!ego weapons:slay +# Armors of Olog-Hai are almost useless, because all they have is a +# single element resistance. The same goes for Dwarven. +!ego armors:of Dwarven +!ego armors:of Olog-Hai +?:1 -#============================ -# Acquirement -#============================ -scroll of acquirement#!* +# Unidentified weapons are potentially useful. Pick them all. +unidentified weapons +unidentified armors -#============================ -# Destruction -#============================ -scroll of destruction#!* -scroll of *destruction*#!* -staff of *destruction*#!* +# Pick known bad-ego items. They may not be worth using but +# potentially are. +ego:of demon +ego:(demonic) -#============================ +#=============================================================== # Potions -#============================ +#=============================================================== +potion of heroism +potion of resist cold +potion of resist heat potion of cure critical wounds#@q0 +potion of speed#!* potion of resistance#!* potion of healing#!* potion of *healing*#!* @@ -119,17 +180,55 @@ 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 +scroll of *identify*#!r + +# 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 @@ -139,7 +238,7 @@ wand of rockets#!k!s wand of dragon's flame#!k!s wand of dragon's frost#!k!s -# Magic-eaters should pick every wand except for useless ones. +# Magic-eaters should pick every wand except for truly useless ones. ?:[EQU $CLASS Magic-Eater] magical devices:wand @@ -150,20 +249,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 +301,134 @@ 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 chaos resistance#%all +identified:ring of nether resistance#%all +identified:ring of speed#!k!s!d 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 -#============================ +# Unidentified rings are always worth identifying, unless they are +# known to be useless. +unidentified:ring + +#=============================================================== # Amulets -#============================ -~amulet of resist -amulet of anti-magic#!w!k!s -~amulet of charisma +#=============================================================== -#============================ -# Junk -#============================ -!{empty} -!{cursed} +# Some amulets are totally worthless, like Amulet of Strength [-5]. +!worthless:amulet -!scroll of curse weapon -!scroll of curse armor -!scroll of rumour +# Amulet of Charisma may be worth selling in the early game, but soon +# becomes completely worthless. +?:[GEQ $MONEY 10000] +!amulet of charisma +?: -!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 resistance#%all +~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 +# Useful but dangerous at the same time. +amulet of anti-magic#!w!k!s +amulet of anti-teleportation#!w!k!s -# Wand of Stone to Mud -A:\e\e\e\\mBg -P:S +# Unidentified amulets are always worth identifying, unless they are +# known to be useless. +unidentified:amulet -?:1 +#=============================================================== +# Books +#=============================================================== -#============================ -# 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 +~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 -# Ancient Knowledge -A:\\mh( -P:^e +~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 -?:1 +# We want to pick up expensive unreadable books for money. Note that +# Arcane and Kendo ones are cheap. +!unreadable first spellbooks +!unreadable second spellbooks -#============================ -# Class: Monk -#============================ -?:[EQU $CLASS Monk] +!unreadable third spellbooks:arcane +!unreadable third spellbooks:kendo +unreadable third spellbooks -# Lightning -A:\e\e\e\\mab*t*\e -P:X +~unreadable fourth spellbooks:arcane +~unreadable fourth spellbooks:kendo +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