I was experimenting with other factors in the game (class/race combos) on r20110, and made interesting discovery when selling items with one of those characters.
When selling unidentified magic items, the shopkeeper pays you as though its value is the value of the item it actually is, rather than the item it appears to be.
For example, I sold 19 unidentified bronze daggers for 4 plat, 3 gold, and 9 silver. I also sold 1 unidentified dagger of Poisoning for 5 plat and 2 silver.
Shouldn't unidentified items be sold for the value of the item they are most likely to be (the vanilla, nonmagic version?), rather than the item they are?
In addition, I sold 18 unidentified bronze small shields for 1 plat, 1 gold, and 7 silver. I then sold 1 unidentified bronze small shield of Great Mass for 3 plat, 1 gold, and 8 silver.
Thanks for the report. This is a bug I introduced while refactoring some of the shop code. There are probably some more special cases that haven't been ironed out; that will likely not happen until the next time I take a closer look at the code.
Should be fixed in r20535.
Seems to be operating as intended, closing.