§6.4. Looking
Looking is quite a complicated command, since the production of a room description takes many steps. A detailed description of this process may be found in the Room Descriptions section.
By convention, a player sees full descriptions of rooms he enters more than once, but may type BRIEF in order to see shorter descriptions, and SUPERBRIEF tells the story never to print room descriptions at all. VERBOSE restores the default behavior.
These conventions are not always appropriate, however, especially in works where experiencing a changing environment is essential. The use option
Use brief room descriptions.
changes the default behavior so that rooms are not always described fully to the player. Verbosity demonstrates how this works.
The player always has the option of turning room descriptions to BRIEF or SUPERBRIEF mode. Verbosity 2 demonstrates how we might remove the player's ability to change the default behavior.
See Room Descriptions for a detailed description of how Inform creates room descriptions and how to change the results
See Going, Pushing Things in Directions for ways to change just those room descriptions that are shown as the result of the player's movement
See Memory and Knowledge for ways to change the room description in response to the player character's knowledge at any given stage of play
By default, the description of a room is printed every time the player enters a room. On a device with very limited screen space, however, we might wish to supplant that behavior with "brief" descriptions. In Brief mode, Inform prints room descriptions only when the player enters that room for the first time. Afterwards, the text is skipped, for brevity, though the player can see it again at any time by typing LOOK. As we saw in the previous chapter, we can set "use options" to control certain aspects of the player's experience. One of the use options is the option to
which changes the defaults so that the description of a room is printed only the first time the player enters.
If we type "test me" during play, these commands will be carried out automatically, and we can see that when we return to the Research Wing, the description is not given a second time. Some notes: the player can also turn full-length descriptions on or off with the commands "verbose" and "brief", or set a minimal-description setting with the command "superbrief". This power still belongs to the player even if we have set the use option to show brief room descriptions by default. Moreover, we can ourselves check what the state of the descriptions is, with
Finally, it is possible to exercise more precise control over what the player sees on his first and subsequent visits to a room; see the next example for details. |
|
By default, the description of a room is printed every time the player enters a room. On a device with very limited screen space, however, we might wish to supplant that behavior with "brief" descriptions. In Brief mode, Inform prints room descriptions only when the player enters that room for the first time. Afterwards, the text is skipped, for brevity, though the player can see it again at any time by typing LOOK. As we saw in the previous chapter, we can set "use options" to control certain aspects of the player's experience. One of the use options is the option to
which changes the defaults so that the description of a room is printed only the first time the player enters.
If we type "test me" during play, these commands will be carried out automatically, and we can see that when we return to the Research Wing, the description is not given a second time. Some notes: the player can also turn full-length descriptions on or off with the commands "verbose" and "brief", or set a minimal-description setting with the command "superbrief". This power still belongs to the player even if we have set the use option to show brief room descriptions by default. Moreover, we can ourselves check what the state of the descriptions is, with
Finally, it is possible to exercise more precise control over what the player sees on his first and subsequent visits to a room; see the next example for details. |
|