Merge branch 'win-minor' of https://rodney.nethack.org:20040/git/NHsource into win-minor
This commit is contained in:
18
src/cmd.c
18
src/cmd.c
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 cmd.c $NHDT-Date: 1544050555 2018/12/05 22:55:55 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.314 $ */
|
||||
/* NetHack 3.6 cmd.c $NHDT-Date: 1544669664 2018/12/13 02:54:24 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.315 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2013. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -2019,6 +2019,22 @@ int final;
|
||||
enl_msg(Your_wallet, "contains ", "contained ", buf, "");
|
||||
}
|
||||
}
|
||||
|
||||
if (flags.pickup) {
|
||||
char ocl[MAXOCLASSES + 1];
|
||||
|
||||
Strcpy(buf, "on");
|
||||
oc_to_str(flags.pickup_types, ocl);
|
||||
Sprintf(eos(buf), " for %s%s%s",
|
||||
*ocl ? "'" : "", *ocl ? ocl : "all types", *ocl ? "'" : "");
|
||||
if (flags.pickup_thrown && *ocl) /* *ocl: don't show if 'all types' */
|
||||
Strcat(buf, " plus thrown");
|
||||
if (iflags.autopickup_exceptions[AP_GRAB]
|
||||
|| iflags.autopickup_exceptions[AP_LEAVE])
|
||||
Strcat(buf, ", with exceptions");
|
||||
} else
|
||||
Strcpy(buf, "off");
|
||||
enl_msg("Auto-pickup ", "is ", "was ", buf, "");
|
||||
}
|
||||
|
||||
/* characteristics: expanded version of bottom line strength, dexterity, &c */
|
||||
|
||||
Reference in New Issue
Block a user