more slippery gloves
Move makeplural(body_part(FINGER)) into its own routine, with option to substitute gloves when wearing such. Wearing slippery gloves (ie, wearing gloves while having slippery fingers) wouldn't let you put on a ring because you can't take the gloves off, but removing a worn ring lacked the same restriction. After changing that, teach prayer that slippery gloves is another reason why a ring of levitation can't be removed.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 pray.c $NHDT-Date: 1564532667 2019/07/31 00:24:27 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.117 $ */
|
||||
/* NetHack 3.6 pray.c $NHDT-Date: 1573346192 2019/11/10 00:36:32 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.118 $ */
|
||||
/* Copyright (c) Benson I. Margulies, Mike Stephenson, Steve Linhart, 1989. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -494,6 +494,12 @@ int trouble;
|
||||
impossible("fix_worst_trouble: nothing to uncurse.");
|
||||
return;
|
||||
}
|
||||
if (otmp == uarmg && Glib) {
|
||||
make_glib(0);
|
||||
Your("%s are no longer slippery.", gloves_simple_name(uarmg));
|
||||
if (!otmp->cursed)
|
||||
break;
|
||||
}
|
||||
if (!Blind || (otmp == ublindf && Blindfolded_only)) {
|
||||
pline("%s %s.",
|
||||
what ? what : (const char *) Yobjnam2(otmp, "softly glow"),
|
||||
|
||||
Reference in New Issue
Block a user