amounts visible partial

This commit is contained in:
ReznoRMichael 2021-07-27 16:37:19 +02:00
parent b0a7d8ade0
commit fa949f310e
3 changed files with 16 additions and 3 deletions

View file

@ -1044,7 +1044,14 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
} }
} }
amount >= dataObject[i].max ? CurrentDataTrue(section, i) : CurrentDataBlank(section, i); if (amount >= dataObject[i].max) {
CurrentDataTrue(section, i);
} else if (amount > 0) {
CurrentDataPartial(section, i);
} else {
CurrentDataBlank(section, i);
}
break; break;
case "geoPool": case "geoPool":

File diff suppressed because one or more lines are too long

View file

@ -1155,7 +1155,13 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
} }
} }
(amount >= dataObject[i].max) ? CurrentDataTrue(section, i): CurrentDataBlank(section, i); if (amount >= dataObject[i].max) {
CurrentDataTrue(section, i);
} else if (amount > 0) {
CurrentDataPartial(section, i);
} else {
CurrentDataBlank(section, i);
}
break; break;
case "geoPool": case "geoPool":