Assorted Text Generation

version 4 by Emily Short

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 4 - Locational Phrases

    To say in-on (item - a thing):
        if the item is a container, say "in [item]";
        otherwise say "on [item]".

    To say in-on a/an (item - a thing):
        if the item is a container, say "in [an item]";
        otherwise say "on [an item]".

    To say in-on the (item - a thing):
        if the item is a container, say "in [the item]";
        otherwise say "on [the item]".

    To say placement of (item - a thing):
        if the item is in a room:
            say "on the ground";
        otherwise if someone (called owner) carries the item:
            say "carried by [you or the owner]";
        otherwise if someone (called owner) wears the item:
            say "worn by [you or the owner]";
        otherwise:
            say "[in-on the holder of the item]".