version 2 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next

  • Section - describe the restriction

    After printing the name of the location when the location is currently restrictive (this is the print restriction message rule):
        if the location has a nonzero restriction message, say " ([restriction message of the location])".

    To decide if (r - a room) has a nonzero restriction message: if the restriction message of r is not "", yes; no.

    A room has some text called restriction message. The restriction message of a room is usually "".