nailmaster upgrade nail

This commit is contained in:
ReznoRMichael 2021-02-14 01:11:57 +01:00
parent 2339791c89
commit 32e64e6135
2 changed files with 8 additions and 2 deletions

View file

@ -925,7 +925,7 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
(playerData[i] === true) ? CurrentDataTrue(): CurrentDataBlank(); (playerData[i] === true) ? CurrentDataTrue(): CurrentDataBlank();
break; break;
case "zoteStatus": case "zoteStatus":
CurrentDataBlank(); CurrentDataFalse();
if (playerData.zoteDead === true) { if (playerData.zoteDead === true) {
textPrefix = dataObject[i].nameNeglect; textPrefix = dataObject[i].nameNeglect;
textSuffix = dataObject[i].spoilerNeglect; textSuffix = dataObject[i].spoilerNeglect;
@ -960,7 +960,7 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
} }
break; break;
case "nailsmithStatus": case "nailsmithStatus":
CurrentDataBlank(); CurrentDataFalse();
if (playerData.nailsmithKilled === true) { if (playerData.nailsmithKilled === true) {
textPrefix = dataObject[i].namePurity; textPrefix = dataObject[i].namePurity;
textSuffix = dataObject[i].spoilerPurity; textSuffix = dataObject[i].spoilerPurity;
@ -975,6 +975,10 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
textPrefix = dataObject[i].nameSheoHutWaiting; textPrefix = dataObject[i].nameSheoHutWaiting;
textSuffix = dataObject[i].spoilerSheoHutWaiting; textSuffix = dataObject[i].spoilerSheoHutWaiting;
} }
else {
textPrefix = dataObject[i].nameUpgradeNail;
textSuffix = dataObject[i].spoilerUpgradeNail;
}
break; break;
case "mrMushroomState": case "mrMushroomState":
CheckMrMushroomState(divId, dataObject[i], playerData[i]); CheckMrMushroomState(divId, dataObject[i], playerData[i]);

View file

@ -976,10 +976,12 @@ const HK = {
nameHappyCouple: "Nailsmith Status", nameHappyCouple: "Nailsmith Status",
namePurity: "Nailsmith Status", namePurity: "Nailsmith Status",
nameSheoHutWaiting: "Nailsmith Status", nameSheoHutWaiting: "Nailsmith Status",
nameUpgradeNail: "Nailsmith Status",
spoiler: "Happy Couple achievement (per save choice)", spoiler: "Happy Couple achievement (per save choice)",
spoilerHappyCouple: "Happy Couple achievement (per save choice)", spoilerHappyCouple: "Happy Couple achievement (per save choice)",
spoilerPurity: "Happy Couple achievement (per save choice)", spoilerPurity: "Happy Couple achievement (per save choice)",
spoilerSheoHutWaiting: "Happy Couple achievement (per save choice)", spoilerSheoHutWaiting: "Happy Couple achievement (per save choice)",
spoilerUpgradeNail: "Happy Couple achievement (per save choice)",
}, },
mrMushroomState: { mrMushroomState: {
name: "Mr Mushroom", name: "Mr Mushroom",