1
0
mirror of https://github.com/osmarks/website synced 2025-09-02 10:48:03 +00:00

Patch achievement system

This commit is contained in:
2022-03-07 20:07:16 +00:00
parent bac2a75be6
commit ab801b8848
10 changed files with 166 additions and 71 deletions

View File

@@ -619,6 +619,9 @@ description: A game about... apioforms... by Heavpoot.
}
console.log(kills)
if (localStorage.tutorial=="true"&&kills>30){
if ("points" in window) {
points.then(points => points.unlockAchievement("apioformGame"))
}
localStorage.tutorial=false
kills=0
}