Exit Descriptions SP
version 2 by Matthew Fletcher
Version 2 of Exit Descriptions SP by Matthew Fletcher begins here.
"A╠▒ade una lista de direcciones de salida v╠┴lidas as╠đ como los nombres de las localidades previamente visitadas tras la descripci╠Ďn de una localidad. ----- Appends a list of exit directions and names any previously visited rooms at the end of a room description."
The amount is a number variable.
The amount is 0.
The num is a number variable.
The num is 0.
Change the amount to the number of adjacent rooms;
repeat with destination running through adjacent rooms begin;
if the num is 0, say "Salidas:";
let the way be the best route from the location to the destination, using even locked doors;
if the way is a direction, say " [way]";
if the destination is visited, say " hacia [the destination]";
Decrease the amount by 1;
Increase the num by 1;
if the amount is 0, say ".";
if the amount is 1, say " y";
if the amount is greater than 1, say ",";
Change the amount to 0;
Change the num to 0.
Exit Descriptions ends here.