Quip-Based Conversation

version 5 by Michael Martin

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 3 - Initiating conversations

    Talking to is an action applying to one visible thing. Understand "talk to [something]" as talking to.

    Check talking to (this is the can only talk to talkables rule):
        if the noun provides the property litany and the noun provides the property greeting, do nothing;
        otherwise say "Generally, it's best to talk to living things." instead.

    Check talking to (this is the can only talk to people with things to say rule):
        if the greeting of the noun is quip_null and the number of filled rows in the litany of the noun is zero:
            say "[generic ask quip][paragraph break]" instead.

    Carry out talking to (this is the basic talking to rule):
        if the greeting of the noun is not quip_null, deliver the greeting of the noun quip;
        if the number of filled rows in the litany of the noun is not zero:
            now the qbc_litany is the litany of the noun;
            display the QBC options.

    [This is for when we have a Reactable Quips-style followup in the middle of a conversation.]
    After responding with (this is the revert to normal conversation rule):
        display the QBC options.

    To display the QBC options:
        if the story has ended, stop;
        if RQ is active, stop;
        let qbc_index be 0;
        repeat through qbc_litany:
            if the enabled entry is 1:
                increase qbc_index by 1;
                say "[bracket][qbc_index][close bracket] [prompt entry][line break]";
        if qbc_index is not 0, now the number understood is 0;
        otherwise terminate the conversation.

    Does the player mean talking to a person: it is likely.