intfiction.org

The Interactive Fiction Community Forum
It is currently Tue Jun 19, 2018 12:49 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Fri May 25, 2018 6:43 pm 
Offline
User avatar

Joined: Sat Jun 25, 2016 12:13 pm
Posts: 230
That's really neat!

Presumably you can't ask about something you haven't seen even if you fully specify it, eg "ask marvin about the gold coin" before seeing it.

Sometimes you might want the latter to work (eg for replays), but if it doesn't do that, that's also fair enough.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Fri May 25, 2018 7:44 pm 
Offline

Joined: Tue Mar 09, 2010 2:34 pm
Posts: 5286
Location: Burlington, VT
Yep, this applies even to fully specified nouns.

To be clear there isn't anything special about something's having been seen here; the extension just sets the "known" property when you see something (I think it gets set the first time the name is printed, and then the "[any known thing]" token means that only things with the "known" property can be understood in that spot. ("Any" means that it totally ignores scope, so the things don't have to be currently visible.) I think what the parser does is loop over possible matches--so the known things--and check word by by word whether the words used do match those things.

Getting something where disambiguation only listed known things but you could fully specify an unknown thing seems like it'd be pretty challenging in Inform.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group