diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-19 11:41:29 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-19 11:41:29 +0000 |
commit | da3bf95551a8e8ccc61035857608f6a1213ccf39 (patch) | |
tree | fdf3eaa335ea59c7f0f8360e2b13a2af5393b61d /crawl-ref/source/itemname.cc | |
parent | 8773334adb45975963df594e253dc9453d6f5c43 (diff) | |
download | crawl-ref-da3bf95551a8e8ccc61035857608f6a1213ccf39.tar.gz crawl-ref-da3bf95551a8e8ccc61035857608f6a1213ccf39.zip |
Give the Tome of Destruction a fixed unidentified description ("ancient
heavily glowing book"), it's already regarded as "dangerous", known or
not, and tweak Trog's burning book message.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5976 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 11 |
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) { |