summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-19 01:46:28 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-19 01:46:28 +0000
commita1dd87704d101b2e7b240c22fd7aea3d9d6e27aa (patch)
treee37e11332e217793cbeefb46b071608ecca20b9b /crawl-ref/source/itemprop.cc
parent7383236892148f6270c689f236fea8d437d554f1 (diff)
downloadcrawl-ref-a1dd87704d101b2e7b240c22fd7aea3d9d6e27aa.tar.gz
crawl-ref-a1dd87704d101b2e7b240c22fd7aea3d9d6e27aa.zip
Turn kenkus' hardcoded pecking attack and inability to wear helmets into
an intrinsic beak mutation (assuming, of course, that the beak is what makes helmets unwearable). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7493 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 1a417abe2a..915223cf6d 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -1236,18 +1236,18 @@ bool check_armour_shape( const item_def &item, bool quiet )
if (!is_hard_helmet(item))
break;
- if (you.species == SP_KENKU)
+ if (player_mutation_level(MUT_HORNS))
{
if (!quiet)
- mpr( "That helmet does not fit your head!" );
+ mpr( "You can't wear that with your horns!" );
return (false);
}
- if (player_mutation_level(MUT_HORNS))
+ if (player_mutation_level(MUT_BEAK))
{
if (!quiet)
- mpr( "You can't wear that with your horns!" );
+ mpr( "You can't wear that with your beak!" );
return (false);
}