Conversation Framework by Eric Eve

This topic is for discussions related to Conversation Framework by Eric Eve

There are still several texts not marked with (A), (B) and so on.

As a workaround, in my italian translation I’m going to copy the rules with unmarked texts, but it would be easier for translators a careful mark of all the printed texts.

There’s a bug with implicit-conversing; when the implicit greeting fails (thus failing to set the current interlocutor), the action continues anyway.

Example code:

[code]Include Conversation Framework by Eric Eve.

The Kitchen is a Room.

Bob is a man in the Kitchen. The spoon is in the Kitchen.

Instead of doing anything other than examining when the current action involves Bob:
say “Bob is too busy staring at the spoon.”.

test me with “a spoon”.[/code]

Output:

A fix:

[code]Before implicit-conversing when the current interlocutor is nothing (this is the implicit-conversing really needs current interlocutor rule):
let np be the number of visible people who are not the player;
if np is 0, say “There’s no one here to talk to.”;
if np > 1, say “You need to specify who you want to speak to.”;
if np is not 1, stop the action;
let the interlocutor be a random visible person who is not the player;
if the interlocutor is a person begin;
say “(addressing [the interlocutor])”;
let sn be the second noun;
implicitly greet the interlocutor;
if the current interlocutor is not the interlocutor, stop the action; [this line is new]
now the second noun is sn;
otherwise ;
say “You’re not talking to anyone.”;
stop the action;
end if.

The implicit-conversing really needs current interlocutor rule substitutes for the implicit-conversing needs current interlocutor rule.[/code]

See here.

I’ve now incorporated this correction into an updated version and sent it to the extension maintainer.

I’m getting a HTTP 403 forbidden error when I try to download the extension.

That’s my fault. I’ve fixed the permissions error now. Please try again.