Custom Library Messages

version 4/120212 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter - (for use without Plurality by Emily Short)

    [ If Plurality is NOT included, this is the heart of it which CLM needs. ]

    Include (-
    ! These are Plurality-like phrases Inform automatically includes but only uses in the L__M() we've removed. Since they would have to be rewritten anyway, save the memory.
    -) instead of "Printed Inflections" in "Language.i6t".

    To decide if (item - an object) acts plural:
        if the item is nothing:
            if the story viewpoint is at least first person plural, yes;
            if the story viewpoint is at most second person, yes; [ "I" acts plural with every verb except the was/were past-tenses of are*. That sole exception we solve within the table of irregular verbs. ]
            no;
        if the item is any third person singular, no;
        if the item is any third person plural, yes;
        decide on whether or not the item is plural-named.

    To say it-them of (item - an object): mark item in output; if the item acts plural, say "them"; otherwise say "it".

    To say That-those of (item - an object): mark item in output; if the item acts plural, say "Those"; otherwise say "That".

    To say it-they of (item - an object): mark item in output; if the item acts plural, say "they"; otherwise say "it".
    To say It-They of (item - an object): mark item in output; if the item acts plural, say "They"; otherwise say "It".

    [To say its-their of (item - an object):
        mark item in output;
    [ if the item is the player:
            say "[our]";]
        otherwise if the item acts plural:
            say "their";
        otherwise if the item is female:
            say "her";
        otherwise if the item is male:
            say "his";
        otherwise:
            say "its".]