summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transfor.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-26 22:38:21 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-26 22:38:21 +0000
commitf3f93a328f7c076f46be200133af034e42956f6d (patch)
treed8491cc9b08a1f830c7479cca3146da2387bab49 /crawl-ref/source/transfor.cc
parent96d6e3e9f85e3be686bd1a0c56436affb0014365 (diff)
downloadcrawl-ref-f3f93a328f7c076f46be200133af034e42956f6d.tar.gz
crawl-ref-f3f93a328f7c076f46be200133af034e42956f6d.zip
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
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r--crawl-ref/source/transfor.cc15
1 files changed, 2 insertions, 13 deletions
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)