amounts visible partial
This commit is contained in:
parent
b0a7d8ade0
commit
fa949f310e
3 changed files with 16 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
case "geoPool":
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Reference in a new issue