Ordinary Room Description

version 2 by Emily Short

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2 - List Nondescript items

    A last description-priority rule (this is the nondescript items preparation rule):
        now every thing is not marked for listing;
        repeat through the Table of Seen things
        begin;
            if the output entry is unmentioned, change the output entry to marked for listing;
        end repeat;
        if a marked for listing thing is in the location, carry out the listing nondescript items activity with the location.

    Rule for listing nondescript items of a room (called target) (this is the nondescript items listing rule):
        say "You can [if something is mentioned]also [end if]see ";
        list the contents of the target, as a sentence, tersely, listing marked items only, including contents and giving brief inventory information;
        say " here."