diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-03 23:20:00 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-03 23:54:25 +1000 |
commit | 8c9938f88a6e11f10916a360804bd4bd8516a278 (patch) | |
tree | 10b491ecc3f47b4cbbfa50ebd505a41a6cd13512 /crawl-ref/source/itemname.cc | |
parent | 196415dd325aa0fbe4c309f29d86a07a3988cb4a (diff) | |
download | crawl-ref-8c9938f88a6e11f10916a360804bd4bd8516a278.tar.gz crawl-ref-8c9938f88a6e11f10916a360804bd4bd8516a278.zip |
Branded and positively enchanted missiles are "glowing". (Eronarn)
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index d2a9bbdfdf..beda8a3e5a 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -1140,6 +1140,17 @@ std::string item_def::name_aux(description_level_type desc, } + if (know_cosmetic && !know_brand) + { + switch (get_equip_desc(*this)) + { + case ISFLAG_GLOWING: + if (!testbits(ignore_flags, ISFLAG_GLOWING)) + buff << "glowing "; + break; + } + } + if (know_pluses) { output_with_sign(buff, it_plus); |