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
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
Comment