diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-19 13:55:30 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-19 13:55:30 +0000 |
commit | b0d7c6eb231d153a2e0750f4515e7978f96d67ad (patch) | |
tree | 51a41c58faf20f619ef70cf740abd4f633931411 /crawl-ref/source/itemname.cc | |
parent | d57d43a14c97b0aa025c9b307143860fc201477a (diff) | |
download | crawl-ref-b0d7c6eb231d153a2e0750f4515e7978f96d67ad.tar.gz crawl-ref-b0d7c6eb231d153a2e0750f4515e7978f96d67ad.zip |
Add some logic to unidentified potions of blood congealing
(Bug 1917520) and rename "deck of defense" -> "defence" to
fix Bug 1919475.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3720 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r-- | crawl-ref/source/itemname.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index ca35a7a6de..7343c726ef 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -1325,7 +1325,11 @@ std::string item_def::name_aux( description_level_type desc, (pcolour < 0 || pcolour >= PDC_NCOLOURS)? "bogus" : potion_colours[pcolour]; - buff << qualifier << clr << " potion"; + if (this->sub_type == POT_BLOOD && this->special < 200) + buff << "congealed "; + else + buff << qualifier; + buff << clr << " potion"; } break; |