bank account balance

This commit is contained in:
ReznoRMichael 2021-07-30 21:55:48 +02:00
parent 55b0cee44a
commit 0fce3ce701
4 changed files with 38 additions and 1 deletions

View file

@ -1167,6 +1167,18 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
break;
case "bankerBalance":
amount = playerData[i];
/* When value is negative, reset to zero */
if (amount < 0) {
amount = 0;
}
dataObject[i].amount = amount;
SetIconNone(section, i);
break;
case "geoRocks":
discoveredTotal = sceneData.geoRocks.length;
notActivated = CountGeoRocks(discoveredTotal, "unbroken");
@ -5851,6 +5863,11 @@ var HK = {
spoiler: "100 Geo: Fog Canyon: Millibelle the Banker",
wiki: "Millibelle"
},
bankerBalance: {
name: "Bank Account Balance",
spoiler: "Fog Canyon: Millibelle the Banker",
wiki: "Millibelle"
},
/*
Path of Pain entrance discovered

File diff suppressed because one or more lines are too long

View file

@ -1287,6 +1287,21 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
break;
case "bankerBalance":
amount = playerData[i];
/* When value is negative, reset to zero */
if (amount < 0) {
amount = 0;
}
dataObject[i].amount = amount;
SetIconNone(section, i);
break;
case "geoRocks":
discoveredTotal = sceneData.geoRocks.length;

View file

@ -2797,6 +2797,11 @@ const HK = {
spoiler: "100 Geo: Fog Canyon: Millibelle the Banker",
wiki: "Millibelle"
},
bankerBalance: {
name: "Bank Account Balance",
spoiler: "Fog Canyon: Millibelle the Banker",
wiki: "Millibelle"
},
/*
Path of Pain entrance discovered
*/