Achievements

version 4/080508 by Mikael Segercrantz

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 2(d) - Full score replacement rules

    This is the announce the died achievement score rule:
        say "[achievement in-that-game-you-scored]".

    To announce the beginning of full score:
        say "[achievement you-have-scored]".

    To announce the tabled part of full score:
        repeat through the Table of Achievements in used order:
            if the used entry is greater than 0:
                let n be the points entry;
                pad n;
                say "[achievement for-only] [message entry][line break]".

    To announce the tabled objects of full score:
        let total be 0;
        repeat through the Table of Scored Objects:
            if the used entry is not 0, increase the total by the points entry;
        if total is not 0:
            pad total;
            say "[achievement for-only] [achievement locating-various-objects][line break]".

    To announce the tabled rooms of full score:
        let total be 0;
        repeat through the Table of Scored Places:
            if the used entry is not 0, increase the total by the points entry;
        if total is not 0:
            pad total;
            say "[achievement for-only] [achievement finding-various-places][line break]".

    To announce the end of full score:
        pad score;
        say "[achievement out-of]";

    To announce the no score:
        say "[achievement you-have-not-received]".