Reactable Quips

version 10 by Michael Martin

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2 - Hitword-based conversation

    The block asking rule is not listed in any rulebook.
    The block telling rule is not listed in any rulebook.
    The block answering rule is not listed in any rulebook.

    Carry out an actor asking someone about something (This is the RQ asking about rule):
        repeat through Table of Ask Results:
            if the noun is the NPC entry:
                if the topic understood includes topic entry:
                    deliver the result entry quip;
                    rule succeeds;
        if the noun is a person:
            say "[quiptext of the default ask quip of the noun][paragraph break]";
            rule succeeds;
        say "[bracket]BUG: Managed to talk to [a noun], who is not a person![close bracket]";
        rule succeeds.

    Carry out an actor telling someone about something (this is the RQ telling about rule):
        repeat through Table of Tell Results:
            if the noun is the NPC entry:
                if the topic understood includes topic entry:
                    deliver the result entry quip;
                    rule succeeds;
        if the noun is a person:
            say "[quiptext of the default tell quip of the noun][paragraph break]";
            rule succeeds;
        say "[bracket]BUG: Managed to talk to [a noun], who is not a person![close bracket][paragraph break]";
        rule succeeds.

    Carry out an actor answering someone that something (this is the RQ answering that rule):
        repeat through Table of Tell Results:
            if the noun is the NPC entry:
                if the topic understood includes topic entry:
                    deliver the result entry quip;
                    rule succeeds;
        if the noun is a person:
            say "[quiptext of the default tell quip of the noun][paragraph break]";
            rule succeeds;
        say "[bracket]BUG: Managed to talk to [a noun], who is not a person![close bracket][paragraph break]";
        rule succeeds.