mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2025-02-16 15:40:16 +00:00
Move secret achievement 42 check to GameDB
This commit is contained in:
parent
d18b429788
commit
c100abcfe1
@ -148,7 +148,9 @@ GameDatabase.achievements.secret = [
|
||||
{
|
||||
id: 42,
|
||||
name: "Was it even broken?",
|
||||
tooltip: '"Fix" your save.'
|
||||
tooltip: '"Fix" your save.',
|
||||
checkRequirement: () => player.secretUnlocks.fixed === "hasbeenfixed",
|
||||
checkEvent: GameEvent.GAME_LOAD
|
||||
},
|
||||
{
|
||||
id: 43,
|
||||
|
@ -127,9 +127,6 @@ const GameStorage = {
|
||||
if (player.infinitied.gt(0) && !NormalChallenge(1).isCompleted) {
|
||||
NormalChallenge(1).complete();
|
||||
}
|
||||
if (player.secretUnlocks.fixed === "hasbeenfixed") {
|
||||
SecretAchievement(42).unlock();
|
||||
}
|
||||
|
||||
ui.view.newsHidden = player.options.newsHidden;
|
||||
ui.view.newUI = player.options.newUI;
|
||||
|
Loading…
Reference in New Issue
Block a user