How to change the "You can see..." message?

I’ve searched everywhere. Especially in inform 7’s somewhat illogical manual and snippets, but cannot find a solution.

A scene in the opening of my work is “out of this world”. That means I want to change a lot of the built in messages in inform. By using “Custom Library Messages” by David Fisher, I have managed to change the “You are carrying…” text to something else. But I can’t find a way to change the “You can see…” message when the runner lists the contents of a room. I want to change it to something like “You can hear…”

Does anyone know how to do this?

Take a closer look at the Custom Library Messages extension, especially see the section in the documentation relating to the messages and rules regarding the Look action.

Here’s the code required to change the “see” to “hear”:

[code]Include Custom Library Messages by David Fisher.

Table of custom library messages (continued)
Message Id Message Text
LibMsg “[what’s inside % part 1] [new what’s inside % part 2]”
LibMsg “[what’s inside % part 2] also [new what’s inside % part 2]”

To say new what’s inside % part 2:
say "hear “;
list the contents of the main object, as a sentence, including contents, listing marked items only, giving brief inventory information, tersely, not listing concealed items;
if the main object is the location, say " here”;
say “.”

Kitchen is a room. “A simple kitchen, with nothing special about it.”

A woman called Amanda is in the Kitchen.[/code]

And here’s the resulting transcript:

A simple kitchen, with nothing special about it.

You can hear Amanda here.


Great help! The extension is more accesible now. Thank you so much, what a bless :smiley: