Minor reformat avant signes draconiques

This commit is contained in:
Vincent Vandemeulebrouck
2021-05-10 18:39:35 +02:00
parent 82729a9855
commit a548486a06
7 changed files with 114 additions and 108 deletions

View File

@@ -25,6 +25,7 @@ export class RdDItem extends Item {
isConteneur() {
return Misc.data(this).type == 'conteneur';
}
isVide() {
return this.isConteneur() && (Misc.templateData(this).contenu ?? []).length == 0;
}