summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-25 12:53:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-25 12:53:10 +0000
commitecbea4c802865232609ace69a3858564adb4377c (patch)
treebb8415a254ae49b3c11558e532819a6ff9db5b91 /crawl-ref/source/item_use.cc
parent31a7fbf338b542570bdb9f91483ca58de1aeaae3 (diff)
downloadcrawl-ref-ecbea4c802865232609ace69a3858564adb4377c.tar.gz
crawl-ref-ecbea4c802865232609ace69a3858564adb4377c.zip
[1818982] Kenku talons as mutation (dolorous).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2561 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 40c032c3c0..615fb82fd6 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -790,6 +790,13 @@ bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary)
return (false);
}
+ if (you.mutation[MUT_TALONS])
+ {
+ if (verbose)
+ mpr("Boots don't fit your talons!");
+ return (false);
+ }
+
if (you.species == SP_NAGA)
{
if (verbose)