From 8929d6cdc7458d79d4ac46751ac0a4851febcf5e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 5 May 2009 15:32:14 +0000 Subject: * Replace the range_view_annotator loop with an simple check for the current range, which if set to a value > 0 will cause viewwindow to colour all grids not in los or not in range to be coloured grey. Has the side effect to also work for Tiles. :) * Change THELM_DESC_JEWELLED to golden, do as to avoid overlap with the randart description. * Make porridge sometimes brown and blood potions sometimes viscous/sedimented. (Yes, these don't really fit but I don't like the fixed descriptions.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9735 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/randart.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crawl-ref/source/randart.cc') diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index d7bdc79b34..fc5007140b 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -1476,12 +1476,7 @@ std::string artefact_name(const item_def &item, bool appearance) if (appearance) { std::string appear = getRandNameString(lookup, " appearance"); - if (appear.empty() // nothing found for lookup - // Don't allow "jewelled jewelled helmet". - || item.base_type == OBJ_ARMOUR - && item.sub_type == ARM_HELMET - && appear == "jewelled" - && get_helmet_desc(item) == THELM_DESC_JEWELLED) + if (appear.empty()) { appear = getRandNameString("general appearance"); if (appear.empty()) // still nothing found? -- cgit v1.2.3-54-g00ecf