Inevitable achievement bugfixes
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 9 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 45 KiB |
|
@ -1,7 +1,7 @@
|
|||
<head>
|
||||
<title>Achievements</title>
|
||||
<meta charset="utf-8">
|
||||
<link href="../assets/css/browser.css" type="text/css" rel="stylesheet">
|
||||
<link href="../assets/css/browser.css?" type="text/css" rel="stylesheet">
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135255146-3"></script><script>window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-135255146-3');</script>
|
||||
<link rel="icon" href="../assets/trophies/1.png">
|
||||
<meta id="meta-title" property="og:title" content="Achievements">
|
||||
|
@ -111,7 +111,7 @@ function append(reset=true) {
|
|||
$('#searchBox').append(`<div class="flex searchresult leaderboardSlot" style="height: 18%; width: 92%; padding-left: 3%; padding-top: 0%">
|
||||
<div class="flex" style="width: 8%; margin-right: 2%"><img src="${iconImg}></div>
|
||||
<div>
|
||||
<h2 title="geometry.ach.${x.id}" smaller inline" style="font-size: 4.5vh; margin-top: 1vh; color: ${gameColors[x.game] || "default"}">${x.name}</h2>
|
||||
<h2 title="${x.trueID}" smaller inline" style="font-size: 4.5vh; margin-top: 1vh; color: ${gameColors[x.game] || "default"}">${x.name}</h2>
|
||||
<p style="margin-top: 2vh; color:${completed ? "yellow" : "white"}">${completed ? x.achievedDescription : x.description}</p>
|
||||
</div>
|
||||
</div>`)
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
"level": ["Official Levels", ["level", "mdlevel", "world.level", "steam"]],
|
||||
"customLevels": ["Online Levels", ["custom"]],
|
||||
"creator": ["Creator", ["creator", "submit"]],
|
||||
"ultimate": ["3 Coins", ["demoncoin", "mdcoin"]],
|
||||
"ultimate": ["3 Coins", ["ultimatedemon", "mdcoin"]],
|
||||
"mappacks": ["Map Packs", ["mappacks"]],
|
||||
"attempts": ["Attempts", ["attempt", "special"]],
|
||||
"jumps": ["Jumping", ["jump"]],
|
||||
"rating": ["Rating", ["like", "rateDiff"]],
|
||||
"social": ["Social", ["followCreator", "friends"]],
|
||||
"robtop": ["Support", ["rate", "mdrate", "twitter", "facebook", "youtube", "moreGames", "lite"]],
|
||||
"robtop": ["Support", ["rating", "mdrate", "twitter", "facebook", "youtube", "moreGames", "lite"]],
|
||||
"secret": ["Secrets + Vault", ["secret"]],
|
||||
"vaultOfSecrets": ["Vault of Secrets", ["v2.secret"]],
|
||||
"chamberOfTime": ["Chamber of Time", ["v3.secret"]]
|
||||
|
|
|
@ -52,10 +52,13 @@ if (exportName == "achievements") { // hardcoded shit starts here!
|
|||
rewardType: rewardTypes[reward[0]] || reward[0] || "misc",
|
||||
rewardID: +reward[1] || -1,
|
||||
description: final[k].unachievedDescription,
|
||||
achievedDescription: final[k].achievedDescription
|
||||
achievedDescription: final[k].achievedDescription,
|
||||
trueID: k
|
||||
}
|
||||
Object.keys(games).forEach(x => {
|
||||
if (k.startsWith(achString + x)) achObj.game = games[x]
|
||||
if (k == achString + "rate") achObj.id = "rating"
|
||||
if (achObj.id.includes("demoncoin")) achObj.id = achObj.id.replace("demoncoin", "ultimatedemon")
|
||||
})
|
||||
achArray.push(achObj)
|
||||
}
|
||||
|
|