(<AND <VERB? LOOK-INSIDE>
<FSET? ,PRSO ,OPENBIT>
<NOT <FIRST? ,PRSO>>>
<TELL
"On the inside of the egg are many complex cutting devices." CR>)
But it doesn't work as was probably intended:
>LOOK IN EGG
The beautiful, ornamented egg contains:
A shredded scroll
>TAKE SHREDDED SCROLL
Taken.
>LOOK IN EGG
The beautiful, ornamented egg is empty.
>DROP HANDLE, KNOB, SLIDE, CRANK AND BUTTON
lapis handle: Dropped.
emerald knob: Dropped.
silver slide: Dropped.
golden crank: Dropped.
diamond-studded button: Dropped.
>LOOK IN EGG
On the inside of the egg are many complex cutting devices.
Since you can't put anything back into the egg ("You can't put the object inside the egg without damaging it."), it should be enough to check if the shredded scroll is inside instead of checking if the egg is empty.
EGG-F
contains this case:But it doesn't work as was probably intended:
So why doesn't it work? Easy, it's because the individual parts of the egg are also inside it. So, abusing https://github.com/the-infocom-files/enchanter/issues/20, we see:
Since you can't put anything back into the egg ("You can't put the object inside the egg without damaging it."), it should be enough to check if the shredded scroll is inside instead of checking if the egg is empty.