From b57925e63b5899e282c77f94b082fd2d1c0f0a91 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 30 Oct 2009 10:44:18 -0500 Subject: After some thought, and considering that animal skins show up less often now, make them mundane items. --- crawl-ref/source/itemprop.cc | 5 +++++ crawl-ref/source/makeitem.cc | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 9d22deea8f..07ae4fc5ca 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -597,6 +597,11 @@ bool item_is_mundane(const item_def &item) } break; + case OBJ_ARMOUR: + if (item.sub_type == ARM_ANIMAL_SKIN) + return (true); + break; + default: break; } diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 4c1dc649e4..73c3450503 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -2219,11 +2219,10 @@ static void _generate_armour_item(item_def& item, bool allow_uniques, if (force_good) hide2armour(item); - // Skin armours and crystal plate mail normally don't get egos, but + // Hide armours and crystal plate mail normally don't get egos, but // can be randarts. if (armour_is_hide(item, true) - || item.sub_type == ARM_CRYSTAL_PLATE_MAIL - || item.sub_type == ARM_ANIMAL_SKIN) + || item.sub_type == ARM_CRYSTAL_PLATE_MAIL) { if (!forced_ego) set_item_ego_type(item, OBJ_ARMOUR, SPARM_NORMAL); -- cgit v1.2.3-54-g00ecf