From f3f93a328f7c076f46be200133af034e42956f6d Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 26 Oct 2007 22:38:21 +0000 Subject: Adding two new mutations for the heck of it: * MUT_PAWS: "You have soft paws in place of feet." Similar to HOOVES and TALONS - incidentally, I resorted a few mutations for better grouping - but increases stealth. * MUT_EXTRA_EYES: grow up to three extra eyes that increase depth perception and thus accuracy. I'm still looking for a drawback to this mutation (other than looking weird). Also, could be related to ACUTE/BLURRY VISION somehow. Breaks saves, or at least mutations. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2606 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/transfor.cc | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'crawl-ref/source/transfor.cc') diff --git a/crawl-ref/source/transfor.cc b/crawl-ref/source/transfor.cc index 3070123ac1..f2a495fef1 100644 --- a/crawl-ref/source/transfor.cc +++ b/crawl-ref/source/transfor.cc @@ -605,17 +605,7 @@ bool can_equip( equipment_type use_which, bool ignore_temporary ) if (ignore_temporary || !player_is_shapechanged()) /* or a transformation which doesn't change overall shape */ { - if (use_which == EQ_BOOTS) - { - switch (you.species) - { - case SP_NAGA: - return (false); - default: - break; - } - } - else if (use_which == EQ_HELMET) + if (use_which == EQ_HELMET) { switch (you.species) { @@ -630,8 +620,7 @@ bool can_equip( equipment_type use_which, bool ignore_temporary ) if (use_which == EQ_HELMET && you.mutation[MUT_HORNS]) return (false); - if (use_which == EQ_BOOTS && - (you.mutation[MUT_HOOVES] || you.mutation[MUT_TALONS])) + if (use_which == EQ_BOOTS && !player_has_feet()) return (false); if (use_which == EQ_GLOVES && you.mutation[MUT_CLAWS] >= 3) -- cgit v1.2.3-54-g00ecf