1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-05 16:44:21 +03:00
inform7/Documentation/Examples/Vouvray.txt
2019-02-05 00:44:07 +00:00

15 lines
994 B
Plaintext

** New kinds
(Kinds given new singular and plural synonyms; Vouvray)
Adding synonyms to an entire kind of thing.
The Understanding chapter lays out ways to change how the player can refer to objects, but we may not want to wait that long for some of the basic features. Here, for instance, is how to add synonyms that the player can use to refer to an entire kind of object:
{*}"Vouvray"
The Wine Emporium is a room. "Set aside, you rather suspect, for tourists: this chamber is barrel-vaulted stone, lined on each side with casks of aging wine. Discarded brochures here and there advertise Wine Tours of the Loire Valley in three different languages, none of them French."
A cask is a kind of thing. A cask is always fixed in place. Understand "cask" or "barrel" as a cask. Understand "casks" or "barrels" as the plural of cask.
The Vouvray cask and the Muscadet cask are casks in the Wine Emporium.
Test me with "get barrels / get barrel / muscadet / x casks / x muscadet cask".