summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index a7ac833bcf..25e1266d1a 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -1517,9 +1517,14 @@ std::string item_def::name_aux( description_level_type desc,
buff << (item_typ == BOOK_MANUAL ? "manual" : "book");
else if (!know_type)
{
- buff << book_secondary_string(this->special / 10)
- << book_primary_string(this->special % 10)
- << (item_typ == BOOK_MANUAL ? "manual" : "book");
+ if (item_typ == BOOK_DESTRUCTION)
+ buff << "ancient heavily glowing book";
+ else
+ {
+ buff << book_secondary_string(this->special / 10)
+ << book_primary_string(this->special % 10)
+ << (item_typ == BOOK_MANUAL ? "manual" : "book");
+ }
}
else if (item_typ == BOOK_MANUAL)
{