… | |
… | |
1764 | { |
1764 | { |
1765 | identify (tmp); |
1765 | identify (tmp); |
1766 | |
1766 | |
1767 | if (op->type == PLAYER) |
1767 | if (op->type == PLAYER) |
1768 | { |
1768 | { |
1769 | new_draw_info_format (NDI_UNIQUE, 0, op, "You have: %s.", long_desc (tmp, op)); |
1769 | new_draw_info_format (NDI_UNIQUE, 0, op, "You identified: %s.", long_desc (tmp, op)); |
1770 | |
1770 | |
1771 | if (tmp->msg) |
1771 | if (tmp->msg) |
1772 | { |
1772 | { |
1773 | new_draw_info (NDI_UNIQUE, 0, op, "The item has a story:"); |
1773 | new_draw_info (NDI_UNIQUE, 0, op, "The item has a story:"); |
1774 | new_draw_info (NDI_UNIQUE, 0, op, tmp->msg); |
1774 | new_draw_info (NDI_UNIQUE, 0, op, tmp->msg); |
… | |
… | |
1786 | * stuff on the floor. Only identify stuff on the floor if the spell |
1786 | * stuff on the floor. Only identify stuff on the floor if the spell |
1787 | * was not fully used. |
1787 | * was not fully used. |
1788 | */ |
1788 | */ |
1789 | if (num_ident) |
1789 | if (num_ident) |
1790 | { |
1790 | { |
1791 | for (tmp = GET_MAP_OB (op->map, op->x, op->y); tmp != NULL; tmp = tmp->above) |
1791 | for (tmp = GET_MAP_OB (op->map, op->x, op->y); tmp; tmp = tmp->above) |
1792 | if (!QUERY_FLAG (tmp, FLAG_IDENTIFIED) && !tmp->invisible && need_identify (tmp)) |
1792 | if (!QUERY_FLAG (tmp, FLAG_IDENTIFIED) && !tmp->invisible && need_identify (tmp)) |
1793 | { |
1793 | { |
1794 | identify (tmp); |
1794 | identify (tmp); |
1795 | |
1795 | |
1796 | if (op->type == PLAYER) |
1796 | if (op->type == PLAYER) |
1797 | { |
1797 | { |
1798 | new_draw_info_format (NDI_UNIQUE, 0, op, "On the ground is %s.", long_desc (tmp, op)); |
1798 | new_draw_info_format (NDI_UNIQUE, 0, op, "On the ground you identified: %s.", long_desc (tmp, op)); |
1799 | |
1799 | |
1800 | if (tmp->msg) |
1800 | if (tmp->msg) |
1801 | { |
1801 | { |
1802 | new_draw_info (NDI_UNIQUE, 0, op, "The item has a story:"); |
1802 | new_draw_info (NDI_UNIQUE, 0, op, "The item has a story:"); |
1803 | new_draw_info (NDI_UNIQUE, 0, op, tmp->msg); |
1803 | new_draw_info (NDI_UNIQUE, 0, op, tmp->msg); |