Auto-pickup settings


Ask fellow adventurers how to stay alive in the deep, dark, dangerous dungeon below, or share your own accumulated wisdom.

User avatar

Blades Runner

Posts: 624

Joined: Saturday, 18th December 2010, 04:50

Post Wednesday, 20th July 2016, 22:13

Auto-pickup settings

There are certain items that are set to not be picked up by default that I usually always want to pick up (such as immolation), and certain items that are set to be picked up by default that I usually never want to pick up (such as potions of flight).

It would be very convenient if it was possible to change these settings even if you haven't identified the item yet.

Mod edit: moved FR for a long-existing feature from GDD.

For this message the author Laraso has received thanks:
Haelyn
User avatar

Ziggurat Zagger

Posts: 4478

Joined: Wednesday, 23rd October 2013, 07:56

Post Wednesday, 20th July 2016, 22:19

Re: Allow players to adjust auto-pickup settings in advance

The examples given are old, but this should still work?
  Code:
autopickup_exceptions ^= <pickup-regex, >don't-pickup-regex, ...
        (Ordered list option)
        A set of regexes that force matching items to be picked up (if
        prefixed with <), or never picked up (if prefixed with >).
        Excludes (>) take precedence over includes (<), so if the same
        item is matched by both an exclude and an include, it will not
        be subject to autopickup.

        An example:
             autopickup_exceptions += <curare-tipped needle
        Forces autopickup to grab all curare-tipped needles, even if
        missiles are not set in the "autopickup" option.

        Whitespace between <> and the match expression is significant,
        so the following won't work:
             autopickup_exceptions += <   ebony casket

        autopickup_exceptions replace the older ban_pickup. Using
             autopickup_exceptions += >uselessness, >inaccuracy
        is the same as using
             ban_pickup += uselessness, inaccuracy

        If the regexes are not prefixed with < or >, > is implied, so
        the option setting above can also be written as
             autopickup_exceptions += uselessness, inaccuracy

        You can use multiple autopickup_exceptions lines. Some examples:
             autopickup_exceptions += inaccuracy, scrolls? of paper
             autopickup_exceptions += immolation, curse (armour|weapon)
             autopickup_exceptions += uselessness, noise, torment

        Unless you clear the list of exceptions, you won't need to set
        autopickup exceptions for potions except maybe for very special
        cases.
