fix B3024: remove vs take off

Change the prompts for P and R commands to use "put on" instead
of "wear" and "remove" instead of "take off", respectively; W and T
commands aren't affected.  There is no change in game play.
This commit is contained in:
nethack.rankin
2002-02-24 05:05:11 +00:00
parent 4bc3561a96
commit 753cc7089f
3 changed files with 30 additions and 10 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
/* SCCS Id: @(#)do_wear.c 3.4 2001/12/06 */
/* SCCS Id: @(#)do_wear.c 3.4 2002/02/23 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -1067,7 +1067,7 @@ doremring()
pline("Not wearing any accessories.");
return(0);
}
if (Accessories != 1) otmp = getobj(accessories, "take off");
if (Accessories != 1) otmp = getobj(accessories, "remove");
if(!otmp) return(0);
if(!(otmp->owornmask & (W_RING | W_AMUL | W_TOOL))) {
You("are not wearing that.");
@@ -1406,7 +1406,7 @@ doputon()
ublindf->otyp==LENSES ? "some lenses" : "a blindfold");
return(0);
}
otmp = getobj(accessories, "wear");
otmp = getobj(accessories, "put on");
if(!otmp) return(0);
if(otmp->owornmask & (W_RING | W_AMUL | W_TOOL)) {
already_wearing(c_that_);