Showing the price of a shop object when examining it with '/' or ';' didn't include a price if it was actually a mimic. This makes fake objects have prices when appropriate, but it is only a partial fix because moving away from a mimic causes nethack to forget the fake object's dknown flag for most types of objects. That could be solved by adding an mobj field to mon->mextra, which will break save compatibility, or by adding a whole extra set of object glyphs for object-with-dknown-set. The latter could probably be done without breaking backwards save compatibility (new program using old files) but it seems like more effort that it'd be worth and it would break forwards save compatibility (old program attempting to use new files--something we've never claimed to support).
45 KiB
45 KiB