intfiction.org

The Interactive Fiction Community Forum
It is currently Wed Jun 19, 2013 11:58 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Saying "he/she/it"...
PostPosted: Thu Apr 12, 2012 2:38 pm 
Offline
User avatar

Joined: Wed Nov 30, 2011 2:43 am
Posts: 228
This is something that must be simple but I haven't seen it. How do you "say" the pronoun of a person?

Code:
instead of fnording:
   say "You try to fnord [the noun] but [the subject pronoun of the noun] does not want you to. ";


Unfortunately "the subject pronoun of the noun" is not something that actually works. There must be something like it, I guess, but what?


Top
 Profile Send private message  
 
PostPosted: Thu Apr 12, 2012 2:51 pm 
Offline

Joined: Fri Mar 09, 2012 3:42 pm
Posts: 62
If you're using the Plurality extension by Emily Short, you can use the phrases [it-them] and [it-they] to get what you're looking for. Plurality is a sufficiently popular extension that it comes bundled with the current version of Inform, so you probably already have it - just pop the following at the top of your source text:

Code:
Include Plurality by Emily Short.


Top
 Profile Send private message  
 
PostPosted: Thu Apr 12, 2012 11:15 pm 
Offline
User avatar

Joined: Wed Nov 30, 2011 2:43 am
Posts: 228
Oh! I didn't realize Plurality handled genders too. I knew it was simple. Thank you, David!


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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