amounts visible partial

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

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;
case "geoPool":