Hookleft.pngChapter 6: CommandsHookup.pngHookright.png

ยง6.16. Alternate Default Messages

Often we will want to replace the text produced by Inform by default: this includes quite a wide range of text, much of which either describes the success of a command or explains why the action failed. Replacing standard action report rules demonstrates how we might write some rules overriding the standard output.

Inform provides the Responses system to enable default messages like "You can't go that way" to be changed, and this is capable of making large-scale changes. This is especially useful if we want to give the viewpoint character a distinctive voice and set of mannerisms.


*ExampleWe
Replacing the standard action report rules to reflect our own design.


PreviousContentsNext