Hybrid Choices

version 7 by AW Freyr

  • Home page
  • Beginning
  • Previous
  • Next



  • Section: Page Control
    Sometimes, even when a page turns to another, we might not want to offer it as a choice. Hybrid Choices offers a number of ways to control which choices are displayed based on previous choices. One way we can control this is through use of the "cancel" and "need" relations.
        P1 is a page.
        "There is a door. On the wall is a switch that says, 'FLIP TO DISABLE TRAP'."
        
        P2 is a page.
        "You flip the switch. Hmm... you feel imperceptibly safer."
        The cdesc is "Flip the switch." It is for P1. It is a dead end. It is one off.
        
        P3 is a page.
        "You travel through the door and are murdered by traps."
        The cdesc is "Saunter through the door." It is canceled by P2. It is for P1.
        
        P4 is a page.
        "You safely travel throug the door."
        The cdesc is "Saunter through the door." It is needed by P2. It is for P1.
        
    When a page X "cancels" a page Y, it removes page Y from ever being considered as a choice if page X is visited. When a page X "needs" a page Y, page X will never be considered until page Y is visited. This works for multiple pages, but in a slightly different ways. All of a page's needed pages need to be visited before it becomes a viable choice. However, only one of a page's canceled pages need to be visited to cancel that page.
    The second method is by "activating/deactivating" pages. A page is either "active" or "inactive". When it is "inactive", it will not be displayed as a choice. You can do this with a phrase.
        ...activate PAGE...
        ...deactivate PAGE...
    This will toggle the page. You can even do this in groups. Say we have a game where pages are identifiable by color.
        After examining the anti-red:
            say "All that anti-red sears out your eyeballs.";
            deactivate red pages;
            activate ultra-green pages.
            
    This is also useful for the page-toggle rulebook, which will be covered later.