intfiction.org

The Interactive Fiction Community Forum
It is currently Mon May 20, 2013 11:08 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Extensions Don't Work!
PostPosted: Wed Feb 01, 2012 10:20 am 
Offline

Joined: Tue Jan 31, 2012 12:22 pm
Posts: 17
I am new to Inform, but I read on this forum somewhere 'install an extension rather than trying to re-invent the wheel'. Good advice I thought.

So I downloaded Postures by Emily Short, because I have a sofa I would like to be able to sit on.

I installed the extension into Inform and then looked at the documentation for the extension. It says "Each piece of furniture comes with a range of possible postures, which can be expressed with the posture-permission relation: as in

The bunk bed allows seated and reclining."

So into the Source I entered "The sofa allows seated and reclining." and I get the error message

"Problem. You wrote 'the sofa allows seated and reclining' : but I can't find a verb here that I know how to deal with, so I am ignoring this sentence altogether."

What gives? I tried defining the sofa as a piece of furniture, but that just creates more errors! There's nothing in the extension's documentation about how to define furniture or anything or am I missing something basic?

:cry:


Top
 Profile Send private message  
 
PostPosted: Wed Feb 01, 2012 10:30 am 
Offline
User avatar

Joined: Fri Jan 07, 2011 1:19 pm
Posts: 146
Location: USA
Do you have:

Code:
Include Postures by Emily Short.


at the top of your project source code?


Top
 Profile Send private message  
 
PostPosted: Wed Feb 01, 2012 10:57 am 
Offline

Joined: Tue Jan 31, 2012 12:22 pm
Posts: 17
no?


Top
 Profile Send private message  
 
PostPosted: Wed Feb 01, 2012 11:05 am 
Offline
User avatar

Joined: Fri Jan 07, 2011 1:19 pm
Posts: 146
Location: USA
Then it you should put it there! ;)

Not only do extensions have to be in the right folders, they also must be mentioned in the source code.


Top
 Profile Send private message  
 
PostPosted: Wed Feb 01, 2012 11:09 am 
Offline

Joined: Tue Jan 31, 2012 12:22 pm
Posts: 17
(after some tinkering)

>sit on sofa
You are now seated on the sofa.

!!!!HOORAY!!!
:lol:


Top
 Profile Send private message  
 
PostPosted: Wed Feb 01, 2012 11:10 am 
Offline

Joined: Tue Jan 31, 2012 12:22 pm
Posts: 17
thanks, that open ups all the extensions now, which is a huge amount of stuff I can use. Thanks!


Top
 Profile Send private message  
 
PostPosted: Wed Feb 01, 2012 11:22 am 
Offline
User avatar

Joined: Fri Jan 07, 2011 1:19 pm
Posts: 146
Location: USA
You're welcome :D


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

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users 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