Tailored Room Description

version 10 by Emily Short

  • Home page
  • Beginning
  • Previous
  • Next



  • Section: Change Log

    Version 3 of Tailored Room Descriptions builds on previous versions by adding description for things carried or held by non-player characters and better handling for enterable containers.

    Version 7 of Tailored Room descriptions moves to a new way of managing internal text: rules to construct paragraphs, instead of constructing sentences out of small snippets of text intermingled with code, refer to tables such as

        Table of Prementioned Containers
      disclosure  
      "[The list of mentioned things which are in the current-subject] [mentioned-are] in [a current-subject][if current-subject contains something mentionable], which also hold[s] [a list of mentionable things in the current-subject][end if]."   

    The disclosure entry here is a template used by the extension to create a viable sentence. One of these lines is selected at random from the table to use in each situation, which means that if we would like to diversify the range of sentence options, we can simply continue the table in our own code, as in

        Table of Prementioned Containers (continued)
      disclosure  
      "[The list of mentioned things which are in the current-subject] [mentioned-are] in [a current-subject], together with [a list of mentionable things in the current-subject][end if]."   

    We may also swap these tables entirely for other tables of our own devising, as in

        When play begins:
            now the current-supporter-content-table is the Table of New Supporter Content.

    The purpose of this change is to make the extension more flexible and more useful to authors working with alternative viewpoints (to recast the prose in first-person past tense, for instance) or in other languages. It also substantially reduces the number of individual rules and quantity of redundant code in the extension.

    Version 8 tweaks the reporting of character possessions and worn items to appear more natural. It also adds section headings to the documentation.