the-infocom-files / seastalker

Seastalker
3 stars 3 forks source link

Knocking on the submarine's entry hatch triggers Frotz warning #15

Open eriktorbjorn opened 5 years ago

eriktorbjorn commented 5 years ago
>LOOK
(SCIMITAR)
You're in the pilot's seat of the SCIMITAR, its operating control panel before
you.
A wraparound viewport, both fore and aft, provides a view ahead and astern. You
can also observe your surroundings with a sonarscope and a hydrophone listening
device. There's a sonarphone for communication. You'll discover other features
when you need them.
Tip is sitting behind you, reading a magazine.
The power reactor is off and open.

>KNOCK ON ENTRY HATCH
Warning: @get_child called with object 0 (PC = 18a19) (will ignore further
occurrences)
There's no answer.

This is probably because when you knock on an object that has DOORBIT (e.g. SUB-DOOR), V-KNOCK will loop through the room's exit, looking for a DEXIT. The submarine doesn't have one, so I guess DOOR-ROOM returns 0. This is then passed to INHABITED? and POPULATION, which never check if you're actually passing a valid object to them.