1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-02 23:14:57 +03:00

fix to examining containers; reblessing Undescribed

This commit is contained in:
Zed Lopez 2023-04-22 17:50:59 -07:00
parent d34efdab52
commit 56fd156522
2 changed files with 11 additions and 12 deletions

View file

@ -10,7 +10,7 @@
(Testing.)
>[1] x jar
You see nothing special about the glass jar.
The glass jar is empty.
>[2] x hidden object
You see nothing special about the hidden object.
@ -102,7 +102,7 @@
Dropped.
>[23] x glass jar
You see nothing special about the glass jar.
The glass jar is empty.
>[24] search glass jar
The glass jar is empty.

View file

@ -1184,16 +1184,15 @@ Carry out examining (this is the examine directions rule):
Carry out examining (this is the examine containers rule):
if the noun is a container:
if the noun is closed and the noun is opaque, make no decision;
if the noun is not falsely-unoccupied:
if something described which is not scenery is in the noun and something which
is not the player is in the noun:
say "In [the noun] " (A);
list the contents of the noun, as a sentence, tersely, not listing
concealed items, prefacing with is/are;
say ".";
now examine text printed is true;
otherwise if examine text printed is false and the first thing held by the noun is nothing:
if the noun is closed and the noun is opaque, make no decision;
if something described which is not scenery is in the noun and something which
is not the player is in the noun and the noun is not falsely-unoccupied:
say "In [the noun] " (A);
list the contents of the noun, as a sentence, tersely, not listing
concealed items, prefacing with is/are;
say ".";
now examine text printed is true;
otherwise if examine text printed is false:
if the player is in the noun:
make no decision;
say "[The noun] [are] empty." (B);