From 1a36197574afe860feff7208cd883770a5d28946 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 18 Sep 2007 15:54:14 +0000 Subject: 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 --- crawl-ref/source/item_use.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/item_use.cc') 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!"); -- cgit v1.2.3-54-g00ecf