trinity icon indicating copy to clipboard operation
trinity copied to clipboard

Calling SAID-CRUMBS? from EBAG doesn't work as intended

Open eriktorbjorn opened this issue 4 years ago • 2 comments

EBAG-F has this, which is apparently there to check if you refer to the empty (or soggy) bag as "crumbs":

<ROUTINE EBAG-F ()
	 <COND (<SAID-CRUMBS?>
		<TELL "The crumbs are all gone." CR>
		<RFATAL>)

But it doesn't work. Probably because the first thing SAID-CRUMBS? does is to check if you're carrying the full bag of crumbs (BAG):

<ROUTINE SAID-CRUMBS? ()
	 <COND (<NOT <IN? ,BAG ,PLAYER>>
		<RFALSE>)

eriktorbjorn avatar Sep 16 '20 18:09 eriktorbjorn