Custom Library Messages

version 4/120212 by Ron Newcomb

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Auxiliary Words and Phrases

    To say (main verb - an irregular verb):
        if the main verb is greater than end aux, say "[the main verb in its appropriate inflection]";
        now suffix eaten by auxiliary is false;
        if restore-library-conjugation is not the zero conjugation:
            now the story tense is the story tense - restore-library-conjugation;
            now restore-library-conjugation is the zero conjugation.

    To say =>capital/uc/^: (- caps_mode = true; -). [ Prevent Inform from making tiny little functions. ]
    To say =>we: (- (+ prior named noun +) = nothing; -).
    To say => (x - an object): mark x in output.
    To decide what object is any third person singular: (- 1 -). [ (- if (say__n == 1) print "'s"; else print "'re"; -) ]
    To decide what object is any third person plural: (- 2 -).

    To say moment: say "[if the story tense is in any present tense]moment[else]time".
    To say here-there: if the story tense is in any past tense, say "t"; say "here".

    [ Use "to decide" so the "[^]" capitalizer will work on it. ]
    To decide what text is can: if the story tense is in any past tense, decide on "could"; decide on "can".
    To decide what text is can't: if the story tense is in any past tense, decide on "couldn't"; decide on "can't".
    To decide what text is will: if the story tense is in any past tense, decide on "would"; decide on "will".
    To decide what text is won't: if the story tense is in any past tense, decide on "wouldn't"; decide on "won't".


    To decide which irregular verb is be*/am*/is*: (- (+ are* +) -). [ This is so a whole function isn't created for the synonym. ]
    To decide which text is aren't+: (- (+ aren't* as auxiliary +) -). [ Likewise, doesn't not generate an extra function, but calls the pre-existing one by synonym. ]
    To decide which text is are+/is-are/was-were: (- (+ are* as auxiliary +) -). [ Likewise, doesn't not generate an extra function, but calls the pre-existing one by synonym. ]
    To decide which text is have+: (- (+ have* as auxiliary +) -). [ So, saying "[are+]" is the *exact* same as saying "[are* as auxiliary]" but without eating extra memory for a translation function. ]
    To decide which text is do+: (- (+ do* as auxiliary +) -).
    To decide which irregular verb is end aux: (- 0 -). [ This can act as a "reset" without printing anything. ]