Page 1 of 1
using Indentifying altar in magic shop
Posted: Mon Feb 14, 2005 12:14 pm
by Newb
I couldn't find this in the guidebook so:
How do I make the altar identify a particular item?
I dropped 20gold and it just seemed to randomly pick an item in my inventory..
Do I need to drop the item I want identified as well (first)?
I would try experimenting but money is short when you're just starting out!
Cheers
Posted: Mon Feb 14, 2005 1:01 pm
by cavesomething
AFAIK it identifies the first item in your inventory without the identified flag set.
I believe first in your inventory here is the first in the load order for your inventory, what that is can sometimes be a bit difficult to determine.
It identifies marked items first, to mark an item, shift middle-click it.
If the marked item is NULL, or identified then it works its way through the list of items until it hits the money you dropped.
I don't know if it checks the items on the ground in the same square or not, I would have to trudge through the pointers to figure that out, and I have never played with the item code before.
Please note, this comes only from a very cursory glance at the code itself, don't trust that I am right, but the comment near the function thinks I am.
Posted: Mon Feb 14, 2005 4:12 pm
by Newb
Marking it first worked, thanks for that. I hadn't come across marking stuff up until now!
Cheers
Posted: Mon Feb 14, 2005 4:54 pm
by cavesomething
This actually suggests another point. Marking should work for the spell too.
Currently AFAICT it doesn't.
The spell identify (as cast by scrolls, and sorcerors) can ID multiple items, but maybe it should identify either several random item .OR. one marked item?
This would be an interesting trade off for low level characters acquiring their ID scrolls.