Forum:Price-ID at unwilling shops: manipulating object ID

From NetHackWiki
Revision as of 18:29, 21 January 2011 by Tjr (talk | contribs) (forgot signature)
Jump to navigation Jump to search


How do I manipulate the object ID to get several independent sell price quotes?

I have two non-stacking potions that could be levitation ($200), monster detection, or gain energy (both $150). This game does not have a shop that will buy potions. I need levitation to mass alchemize gain level and for the endgame, so I can't afford to use up the potions. Conducts make it impossible to produce more such potions (except a slim chance from random alchemy).

In this situation, I'd like get a few more independent price quotes. That means manipulating object ID some way, because sell quotes are tied to that Source:Shk.c#line1898. Best would be two sequential object IDs, since at least one will be without the random surcharge.

I have a decent supply of holy and unholy water to make them stack. How does the game allocate object identity numbers when unstacking?

--Tjr 18:29, 21 January 2011 (UTC)