test soft lock

This commit is contained in:
Vlyan
2021-12-28 14:38:13 +01:00
parent ee1b72caa5
commit cce5aa1b45
15 changed files with 51 additions and 42 deletions

View File

@@ -31,6 +31,9 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e {
// Split Items by types
sheetData.data.splitItemsList = this._splitItems(sheetData);
// Shortcut for some tests
sheetData.data.editable_not_soft_locked = sheetData.editable && !sheetData.data.data.soft_locked;
return sheetData;
}