mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
[Feature] Add Default Icons for Document Subtypes (#584)
Fixes #458 Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
This commit is contained in:
parent
481652bf3f
commit
0feec77512
34 changed files with 206 additions and 13 deletions
|
|
@ -79,6 +79,16 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
|
|||
return schema;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/**
|
||||
* The default icon used for newly created Item documents
|
||||
* @type {string}
|
||||
*/
|
||||
static DEFAULT_ICON = null;
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/**
|
||||
* Convenient access to the item's actor, if it exists.
|
||||
* @returns {foundry.documents.Actor | null}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue