Grouped Messages As Dialogue

version 1 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 5 - The 'Asks' Phrases

    To decide whether (character - a person) ask/asks (quotation - some text):
        [if answering the NPC < ready for answer begin;] [ CAN'T REMEMBER WHY I HAD THIS IF STATEMENT HERE. BETTER NOT DELETE IT TIL I REMEMBER WHY ]
            if using grouped messages as dialogue debugging option, say "// [character] asks [quotation] expecting: [list of relevant things].";
            if the number of relevant things > 0 begin;
                say quotation;
                now answering the NPC is changing phase;
                decide yes;
            otherwise;
                reset yes and no;
                decide no;
            end if;
        [end if.]

    To decide whether (character - a person) ask/asks (quotation - some text) expecting/including (d - a description):
        repeat with item running through d begin;
            now item is relevant;
        end repeat;
        if character asks quotation, decide yes;
        otherwise decide no.

    To decide whether (character - a person) ask/asks (quotation - some text) excluding/except (d - a description):
        repeat with item running through d begin;
            now item is irrelevant;
        end repeat;
        if character asks quotation, decide yes;
        otherwise decide no.

    To decide whether (character - a person) ask/asks (quotation - some text) expecting/including (d - a description) excluding/except (d2 - a description):
        repeat with item running through d begin;
            now item is relevant;
        end repeat;
        if character asks quotation excluding d2, decide yes;
        otherwise decide no.

    To (character - a person) ask/asks (quotation - some text):
        if character asks quotation, do nothing.
        
    To (character - a person) ask/asks (quotation - some text) expecting/including (answer - a description):
        if character asks quotation expecting answer, do nothing.

    To (character - a person) ask/asks (quotation - some text) excluding/except (items - a description):
        if character asks quotation excluding items, do nothing.

    To (character - a person) ask/asks (quotation - some text) expecting/including (answer - a description) excluding/except (items - a description):
        if character asks quotation expecting answer excluding items, do nothing.

    To ask/asks (quotation - some text):
        The observer asks quotation.
    To ask/asks (quotation - some text) expecting/including (answer - a description):
        The observer asks quotation expecting answer.
    To ask/asks (quotation - some text) excluding/except (items - a description):
        The observer asks quotation excluding items.
    To ask/asks (quotation - some text) expecting/including (answer - a description) excluding/except (items - a description):
        The observer asks quotation expecting answer excluding items.

    To decide whether ask/asks (quotation - some text):
        if the observer asks quotation, decide yes; otherwise decide no.
    To decide whether ask/asks (quotation - some text) expecting/including (answer - a description):
        if the observer asks quotation expecting answer, decide yes; otherwise decide no.
    To decide whether ask/asks (quotation - some text) excluding/except (items - a description):
        if the observer asks quotation excluding items, decide yes; otherwise decide no.
    To decide whether ask/asks (quotation - some text) expecting/including (answer - a description) excluding/except (items - a description):
        if the observer asks quotation expecting answer excluding items, decide yes; otherwise decide no.