feat: show description of item in inventory

This commit is contained in:
Niklas 2023-03-19 17:28:26 +01:00
parent c44382e619
commit 461502e78d
1 changed files with 5 additions and 1 deletions

View File

@ -350,7 +350,11 @@ export class GroupItem {
key = "inventory.furni.item.landscape.desc";
break;
default:
break;
if (this.isWallItem) {
key = "wallItem.desc." + k.type;
} else {
key = "roomItem.desc." + k.type;
}
}
this._description = LocalizeText(key);