change default spoiler to 160 or 164
This commit is contained in:
parent
e3ae3a69ef
commit
f3d917ec3f
4 changed files with 19 additions and 5 deletions
12
build/app.js
12
build/app.js
|
|
@ -914,9 +914,13 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
|
||||||
if (playerData.zoteRescuedBuzzer === false && playerData.hasWalljump === true) {
|
if (playerData.zoteRescuedBuzzer === false && playerData.hasWalljump === true) {
|
||||||
dataObject[i].max = dataObject[i].maxZoteOff;
|
dataObject[i].max = dataObject[i].maxZoteOff;
|
||||||
/* Substract GPZ and 3 Zotelings from max */
|
/* Substract GPZ and 3 Zotelings from max */
|
||||||
|
|
||||||
|
dataObject[i].spoiler = dataObject[i].spoilerZoteOff;
|
||||||
|
/* Change spoiler for less confusion */
|
||||||
} else {
|
} else {
|
||||||
/* otherwise, set back to 164 */
|
/* otherwise, set back to 164 */
|
||||||
dataObject[i].max = dataObject[i].maxDefault;
|
dataObject[i].max = dataObject[i].maxDefault;
|
||||||
|
dataObject[i].spoiler = dataObject[i].spoilerDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.info(i + ".max", dataObject[i].max);
|
console.info(i + ".max", dataObject[i].max);
|
||||||
|
|
@ -4340,7 +4344,9 @@ var HK = {
|
||||||
},
|
},
|
||||||
journalEntriesCompleted: {
|
journalEntriesCompleted: {
|
||||||
name: "Creatures Encountered",
|
name: "Creatures Encountered",
|
||||||
spoiler: "Hunter's Journal (160+4 max)",
|
spoiler: "Hunter's Journal (160 or 164 max)",
|
||||||
|
spoilerDefault: "Hunter's Journal (164 max)",
|
||||||
|
spoilerZoteOff: "Hunter's Journal (160 max)",
|
||||||
max: 164,
|
max: 164,
|
||||||
maxDefault: 164,
|
maxDefault: 164,
|
||||||
maxZoteOff: 160,
|
maxZoteOff: 160,
|
||||||
|
|
@ -4352,7 +4358,9 @@ var HK = {
|
||||||
*/
|
*/
|
||||||
journalNotesCompleted: {
|
journalNotesCompleted: {
|
||||||
name: "Hunter Notes Completed",
|
name: "Hunter Notes Completed",
|
||||||
spoiler: "Hunter's Journal (160+4 max)",
|
spoiler: "Hunter's Journal (160 or 164 max)",
|
||||||
|
spoilerDefault: "Hunter's Journal (164 max)",
|
||||||
|
spoilerZoteOff: "Hunter's Journal (160 max)",
|
||||||
max: 164,
|
max: 164,
|
||||||
maxDefault: 164,
|
maxDefault: 164,
|
||||||
maxZoteOff: 160,
|
maxZoteOff: 160,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1021,9 +1021,11 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
|
||||||
/* when Zote is dead, the max Journal entries will equal = 160 instead of 164. For the green tick */
|
/* when Zote is dead, the max Journal entries will equal = 160 instead of 164. For the green tick */
|
||||||
if (playerData.zoteRescuedBuzzer === false && playerData.hasWalljump === true) {
|
if (playerData.zoteRescuedBuzzer === false && playerData.hasWalljump === true) {
|
||||||
dataObject[i].max = dataObject[i].maxZoteOff; /* Substract GPZ and 3 Zotelings from max */
|
dataObject[i].max = dataObject[i].maxZoteOff; /* Substract GPZ and 3 Zotelings from max */
|
||||||
|
dataObject[i].spoiler = dataObject[i].spoilerZoteOff; /* Change spoiler for less confusion */
|
||||||
} else {
|
} else {
|
||||||
/* otherwise, set back to 164 */
|
/* otherwise, set back to 164 */
|
||||||
dataObject[i].max = dataObject[i].maxDefault;
|
dataObject[i].max = dataObject[i].maxDefault;
|
||||||
|
dataObject[i].spoiler = dataObject[i].spoilerDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.info(i + ".max", dataObject[i].max);
|
console.info(i + ".max", dataObject[i].max);
|
||||||
|
|
|
||||||
|
|
@ -1581,7 +1581,9 @@ const HK = {
|
||||||
},
|
},
|
||||||
journalEntriesCompleted: {
|
journalEntriesCompleted: {
|
||||||
name: "Creatures Encountered",
|
name: "Creatures Encountered",
|
||||||
spoiler: "Hunter's Journal (160+4 max)",
|
spoiler: "Hunter's Journal (160 or 164 max)",
|
||||||
|
spoilerDefault: "Hunter's Journal (164 max)",
|
||||||
|
spoilerZoteOff: "Hunter's Journal (160 max)",
|
||||||
max: 164,
|
max: 164,
|
||||||
maxDefault: 164,
|
maxDefault: 164,
|
||||||
maxZoteOff: 160,
|
maxZoteOff: 160,
|
||||||
|
|
@ -1592,7 +1594,9 @@ const HK = {
|
||||||
*/
|
*/
|
||||||
journalNotesCompleted: {
|
journalNotesCompleted: {
|
||||||
name: "Hunter Notes Completed",
|
name: "Hunter Notes Completed",
|
||||||
spoiler: "Hunter's Journal (160+4 max)",
|
spoiler: "Hunter's Journal (160 or 164 max)",
|
||||||
|
spoilerDefault: "Hunter's Journal (164 max)",
|
||||||
|
spoilerZoteOff: "Hunter's Journal (160 max)",
|
||||||
max: 164,
|
max: 164,
|
||||||
maxDefault: 164,
|
maxDefault: 164,
|
||||||
maxZoteOff: 160,
|
maxZoteOff: 160,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue