Glimmr Canvas Editor

version 1/100805 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - New real number question routine (in place of Section 7 - Processing real number questions in Questions by Michael Callaghan)

    After reading a command when real number question mode is true:
        follow the real number question rules;
        if the outcome of the rulebook is the exit outcome:
            deactivate real number question mode;
            follow the every turn rules;
            follow the advance time rule;
            reject the player's command;
        if the outcome of the rulebook is the retry outcome:
            reject the player's command;
        if the outcome of the rulebook is the parse outcome:
             if the player entered a number:
                say "Scaling ratios must be written to a precision of [precision in words] digits. For example, 0.[run paragraph on][8 times (10 to the power precision minus 1)] corresponds to 80%.[paragraph break]";
                reject the player's command;
                continue the action;
            say "[current cancelation message][line break]";
            deactivate real number question mode;
            if the player entered a number:
                follow the every turn rules;
                follow the advance time rule;
                reject the player's command;