From 7dd8224b6df282a131efad79622638995e7a043c Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Thu, 16 Feb 2006 06:47:02 +0000 Subject: [PATCH] scroll usage; also spell of ID (trunk only) [I neglected to commit the invent.c part of previous patch.] --- src/invent.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/invent.c b/src/invent.c index 00b17b029..a81b69b04 100644 --- a/src/invent.c +++ b/src/invent.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)invent.c 3.5 2005/11/05 */ +/* SCCS Id: @(#)invent.c 3.5 2006/02/15 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1522,8 +1522,9 @@ int id_limit; /* dialog with user to identify a given number of items; 0 means all */ void -identify_pack(id_limit) +identify_pack(id_limit, learning_id) int id_limit; +boolean learning_id; /* true if we just read unknown identify scroll */ { struct obj *obj, *the_obj; int n, unid_cnt; @@ -1534,7 +1535,8 @@ int id_limit; if (not_fully_identified(obj)) ++unid_cnt, the_obj = obj; if (!unid_cnt) { - You("have already identified all of your possessions."); + You("have already identified all %sof your possessions." + learning_id ? "the rest " : ""); } else if (!id_limit) { /* identify everything */ if (unid_cnt == 1) { -- 2.40.0