Les commerces peuvent appliquer un pourcentage

This commit is contained in:
2023-01-03 01:37:50 +01:00
parent d5453c9b04
commit ceacee8e6c
9 changed files with 45 additions and 13 deletions

View File

@ -11,7 +11,7 @@ export class RdDItemService extends RdDItem {
return [
RdDItem.propertyIfDefined('Qualité', this.system.qualite, this.system.qualite != 0),
RdDItem.propertyIfDefined('Moral', 'Situation heureuse', this.system.moral),
RdDItem.propertyIfDefined('Coût', `${this.system.cout} sols`),
RdDItem.propertyIfDefined('Coût', `${this.calculerPrixCommercant()} sols`),
];
}
}