intfiction.org

The Interactive Fiction Community Forum
It is currently Fri Aug 18, 2017 7:01 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: Sat Aug 12, 2017 6:32 pm 
Offline

Joined: Sun Oct 11, 2015 5:09 pm
Posts: 232
The way I understand it, adding "any" to a grammar token means that when the parser is working out what you mean, it considers anything that matches the token's description to be in scope for the duration of that action. So when you use a token like [any known thing], all known things are considered to be in scope for the purposes of that action.

That's why you specify a "visible" thing in the action definition, because when considering that grammar line, every known thing is visible (because it's in scope). Yeah, the touchable vs. visible distinction is sort of weird. Touchable is a subset of visible; if a thing is touchable, it is always visible, but the reverse is not always true. A thing could be in a closed, transparent container, for example, or it could be brought into scope by a rule or an [any] token. One way to look at it is: when an action applies to "one touchable thing" and "one visible thing", what that really means is "one thing that must be touchable" and "one thing that need only be visible".

By the way, to answer your question: the first noun of the querying it about action doesn't need to be touchable. I was just being lazy, assuming that the conversations in your game would always be with NPCs who are in the same room as the player. But you can just as easily define querying it with as an action applying to two visible things, and then use situational rules to bring Colin into scope when you're talking to him over an intercom.


Top
 Profile Send private message  
 
PostPosted: Mon Aug 14, 2017 5:02 pm 
Offline

Joined: Sat Feb 13, 2016 6:26 pm
Posts: 95
Guys, thank you all; this is pure gold!


Top
 Profile Send private message  
 
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: Baidu [Spider], Yahoo [Bot] and 4 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