the-infocom-files / starcross

Starcross
5 stars 3 forks source link

If you drop an object while you're in the bunk, you can't take it again #5

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago
>LOOK
Living Quarters
(You are in the bunk.)
This nook is your spartan living quarters, containing only a bunk and a bureau.
The only exit is to starboard.
There is a tape library here. (outside the bunk)

>TAKE TAPE
Taken.

>DROP TAPE
Dropped.

>LOOK
Living Quarters
(You are in the bunk.)
This nook is your spartan living quarters, containing only a bunk and a bureau.
The only exit is to starboard.
The bunk contains:
  A tape library

>GET TAPE
You can't see any tape here.

>GET ALL FROM BUNK
There isn't anything to get!

>GET UP
You are on your own feet again.

>LOOK
Living Quarters
This nook is your spartan living quarters, containing only a bunk and a bureau.
The only exit is to starboard.

>PUT SHEET ON BUNK
The bunk isn't open.

I think the problem is that BUNK doesn't have OPENBIT. There are several vehicles in the game:

Of these, only COUCH, WINDOW and BUNK lack OPENBIT. The bug also happens with COUCH. You can't enter the window, so that's not a problem.

My suggestion would be to add OPENBIT and SURFACEBIT to BUNK. That does not help with COUCH though. And since that is a local global object, you really shouldn't be allowed to put or drop anything into it.

eriktorbjorn commented 5 years ago

In the example above, while "TAKE LIBRARY" doesn't work "TAKE IT" still might.