polyself: centaurs vs boots
Monster centaurs can't wear boots, and characters who polymorph into centaurs have their boots pushed off, but there was nothing to prevent such characters from putting those boots right back on.
This commit is contained in:
@@ -28,6 +28,7 @@ let lev_comp and dgn_comp accept optional carriage return character prior to
|
||||
the terminating newline in special level and dungeon description files
|
||||
Wizard of Yendor will start harassing you after the invocation if you've
|
||||
managed to get that far without ever killing him
|
||||
characters polymorphed into centaurs can't wear boots
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)do_wear.c 3.4 2002/02/23 */
|
||||
/* SCCS Id: @(#)do_wear.c 3.4 2002/03/28 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -1268,6 +1268,13 @@ boolean noisy;
|
||||
} else if (Upolyd && slithy(youmonst.data)) {
|
||||
if (noisy) You("have no feet..."); /* not body_part(FOOT) */
|
||||
err++;
|
||||
} else if (Upolyd && youmonst.data->mlet == S_CENTAUR) {
|
||||
/* break_armor() pushes boots off for centaurs,
|
||||
so don't let dowear() put them back on... */
|
||||
if (noisy) pline("You have too many hooves to wear %s.",
|
||||
c_boots); /* makeplural(body_part(FOOT)) yields
|
||||
"rear hooves" which sounds odd */
|
||||
err++;
|
||||
} else if (u.utrap && (u.utraptype == TT_BEARTRAP ||
|
||||
u.utraptype == TT_INFLOOR)) {
|
||||
if (u.utraptype == TT_BEARTRAP) {
|
||||
|
||||
Reference in New Issue
Block a user