achievements.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0"?>
  2. <!-- List of counters the achievements can query.
  3. The format to use is <goal type="name_of_the_counter" value="X"/>
  4. where X is the desired value of the counter ;e.g. <won_races value="10"/>
  5. WARNING! If a goal node is malformed, it is ignored.
  6. ___________________________________________________________________________
  7. S - Logical relations and subgoals
  8. When you define multiple goals, the achievement will be completed
  9. if they are all met, but they don't need to be met at once.
  10. To have more possibilities, you can define subgoals and the
  11. logical relationship they need to meet.
  12. The available relations are :
  13. AND // The subgoals have to be met, but not necessarily at once
  14. AND-AT-ONCE // The subgoals have to be met at the same time.
  15. OR // One of the subgoal has to be met
  16. SUM // The subgoals sum must reach a certain (positive !) number.
  17. The format to use for AND, AND-AT-ONCE and OR is :
  18. <goal type="AND">
  19. <goal type="name_of_counter" value="X"/>
  20. <goal type="name_of_counter" value="Y"/>
  21. </goal>
  22. For SUM, it is :
  23. <goal type="SUM" value="X">
  24. <goal type="name_of_counter" operation="+"/>
  25. <goal type="name_of_counter" operation="-"/>
  26. </goal>
  27. With the value of operation (+ or -) defining if the subgoal is added
  28. or subtracted from the total.
  29. Sub-goals can also have their own sub-goals,
  30. however a AND, AND-AT-ONCE or OR can't have a SUM goal for parent.
  31. ___________________________________________________________________________
  32. I - Won races (normal, time-trial, FTL) counters.
  33. Require to beat at least 3 AIs in any difficulty.
  34. won-races : total number of races won
  35. won-normal-races
  36. won-tt-races
  37. won-ftl-races
  38. II - Consecutive won races counters.
  39. These counters are reset if a race is restarted,
  40. or if a race is lost even if the AI count to increment
  41. is not met.
  42. cons-won-races
  43. cons-won-races-hard // This requires 5+ AIs and expert+ difficulty
  44. III - Race started and finished counters, by difficulty (linear races only)
  45. easy-started
  46. easy-finished
  47. medium-started
  48. medium-finished
  49. hard-started
  50. hard-finished
  51. best-started
  52. best-finished
  53. IV - Race started and finished counters, by game mode.
  54. Races against a ghost are counted both in the base mode counter,
  55. either time-trial or egg hunt, and in their own specific counter.
  56. normal-started
  57. normal-finished
  58. tt-started
  59. tt-finished
  60. ftl-started
  61. ftl-finished
  62. three-strikes-started
  63. three-strikes-finished
  64. soccer-started
  65. soccer-finished
  66. egg-hunt-started
  67. egg-hunt-finished
  68. with-ghost-started
  69. with-ghost-finished
  70. ctf-started
  71. ctf-finished
  72. ffa-started
  73. ffa-finished
  74. IV - Counters related to powerup use. The hit counters reference how many
  75. times the player kart has hit other karts, not how often it was hit.
  76. powerup-used
  77. powerup-used-1race
  78. bowling-hit
  79. bowling-hit-1race
  80. swatter-hit
  81. swatter-hit-1race
  82. all-hits // hits from bowling ball, cake and swatter
  83. all-hits-1race
  84. hit-same-kart-1race
  85. V - Counters related to other race events.
  86. banana // counts how many banana the player's kart has hit
  87. banana-1race
  88. skidding
  89. skidding-1race
  90. skidding-1lap
  91. VI - Per-track counters (at least one track reach the value)
  92. race-started
  93. race-finished
  94. race-won
  95. race-finished-reverse
  96. race-finished-alone
  97. less-laps
  98. more-laps
  99. twice-laps
  100. egg-hunt-started
  101. egg-hunt-finished
  102. VII - Per-track counters (all non-addon tracks reach the value)
  103. race-started-all
  104. race-finished-all
  105. race-won-all
  106. race-finished-reverse-all
  107. race-finished-alone-all
  108. less-laps-all
  109. more-laps-all
  110. twice-laps-all
  111. // For egg hunts, all non-addon tracks with egg hunt support
  112. // must reach the value
  113. egg-hunt-started-all
  114. egg-hunt-finished-all
  115. -->
  116. <achievements version="1">
  117. <achievement id="1" name="Christoffel Columbus" description="Play every official track at least once." >
  118. <goal type="race-finished-all" value="1"/>
  119. </achievement>
  120. <achievement id="2" name="Strike!" description="Hit 10 karts with a bowling-ball.">
  121. <goal type="bowling-hit" value="10"/>
  122. </achievement>
  123. <achievement id="3" name="Arch Enemy" description="Hit the same kart at least 5 times in one race.">
  124. <goal type="hit-same-kart-1race" value="5"/>
  125. </achievement>
  126. <achievement id="4" name="Marathoner" description="Finish a race with at least twice the track's default lap number.">
  127. <goal type="twice-laps" value="1"/>
  128. </achievement>
  129. <achievement id="5" name="Skid-row" description="Skid 5 times in a single lap.">
  130. <goal type="skidding-1lap" value="5"/>
  131. </achievement>
  132. <achievement id="6" name="Gold driver" description="Win against at least 3 AIs in normal race, time-trial, and follow the leader.">
  133. <goal type="won-normal-races" value="1"/>
  134. <goal type="won-tt-races" value="1"/>
  135. <goal type="won-ftl-races" value="1"/>
  136. </achievement>
  137. <achievement id="7" name="Powerup Love" description="Use 10 or more powerups in a race.">
  138. <goal type="powerup-used-1race" value="10"/>
  139. </achievement>
  140. <achievement id="8" name="Unstoppable" description="Win 5 single races in a row against at least 3 AIs. Beware, restarting a race counts as a loss.">
  141. <goal type="cons-won-races" value="5"/>
  142. </achievement>
  143. <achievement id="9" name="Banana Lover" description="Collect at least 5 bananas in one race.">
  144. <goal type="banana-1race" value="5"/>
  145. </achievement>
  146. <achievement id="10" name="It's secret" description="Really ... a secret." secret="yes">
  147. </achievement>
  148. <achievement id="11" name="Mosquito Hunter" description="Take your opponents for mosquitos! With the swatter, squash them at least 5 times in a race.">
  149. <goal type="swatter-hit-1race" value="5"/>
  150. </achievement>
  151. <achievement id="12" name="Beyond Luck" description="Win 10 single races in a row in Expert or SuperTux against at least 5 AIs. Beware, restarting a race counts as a loss.">
  152. <goal type="cons-won-races-hard" value="10"/>
  153. </achievement>
  154. </achievements>