[#32] Draw available tracked resources from world actors rather than system model.

This commit is contained in:
fyorl 2022-01-13 13:24:44 +00:00
parent db34d156af
commit 9b19f8b590
No known key found for this signature in database
GPG key ID: 3A4E57DAE36AC3C4
5 changed files with 40 additions and 17 deletions

View file

@ -21,6 +21,16 @@ export class SimpleActor extends Actor {
return EntitySheetHelper.createDialog.call(this, data, options);
}
/* -------------------------------------------- */
/**
* Is this Actor used as a template for other Actors?
* @type {boolean}
*/
get isTemplate() {
return !!this.getFlag("worldbuilding", "isTemplate");
}
/* -------------------------------------------- */
/* Roll Data Preparation */
/* -------------------------------------------- */