Implement retroactive achievements (for userStat types so far)

This commit is contained in:
Bryan Ashby
2019-01-06 10:41:04 -07:00
parent 2b802cb534
commit f653d83c14
4 changed files with 49 additions and 17 deletions

View File

@@ -55,12 +55,11 @@
user_login_count: {
type: userStat
statName: login_count
retroactive: true
match: {
2: {
title: "Return Caller"
globalText: "{userName} has returned to {boardName}!"
text: "You\"ve returned to {boardName}!"
text: "You've returned to {boardName}!"
points: 5
}
10: {
@@ -93,7 +92,6 @@
user_post_count: {
type: userStat
statName: post_count
retroactive: true
match: {
5: {
title: "Poster"
@@ -125,7 +123,6 @@
user_upload_count: {
type: userStat
statName: ul_total_count
retroactive: true
match: {
1: {
title: "Uploader"
@@ -164,7 +161,6 @@
user_download_count: {
type: userStat
statName: dl_total_count
retroactive: true
match: {
1: {
title: "Downloader"
@@ -202,7 +198,6 @@
user_door_runs: {
type: userStat
statName: door_run_total_count
retroactive: true
match: {
1: {
title: "Nostalgia Toe Dip",
@@ -240,7 +235,6 @@
user_door_total_minutes: {
type: userStat
statName: door_run_total_minutes
retroactive: true
match: {
1: {
title: "Nevermind!"