Directional Facing

version 2 by Poster

  • Home page
  • Beginning
  • Previous



  • Example: * In And Out - An example of in, out, and auto_facing.

        "In And Out"

        [This is an example of how to use the auto_facing property, so that the directionals work when a player goes in or out.]

        Include Directional Facing by Poster.

        When play begins:
        Now the player is facing north.
        
        Defecatory is a room. "Just the name makes you want to go #2. A beautiful door leads out [north directional]."
        
        The auto_facing of Defecatory is north.
        Outside from Defecatory is Urinal Mint City.
        North from Defecatory is Urinal Mint City.

        Urinal Mint City is a room. "You are surrounded by a bedazzling array of urinal mints, most of which are deeply discounted! A small, nasty door leads in [south directional]."
        
        The auto_facing of Urinal Mint City is south.
        Inside from Urinal Mint City is Defecatory.
        South from Urinal Mint City is Defecatory.

        Test me with "f / b / n"