summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-18 15:54:14 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-18 15:54:14 +0000
commit1a36197574afe860feff7208cd883770a5d28946 (patch)
tree3dec1bff3ea37e4366068f1cb8dafdc56c5c48ff /crawl-ref/source/item_use.cc
parent759ebd29993b7abb1266e630ee1ae7e84509fa9c (diff)
downloadcrawl-ref-1a36197574afe860feff7208cd883770a5d28946.tar.gz
crawl-ref-1a36197574afe860feff7208cd883770a5d28946.zip
Applying modified (by me) mutation patches of dolorous',
mostly clean-up and output changes. * More consistent output for Centaurs and chars with hoof mutation (patch 1794849). * Remove "deterioration" (ghouls type) from % screen. d. is right in that this was misleading. (1795995) * Change "no piety" message for Yredelemnul. Okay, this is not mutation-related and of no consequence to boot (Yred doesn't accept offerings), but why not? (1796199) * Mutation output now lists unremovable mutations first (innate and demonspawn). It's all fairly small stuff, but is it small enough to branch? I think yes, but asking doesn't hurt, right? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2136 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index c7d90978d9..76a3aa313a 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -768,7 +768,14 @@ bool can_wear_armour(const item_def &item, bool verbose, bool ignore_temporary)
if (sub_type == ARM_BOOTS)
{
- if (you.species == SP_NAGA || you.species == SP_CENTAUR)
+ if (you.mutation[MUT_HOOVES] >= 2)
+ {
+ if (verbose)
+ mpr("You can't wear boots with hooves!");
+ return (false);
+ }
+
+ if (you.species == SP_NAGA)
{
if (verbose)
mpr("You can't wear that!");