Open eriktorbjorn opened 3 years ago
Also, you're supposed to be able to put the necklace back. Again, from NIGHSTAND-LG-F
:
(<AND <EQUAL? ,HERE ,JACK-ROOM>
<VERB? PUT-IN>
<DOBJ? NECKLACE-OF-D>>
<MOVE ,NECKLACE-OF-D ,JACK-ROOM>
<FSET ,NECKLACE-OF-D ,NDESCBIT>
<OKAY>)
But that doesn't seem to work:
>PUT NECKLACE IN NIGHT TABLE
You search for an opening in the night table but find none.
That's probably because NIGHTSTAND-LG
doesn't have CONTBIT
, though I haven't checked if adding that makes any difference. It may need OPENBIT
as well. (It's presumable PRE-PUT-IN
that puts a stop to the action.)
Note that local global containers are usually a bad idea, though, since that makes the contents seem to magically teleport between rooms. (I think there may be other problems as well, since at least in The Witness I seem to recall it not being possible to take objects from a local global container.) So you'd have to make sure that the necklace is the only thing that could be put in it, and only from JACK-ROOM
.
That's because the necklace isn't actually in the night table, it's in the room, but has
NDESCBIT
to hide it. (Note: Only in the red variant.) ButNIGHTSTAND-LG-F
only checks where the necklace is:It should presumably check
<AND <IN? ,NECKLACE-OF-D ,JACK-ROOM> <FSET? ,NECKLACE-OF-D ,NDESCBIT>>
instead, or something like that.