From 4eccfa127cb9f212c9b6ad0ff96ff26588f24e85 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 29 Mar 2023 09:24:12 -0400 Subject: [PATCH] Document a bugfix and isolate it in a test. --- notes.adoc | 2 ++ tests/breakmirror.chk | 8 ++++---- tests/breakmirror.log | 7 ++++--- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/notes.adoc b/notes.adoc index 2d61074..f5116bc 100644 --- a/notes.adoc +++ b/notes.adoc @@ -51,6 +51,8 @@ Bug fixes: * Oyster was readable after first gotten even when not carried. +* Response to an attempt to unlock the oyster while carrying it was incorrect. + * Behavior when saying the giant's magic words outside his room wasn't quite correct - the game responded as though the player were in the room ("...can't you read?"). The new message is "Nothing happens." diff --git a/tests/breakmirror.chk b/tests/breakmirror.chk index 2581648..faf0008 100644 --- a/tests/breakmirror.chk +++ b/tests/breakmirror.chk @@ -2934,14 +2934,14 @@ Huh? Huh? -> unlock oyster - -I advise you to put down the oyster before opening it. >WRENCH!< - > drop oyster OK +> unlock oyster + +You don't have anything strong enough to open the oyster. + > take oyster OK diff --git a/tests/breakmirror.log b/tests/breakmirror.log index 12b14e8..d93b075 100644 --- a/tests/breakmirror.log +++ b/tests/breakmirror.log @@ -467,14 +467,16 @@ e e cave e -# Everything to here is from endgame428 +# Everything to here is from endgame428, +# except we drop the oyster before trying +# to unlock it rather than after. attack take oyster find oyster lock lock oyster -unlock oyster drop oyster +unlock oyster take oyster read oyster y @@ -482,4 +484,3 @@ sw attack bird find bird break mirror - -- 2.31.1