1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-07 17:44:22 +03:00
inform7/resources/Documentation/Examples/Lucy.txt
2023-07-24 11:56:58 +01:00

23 lines
835 B
Plaintext

Example: * Lucy
Location: Reading and talking
RecipeLocation: Remembering, Converting and Combining Actions
Index: ASKing about a conversation topic other than the one the player typed
Description: Redirecting a question about one topic to ask about another.
For: Z-Machine
Occasionally we will want to replace the player's question topic with another of our own devising. We can do this in the simplest possible case like so:
{*}"Lucy"
The International Boardgame Championship is a room. Lucy is a woman in the Championship.
Instead of asking Lucy about "checkers":
try asking Lucy about "games".
Instead of asking Lucy about "games",
say "'I don't like games,' she sniffs."
Test me with "ask lucy about checkers / ask lucy about games".
Note that this syntax did not work in older versions of Inform; it is now safe.