angband/angband — pull request #92 by artes-liberales (2011-10-10 20:54:59+00:00)
Title: #614 Nicer warning for inscribed items (third try)

This time with fewer changes from the original code,
and with repeated inscriptions taken care of.

Objects inscribed with '!x' will now give different warnings depending on
which letter x stands for. Most possible actions that can be done with
an item are handled.

Changes in:
obj-ui.c

Note: The command 'd', which can be used to both drop and sell,
will give the message "Really drop..." when in a store.

Note: The following was found during testing:
The command 'I' for examine cannot be stopped this way. This is
no problem since there hardly is any reason to prevent it anyway.

Note: The new code has been tested with multiple inscriptions
and repeated inscriptions.