mmm, he probado el código pero no me funciona, el codigo que puse es:
Código:
Include Spanish by Sebastian Arg.
Lugar is a room.
Carcelero is a man in Lugar.
Instead of asking carcelero to try swearing mildly:
say "Pon bajo: DECIR <texto> a <personaje>.".
Instead of asking carcelero to try swearing obscenely:
say "Pon alto: DECIR <texto> a <personaje>.".
vez is a number that varies. vez is 0.
Instead of asking carcelero about:
try answering carcelero that the topic understood.
Instead of answering carcelero that:
if player's command includes "cabron/cerdo/idiota/tonto/feo/gordo":
increase vez by 1;
say "[vez] [the topic understood].".
Test me with "carcelero, tonto / carcelero, cabrón / decir tonto al carcelero / decir cabrón al carcelero".
y el resultado del test
Código:
>test me
(Testing.)
>[1] carcelero, tonto
Pon bajo: DECIR <texto> a <personaje>.
>[2] carcelero, cabrón
Pon alto: DECIR <texto> a <personaje>.
>[3] decir tonto al carcelero
1 tonto.
>[4] decir cabrón al carcelero
2 cabron.
>
los resultados 1 y 2 son malos, tendría que actuar siempre como en 3 y en 4.
EDITO:
¡He estado jugando con el Inform y creo que ya lo tengo! Ha quedado así:
Código:
Include Spanish by Sebastian Arg.
Instead of telling someone about something, try asking the noun about it. Instead of answering the noun that something, try asking the noun about it.
Lugar is a room.
Carcelero is a man in Lugar.
vez is a number that varies. vez is 0.
Instead of asking carcelero to try swearing mildly:
try asking carcelero about "tonto";
Instead of asking carcelero about:
if player's command includes "cabron/cerdo/idiota/tonto/feo/gordo" begin;
increase vez by 1;
say "[vez] [the topic understood].";
end if.
Test me with "carcelero, tonto / carcelero, cabrón / decir tonto al carcelero / decir cabrón al carcelero".
Ahora me parece que funciona bien, voy a pasarlo al juego a ver

.