Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site mcvax.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!mit-eddie!think!harvard!seismo!mcvax!aeb From: aeb@mcvax.UUCP (Andries Brouwer) Newsgroups: net.games.hack Subject: Re: Initial inventory unknown items bug fixed... Message-ID: <722@mcvax.UUCP> Date: Tue, 25-Jun-85 23:42:42 EDT Article-I.D.: mcvax.722 Posted: Tue Jun 25 23:42:42 1985 Date-Received: Sat, 29-Jun-85 23:47:30 EDT References: <1242@uwmacc.UUCP> Reply-To: aeb@mcvax.UUCP (Andries Brouwer) Distribution: net Organization: CWI, Amsterdam Lines: 23 In article <1242@uwmacc.UUCP> myers@uwmacc.UUCP (Latitudinarian Lobster) writes: >A bug that has annoyed me for awhile concerns those items in a character's >initial inventory which is unknown (potions, scrolls, wands, rings). Notice >that if you quaff, say, a healing potion that is in your initial inventory, >and then do a `\', it will indicate that you have not yet discovered >anything! The problem is that a field was not getting initialized to 0. >A context diff follows: >+ obj->dknown = 0; > /* not obj->dknown = 1; - let him look at it at least once */ Again someone who doesnt understand the source. The suggested fix doesnt change anything, and besides, nothing is broken or in need of a fix. Let me explain what happens. If you have a backpack containing some bottles with potions and you grab one at random and drink its contents then you do not discover anything - indeed, as the comment in the source says, you have to look at the color at least once in order to be able to make the connection "purple potion" = "potion of gain level". Thus, you might start with the 'i' command; or, if you start with the 'q' command, reply with '?' to the question "quaff what?". When you are blind and pickup a flask it is listed as "a potion" and you will not discover anything by drinking it either.