Void Idol compatibility
This commit is contained in:
parent
f2412d4433
commit
b0a7d8ade0
3 changed files with 20 additions and 1 deletions
|
|
@ -1559,6 +1559,15 @@ function CheckHuntersJournal(db, sectionName, playerData) {
|
||||||
name += " (".concat(amountKillsLeft, ")");
|
name += " (".concat(amountKillsLeft, ")");
|
||||||
entries[entry].name = name;
|
entries[entry].name = name;
|
||||||
}
|
}
|
||||||
|
/* Void Idol backwards compatibility */
|
||||||
|
|
||||||
|
|
||||||
|
if (entry === "VoidIdol_1") {
|
||||||
|
if (playerData.killedVoidIdol_1 === false && (playerData.killedVoidIdol_2 === true || playerData.killedVoidIdol_3 === true)) {
|
||||||
|
CurrentDataTrue(section, entry);
|
||||||
|
entries[entry].name = nameDefault;
|
||||||
|
}
|
||||||
|
}
|
||||||
/* Earlier save files backwards compatibility (no undefined) */
|
/* Earlier save files backwards compatibility (no undefined) */
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1660,6 +1660,16 @@ function CheckHuntersJournal(db, sectionName, playerData) {
|
||||||
entries[entry].name = name;
|
entries[entry].name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Void Idol backwards compatibility */
|
||||||
|
if (entry === "VoidIdol_1") {
|
||||||
|
if (playerData.killedVoidIdol_1 === false
|
||||||
|
&& (playerData.killedVoidIdol_2 === true || playerData.killedVoidIdol_3 === true)) {
|
||||||
|
|
||||||
|
CurrentDataTrue(section, entry);
|
||||||
|
entries[entry].name = nameDefault;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Earlier save files backwards compatibility (no undefined) */
|
/* Earlier save files backwards compatibility (no undefined) */
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue