DavidGriffith / inform6unix

The Inform6 compiler Unix package (moved to https://gitlab.com/DavidGriffith/inform6unix)
Other
12 stars 6 forks source link

** Programming error: tried to test "in" or "notin" of nothing ** #2

Closed a4202640 closed 10 years ago

a4202640 commented 10 years ago

So, I start off by doing this: git clone https://github.com/DavidGriffith/inform6unix.git cd inform6unix git submodule init git submodule update ./autogen.sh ./configure make sudo checkinstall make install

Then I go try out a tutorial I found: http://www.ifwiki.org/index.php/House_1_Inform_Tutorial

But I keep seeing these "Progamming errors" everywhere. I've tried multiple programs from different sources, even if the Inform Designer's Manual, and they keep cropping up. Suggestions? Here's a transcript of one:

The House Inform for New Writers The House - Version 1 By New Writer (1998) - Last Compiled: 03-Jan-1998 Release 1 / Serial number 980103 / Inform v6.33 Library 6/12pre S

Sidewalk You are standing on the sidewalk in front of a house.

examine sidewalk

[\ Programming error: tried to test "in" or "notin" of nothing **] You can't see any such thing.

a4202640 commented 10 years ago

Oh, I am running it in Frotz if that matters.

DavidGriffith commented 10 years ago

Try doing a "git submodule update" again. The version of the library it was pulling evidently had some problems. The latest code seems good.

a4202640 commented 10 years ago

Thanks for the quick reply. That message about the programming error has indeed disappeared but the comment that "You can't see any such thing" remains. If I understand things correctly, isn't examinig an object supposed to give its description? At least that's what I gather from the Inform Desginer's Manual at http://inform-fiction.org/manual/html/s4.html unless I am mistaken. So why does it say I can't see any such thing? I am just copying & pasting the tutorial as-is. Am I missing something?

DavidGriffith commented 10 years ago

When you're in an object (ie, a room) you cannot interact with it. The correct way to have the sidewalk being something the player can examine is to make it an object within the room and give it the "scenery" attribute.

By the way, you'll find those tutorials in the tutorial/ directory.