Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 28, 2010, 06:43   #1
Omnipact
Rookie
 
Join Date: Jun 2007
Location: Bristol, UK
Posts: 23
Omnipact is on a distinguished road
Feature Request

When prompted for an item such as when you read a scroll of identify you have an option (ie keypress) to choose the FIRST VALID ITEM. (This is probably only really useful for identify)

Assuming a scroll of identify, the command would first check equipment, then your inventory, and finally the floor, identifying the first unidentified object it comes across.

Assuming the keypress '#', to mean select first valid item, you can then create a macro (assuming you've got Magic Book I&I inscribed {@m3}:
m3f# would identify the first unidentified object on, in, or under you.

Got a backpack full of unID'd items? Just spam that macro!

Simple to code and VERY convenient...


There maybe other uses for it.

Looking at get_item() theres a key (return key) to select the "default item", and it only works if there is only one valid item, maybe we could hijack that (pretty useless) option. (does anyone use that?)

Iain
Omnipact is offline   Reply With Quote
Old October 28, 2010, 07:02   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,865
Donated: $60
Nick will become famous soon enough
In current FA with the 'show menus automatically' option on, Return will select the first item on the menu - I think that will work with a macro too.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old October 28, 2010, 07:20   #3
camlost
Sangband 1.x Maintainer
 
camlost's Avatar
 
Join Date: Apr 2007
Posts: 522
camlost is on a distinguished road
S uses '.' for this (also targets closest visible monster when targetting). Any prayer of standardization across variants?
__________________
a chunk of Bronze {These look tastier than they are. !E}
3 blank Parchments (Vellum) {No french novels please.}
camlost is offline   Reply With Quote
Old October 28, 2010, 07:43   #4
Omnipact
Rookie
 
Join Date: Jun 2007
Location: Bristol, UK
Posts: 23
Omnipact is on a distinguished road
I don't mind posting bugs on trac, but not features. In this case, though, to me it seems a no brainer.

That is unless someone can tell me the usefulness of the current "default" action (return key) to select an object. (I've never used it and can't think of a scenario where it IS useful)

Maybe I'm missing something.
Omnipact is offline   Reply With Quote
Old October 28, 2010, 10:20   #5
Timo Pietilš
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilš is on a distinguished road
Quote:
Originally Posted by Omnipact View Post
I don't mind posting bugs on trac, but not features. In this case, though, to me it seems a no brainer.

That is unless someone can tell me the usefulness of the current "default" action (return key) to select an object. (I've never used it and can't think of a scenario where it IS useful)

Maybe I'm missing something.
Choosing first valid item form bunch of different places might not be a good idea. You might not want to use ID on armor in your backpack when there is a un-ID flavored item (like jewelry) onto floor. Especially if you don't have many ID left like using staves with low charge. You might even want to select which item to ID from any of those places.

I'd say this is pretty minor feature which I would not find much use.
Timo Pietilš is offline   Reply With Quote
Old October 28, 2010, 14:37   #6
fyonn
Adept
 
Join Date: Jul 2007
Posts: 217
fyonn is on a distinguished road
well, I think he is suggestion that there is just a keypress to select a valid item. if you're very low on ID scrolls/charges then you'd not press that button, but select the item you want to ID.

ie to ID the first valid item would me "mcf#" and to ID a specific item on the floor would be "mcf-a". This assumes that # is the key to ID the first valid item.

it sounds eminently sensible to me.
fyonn is offline   Reply With Quote
Old October 28, 2010, 14:38   #7
Omnipact
Rookie
 
Join Date: Jun 2007
Location: Bristol, UK
Posts: 23
Omnipact is on a distinguished road
Quote:
Originally Posted by Timo Pietilš View Post
Choosing first valid item form bunch of different places might not be a good idea. You might not want to use ID on armor in your backpack when there is a un-ID flavored item (like jewelry) onto floor. Especially if you don't have many ID left like using staves with low charge. You might even want to select which item to ID from any of those places.

I'd say this is pretty minor feature which I would not find much use.
Eh? It's not like you you have to use it. I would never suggest such a thing. Its an option(using a key) to pick the first valid item. It would not affect identify in any way from it's present behaviour.
Omnipact is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature request Jungle_Boy Vanilla 9 June 12, 2010 05:33
Feature request miyazaki Vanilla 2 December 2, 2009 20:17
[FA] Feature request Zikke Variants 4 February 18, 2009 15:06
Feature request Antoine Vanilla 5 January 8, 2009 04:27
Feature Request Zero Vanilla 1 February 5, 2008 18:21


All times are GMT +1. The time now is 06:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.