Login
Remember
IF Answers
Ask a Question

# How to make the player specify which thing of a kind they mean? (Inform 7)

0 votes
99 views
asked Jun 3 in Authoring by anonymous
edited Jun 3

I just started programming with Inform 7, so maybe this is a trivial question.
However I'm struggling with the following problem and was not able to find an answer in the two manuals:

    There is a room called the Copenhagen Room.
    The miniature model is a supporter. It is in the Copenhagen room.
    The description is "This is a miniature model of the Tivoli Gardens amusement park. You can see two rides: a roller-coaster called 'Rutschebanen' and a carousel named 'The Star Flyer'."
    A ride is a kind of thing.
    The tiny roller-coaster is a ride. It is part of the miniature model.
    The tiny carousel is a ride. It is part of the miniature model.

Now when the player enters 'examine ride' they will get the reaction 'You can't see any such thing.'
What do I have to do so that they will get the response 'Which ride do you mean, the tiny roller-coaster or the tiny carousel?' and then be able to specify the ride?

Thank you very much in advance for your answer.

- inform7

## 1 Answer

+3 votes
answered Jun 3 by bg (692 points)
Best answer

The example "Vouvray" in the documentation shows adding synonyms for kinds. In your case, you could say

     Understand "ride" as a ride. Understand "rides" as the plural of ride.

## Related questions

- How to get rid of a rule that's blocking what I want the player to do? (Inform 7)
- Inform 7: Multiple instances of a kind of thing where some (but not all) change properties
- With Flexible Windows by Jon Ingold, is there a way to make the text display at the top of the window, even in Gargoyle? (Inform 7)
- When using hyperlinks, how do you make the command appear appear next to the > instead of on the following line? (Inform 7)
- How do I move an item I have more of in the world (since it's a kind of thing)?

...