This commit is contained in:
Omsi 2018-04-15 23:45:41 -07:00
parent 1b44d8c960
commit b581cad979
4 changed files with 8 additions and 5 deletions

BIN
images/s5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

@ -1433,7 +1433,7 @@
<div id="So do I" class="achievement achievementlocked" style="background-image: url(images/s4.png)" ach-tooltip="So do I."><br></div>
</td>
<td>
<div id="s15" class="achievement achievementlocked" style="background-image: url(images/s5.png)" ach-tooltip="Buy a single Fifth Dimension."><br></div>
<div id="Do a barrel roll!" class="achievement achievementlocked" style="background-image: url(images/s5.png)" ach-tooltip="Do a barrel roll!"><br></div>
</td>
<td>
<div id="s16" class="achievement achievementlocked" style="background-image: url(images/s6.png)" ach-tooltip="Buy a single Sixth Dimension."><br></div>

View File

@ -107,7 +107,7 @@ const allAchievements = {
s12 : "Just in case",
s13 : "It pays to have respect",
s14 : "So do I",
s15 : "s15",
s15 : "Do a barrel roll!",
s16 : "s16",
s17 : "s17",
s18 : "s18",
@ -117,7 +117,7 @@ const secretAchievementTooltips = {
s12 : "Save 100 times without refreshing.",
s13 : "Pay respects.",
s14 : "Say something naughty.",
s15 : "s15",
s15 : "Do a barrel roll.",
s16 : "s16",
s17 : "s17",
s18 : "s18",

View File

@ -1723,8 +1723,11 @@ function verify_save(obj) {
document.getElementById("importbtn").onclick = function () {
var save_data = prompt("Input your save.");
if (save_data.constructor !== String) save_data = "";
if (sha512_256(save_data.replace(/\s/g, '').toUpperCase()) === "80b7fdc794f5dfc944da6a445a3f21a2d0f7c974d044f2ea25713037e96af9e3") document.getElementById("body").style.animation = "barrelRoll 5s 1";
setTimeout(function(){ document.getElementById("body").style.animation = ""; }, 5000)
if (sha512_256(save_data.replace(/\s/g, '').toUpperCase()) === "80b7fdc794f5dfc944da6a445a3f21a2d0f7c974d044f2ea25713037e96af9e3") {
document.getElementById("body").style.animation = "barrelRoll 5s 1";
giveAchievement("Do a barrel roll!")
setTimeout(function(){ document.getElementById("body").style.animation = ""; }, 5000)
}
if (sha512_256(save_data.replace(/\s/g, '').toUpperCase()) === "857876556a230da15fe1bb6f410ca8dbc9274de47c1a847c2281a7103dd2c274") giveAchievement("So do I");
if (sha512_256(save_data) === "de24687ee7ba1acd8f5dc8f71d41a3d4b7f14432fff53a4d4166e7eea48a88c0") {
player.options.theme = "S1";