Achievements

version 4/080508 by Mikael Segercrantz

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter: Modification

    As mentioned earlier, this extension comes with a few text variables to ease the customization of the text it can display. The following variables are defined:

        Achievement in-that-game-you-scored-unranked - "In that game you scored [score] out of a possible [achievement maximum score], in [turn count] turn[s].[line break]".
        Achievement in-that-game-you-scored-ranked - "In that game you scored [score] out of a possible [achievement maximum score], in [turn count] turn[s][achievement short-ranking]".
        Achievement in-that-game-you-scored - "[if using ranking][achievement in-that-game-you-scored-ranked][otherwise][achievement in-that-game-you-scored-unranked][end if]".
        
        Achievement you-have-scored-unranked - "You have so far scored [score] out of a possible [achievement maximum score], in [turn count] turn[s].[line break]".
        Achievement you-have-scored-ranked - "You have so far scored [score] out of a possible [achievement maximum score], in [turn count] turn[s][achievement short-ranking]".
        Achievement you-have-scored - "[if using ranking][achievement you-have-scored-ranked][otherwise][achievement you-have-scored-unranked][end if]".
        
        Achievement you-have-not-received-unranked - "You have not received any points yet.[line break]".
        Achievement you-have-not-received-ranked - "You have not received any points yet[achievement short-ranking]".
        Achievement you-have-not-received - "[if using ranking][achievement you-have-not-received-ranked][otherwise][achievement you-have-not-received-unranked][end if]".
        
        Achievement for-only - "for";
        
        Achievement out-of-unranked - "(out of [achievement maximum score])[line break]".
        Achievement out-of-ranked - "(out of [achievement maximum score])[line break][achievement long-ranking]".
        Achievement out-of - "[if using ranking][achievement out-of-ranked][otherwise][achievement out-of-unranked][end if]".
        
        Achievement short-ranking - ", giving you a rank of [announce the ranking].[line break]".
        Achievement long-ranking - "[line break]This gives you a rank of [announce the ranking].[line break]".

        Achievement locating-various-objects - "locating sundry items"
        Achievement finding-various-places - "finding various places"

    Above, you also see the default message for the text. This extension itself uses the following ones:

        Achievement in-that-game-you-scored
        Achievement you-have-scored
        Achievement you-have-not-received
        Achievement for-only
        Achievement out-of

    when necessary, and these, as can be seen above, call the correct version depending on whether ranks are in use or not.