version 11 by Al Golden
Version 11 of Debugging by Al Golden begins here.
to say /l: say line break.
a patroller is a kind of person.
placing is an action applying to nothing.
understand "places" as placing.
say "You have visited the following rooms:[paragraph break]".
carry out placing:
repeat with item running through visited rooms:
say "[item] [line break]";
objecting is an action applying to nothing.
understand "objects" as objecting
instead of objecting:
say "You have handled the following items: [line break]";
repeat with obj running through handled things:
say "the [obj]";
After printing the name of something (called item) while objecting:
if the holder of the item is nothing
say " (lost)[line break]";
otherwise if the player carries the item;
say " (carried)[line break]";
otherwise if the player wears the item;
say " (worn)[line break]";
say " (in [the location of the item])[line break]";