intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Jul 21, 2018 10:19 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 Jan 13, 2018 10:22 am 
Offline

Joined: Mon Dec 11, 2017 1:12 pm
Posts: 17
I got around it by making a ingredient a kind of thing, a liquid a kind of ingredient and G a kind of liquid. However, G needs to have a value.

Code:
Chapter - Liquids
 
A liquid is a kind of ingredient.
The indefinite article of a liquid is "some".
 
Instead of taking a liquid:
   say "You can't take the [noun]."
 
Section - G
 
The G is a kind of liquid.
 
The G can be clear, green, red or blue (this is the G color property).
 
Rule for printing the name of the G when listing contents:
   say "[G color] G".
Understand the G color property as describing the G.
 
The G has a time called the concealment-time.
The G is a number that varies.
The G is 10. [since every magical knows it changes every 10 minutes]
 
After closing a container enclosing the G:
   now the concealment-time of the G is the time of day;
   continue the action.
   
Every turn when the G is in a closed container:
   if the remainder after dividing the minutes part of the concealment-time of the G minus 1 by G change is the remainder after dividing the minutes part of the time of day by G change:
      now the G color of the G is the G after the G color of the G.


Inform tells me the following:

Code:
You wrote 'Understand the G color property as describing the G'  : but I don't understand what single thing or kind of thing that refers to, but it does need to be an object (or kind of object) and not some other sort of value. For instance, 'understand the transparent property as describing a container.' is okay because 'a container' is a kind of object.


Is there a way to work around it?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Sun Jan 14, 2018 12:30 am 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5693
If "G" is a kind of thing, you can't refer to "the G" (because there are many of them). You can only refer to "a G".


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 5 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