From: Eric S. Raymond Date: Wed, 29 Mar 2023 13:24:12 +0000 (-0400) Subject: Document a bugfix and isolate it in a test. X-Git-Tag: 1.15~33 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=4eccfa127cb9f212c9b6ad0ff96ff26588f24e85 Document a bugfix and isolate it in a test. --- 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 -