DCSS: 97:...MfCj}SpNeBaEEGrFE{HaAKTrCK}DsFESpHu{FoArNaBe}
FeEE{HOIEMiAE}GrGlHuWrGnWrNaAKBaFi{MiDeMfDe}{DrAKTrAMGhEnGnWz}
{PaBeDjFi}OgAKPaCAGnCjOgCKMfAEAtCKSpCjDEEE{HOSu
Bloat: 17: RaRoPrPh{GuStGnCa}{ArEtZoNb}KiPaAnDrBXDBQOApDaMeAGBiOCNKAsFnFlUs{RoBoNeWi
User avatar

Blades Runner

Posts: 624

Joined: Saturday, 18th December 2010, 04:50

Post Wednesday, 20th July 2016, 23:41

Re: Auto-pickup settings

What? This was moved out of GDD? This feature doesn't actually exist outside of RC (and the rc edit doesn't actually do what I'm suggesting). I'm asking for an in-game interface tweak that just lets you check items on the unidentified item list screen

Also RC doesn't handle exceptions. For example, when I play a Be, I'd like to just go into the autopickup menu at the start of the game, switch to the un-ided item screen, and turn off brilliance (you can't do that with the rc without having it default to being turned off for all characters)

I guess I shouldn't get my hopes up on improving the interface because some obscure configuration file edit already exists that requires you to dive through documentation to figure out how to use and only ends up accomplishing half of what I'm asking for

For this message the author Laraso has received thanks:
duvessa

Slime Squisher

Posts: 352

Joined: Monday, 14th December 2015, 00:43

Post Thursday, 21st July 2016, 00:04

Re: Auto-pickup settings

.rc can easily handle exceptions you are looking for though.

Ziggurat Zagger

Posts: 8786

Joined: Sunday, 5th May 2013, 08:25

Post Thursday, 21st July 2016, 00:48

Re: Auto-pickup settings

i agree that this interface change should happen but i have to ask why you want to pick up immolation
User avatar

Blades Runner

Posts: 624

Joined: Saturday, 18th December 2010, 04:50

Post Thursday, 21st July 2016, 01:27

Re: Auto-pickup settings

Because it's fun to use even if it's bad in 95% of situations

Dungeon Master

Posts: 3618

Joined: Thursday, 23rd December 2010, 12:43

Post Thursday, 21st July 2016, 01:30

Re: Auto-pickup settings

Laraso wrote:This feature doesn't actually exist outside of RC (and the rc edit doesn't actually do what I'm suggesting). I'm asking for an in-game interface tweak that just lets you check items on the unidentified item list screen

Also RC doesn't handle exceptions. For example, when I play a Be, I'd like to just go into the autopickup menu at the start of the game, switch to the un-ided item screen, and turn off brilliance (you can't do that with the rc without having it default to being turned off for all characters)

I guess I shouldn't get my hopes up on improving the interface because some obscure configuration file edit already exists that requires you to dive through documentation to figure out how to use and only ends up accomplishing half of what I'm asking for
Tone doesn't help, but there is something like diminishing returns: many interface suggestions, such as this one, are reasonable, but to make them accessible in-game in the most convenient way requires more and more effort. ("More" compared to previous interface work.)

A reasonable patch would be accepted, I guess, but I wouldn't put this on any TODO list.

For this message the author dpeg has received thanks:
Laraso

Slime Squisher

Posts: 395

Joined: Monday, 28th April 2014, 19:50

Post Thursday, 21st July 2016, 02:05

Re: Auto-pickup settings

Laraso wrote:Also RC doesn't handle exceptions. For example, when I play a Be, I'd like to just go into the autopickup menu at the start of the game, switch to the un-ided item screen, and turn off brilliance (you can't do that with the rc without having it default to being turned off for all characters)


: if you.god() == "Trog" then
autopickup_exceptions += >brilliance
: end

RC files are pretty powerful. They allow lua code so you can do a lot of fancy things -- I think the bot QW is written entirely in lua inside the rc file.

Ziggurat Zagger

Posts: 8786

Joined: Sunday, 5th May 2013, 08:25

Post Thursday, 21st July 2016, 03:17

Re: Auto-pickup settings

genericpseudonym wrote:: if you.god() == "Trog" then
autopickup_exceptions += >brilliance
: end
this requires restarting the game after you take Trog and still does not provide what Laraso actually asked for: a way to change autopickup for unidentified items without restarting the game

For this message the author duvessa has received thanks:
Laraso

Slime Squisher

Posts: 395

Joined: Monday, 28th April 2014, 19:50

Post Thursday, 21st July 2016, 19:33

Re: Auto-pickup settings

duvessa wrote:
genericpseudonym wrote:: if you.god() == "Trog" then
autopickup_exceptions += >brilliance
: end
this requires restarting the game after you take Trog and still does not provide what Laraso actually asked for: a way to change autopickup for unidentified items without restarting the game


Yes if you switch to trog mid-game it won't take affect until you restart. But if you start as a berserker it works just fine and does exactly what laraso was complaining that rc files can't do.
User avatar

Tomb Titivator

Posts: 778

Joined: Thursday, 13th March 2014, 20:15

Post Saturday, 23rd July 2016, 10:26

Re: Auto-pickup settings

genericpseudonym wrote:and does exactly what laraso was complaining that rc files can't do.
it was just an example he gave,
he actually wants:
Laraso wrote:I'm asking for an in-game interface tweak that just lets you check items on the unidentified item list screen
~online scoring~

Pig's in zen
Pig is nude
Unashamed

For this message the author Eyesburn has received thanks:
Laraso

Return to Dungeon Crawling Advice

Who is online

Users browsing this forum: No registered users and 52 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.