You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -72,14 +72,55 @@ function generate_running_challenge_data(data) {
72
72
if(data.parkrun_results){
73
73
challenge_data.push(challenge_tourist(data,{
74
74
"shortname": "tourist",
75
-
"name": "Tourist",
76
-
"data": 20,
77
-
"help": "Run at 20+ different parkrun locations anywhere in the world."}))
78
-
challenge_data.push(challenge_tourist(data,{
79
-
"shortname": "cowell-club",
80
-
"name": "Cowell Club",
81
-
"data": 100,
82
-
"help": "Run at 100+ different parkrun locations anywhere in the world. Named after the first parkrunners to complete it. A quarter cowell is available at 25, half at 50, and three-quarter at 75."}))
75
+
"name": "parkrun Tourism",
76
+
"data": {
77
+
// These stages should not overlap.
78
+
// If a stage has more that item in the 'count' field, it is considered something
79
+
// that you can progress towards in fractions, before being awarded the final one.
80
+
// This allows for more club additions as the tourism bug means that ever higher
81
+
// achievements are being regularly recongnised.
82
+
"stages": [
83
+
{
84
+
"shortname": "tourist",
85
+
"name": "parkrun Tourist",
86
+
"count": 20,
87
+
"badge_icon": "runner-tourist"
88
+
},
89
+
{
90
+
"shortname": "cowell",
91
+
"name": "Cowell Club",
92
+
"count": [
93
+
{
94
+
"count": 25,
95
+
"name": "Quarter Cowell",
96
+
"badge_icon": "runner-quarter-cowell-club"
97
+
},
98
+
{
99
+
"count": 50,
100
+
"name": "Half Cowell - a 'Cow'",
101
+
"badge_icon": "runner-half-cowell-club"
102
+
},
103
+
{
104
+
"count": 75,
105
+
"name": "Three-Quarter Cowell",
106
+
"badge_icon": "runner-three-quarter-cowell-club"
107
+
},
108
+
{
109
+
"count": 100,
110
+
"name": "Cowell",
111
+
"badge_icon": "runner-cowell-club"
112
+
}
113
+
]
114
+
},
115
+
{
116
+
"shortname": "freyne",
117
+
"name": "Freyne Club",
118
+
"count": 250,
119
+
"badge_icon": "runner-freyne-club"
120
+
}
121
+
]
122
+
},
123
+
"help": "Run at different parkrun events all over the world! Get badges along your journey at 20,25,50,75,100, and 250 different events."}))
0 commit comments