Player Experience Upgrade

version 2/111127 by Aaron Reed

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Listing Exits (for use without Keyword Interface by Aaron Reed)

    Definition: a direction is viable if the room it from the location is a room.

    Listing exits is an action out of world applying to nothing. Understand "exits" as listing exits. The listing exits action has a number called the count of exits.

    Carry out listing exits (this is the Small Kindnesses count exits rule): now count of exits is the number of viable directions.

    Report listing exits when count of exits is 0 (this is the Small Kindnesses report on no exits rule):
        say the message corresponding to a rule name of Small Kindnesses report on no exits rule in the Table of Small Kindnesses Responses.

    Report listing exits when count of exits is 1 (this is the Small Kindnesses report on one exit rule):
        say the message corresponding to a rule name of Small Kindnesses report on one exit rule in the Table of Small Kindnesses Responses.

    Report listing exits when count of exits > 1 (this is the Small Kindnesses report on exits rule):
        say the message corresponding to a rule name of Small Kindnesses report on exits rule in the Table of Small Kindnesses Responses.

    Table of Small Kindnesses Responses (continued)
    rule name  message  
    Small Kindnesses report on no exits rule  "[as the parser]In fact, you can't see any obvious exits.[as normal][line break]"  
    Small Kindnesses report on one exit rule  "[as the parser]The only way to go is [list of viable directions].[as normal][line break]"  
    Small Kindnesses report on exits rule  "[as the parser]From here, you can go [list of viable directions].[as normal][line break]"