Les commerces ne gèrent pas d'encombrement

This commit is contained in:
Vincent Vandemeulebrouck 2023-01-13 01:45:00 +01:00
parent 2dc86e6679
commit 306ecacc98

View File

@ -350,6 +350,14 @@ export class RdDBaseActor extends Actor {
}
/* -------------------------------------------- */
computeMalusSurEncombrement() {
return 0;
}
getEncombrementMax() {
return 0;
}
async computeEncTotal() {
if (!this.pack) {
this.encTotal = this.items.map(it => it.getEncTotal()).reduce(Misc.sum(), 0);