Static
actionDetermines whether an item whose default Action List behavior has been overridden
to be included (true
) or excluded (false
).
undefined
means there is no override and standard Action List logic should be used.
Gets the item's Action Filter Override setting.
Sets the item's Action Filter Override setting.
Clears the item's Action Filter Override setting, meaning the item should use the standard Action List logic for inclusion or exclusion.
Static
actionIndicates a custom section name for a given item, which determines the item's section placement in the Actions tab.
Gets the item's Action Section setting.
Sets the item's Action Section setting.
Clears the item's Action Section setting, meaning the item should use its default action section in the Actions tab.
Static
ageThe age of an actor. For this module, it is only an informational biographical field.
Gets the actor's age.
Sets the actor's age.
Clears the actor's age.
Static
allowDetermines whether an actor's sheet should be editable per the sheet lock feature (default true
).
Denotes whether the sheet is in edit mode.
Sets whether the sheet is in edit mode.
Removes the actor's edit mode setting.
Static
appearanceThe appearance of an actor. For this module, it is only an informational biographical field.
Gets the actor's appearance.
Sets the actor's appearance.
Clears the actor's appearance.
Static
classA field used to filter spells based on an indicated class,
showing only spells whose system.sourceClass
property matches
this classFilter
selection.
Gets the actor's class filter.
Sets the actor's class filter.
Clears the actor's class filter.
Static
exhaustionThe level exhaustion for a given actor. This flag applies to actors which don't yet possess standard exhaustion schema from the dnd5e system.
Gets the actor's exhaustion level.
Sets the actor's exhaustion level.
Clears the actor's exhaustion level.
Static
eyesThe eyes of an actor. For this module, it is only an informational biographical field.
Gets the actor's eyes.
Sets the actor's eyes.
Clears the actor's eyes.
Static
faithThe faith of an actor. For this module, it is only an informational biographical field.
Gets the actor's faith.
Sets the actor's faith.
Clears the actor's faith.
Static
genderThe gender of an actor. For this module, it is only an informational biographical field.
Gets the actor's gender.
Sets the actor's gender.
Clears the actor's gender.
Static
hairThe hair of an actor. For this module, it is only an informational biographical field.
Gets the actor's hair.
Sets the actor's hair.
Clears the actor's hair.
Static
heightThe height of an actor. For this module, it is only an informational biographical field.
Gets the actor's height.
Sets the actor's height.
Clears the actor's height.
Static
inventoryDenotes whether to show a grid for a given inventory screen.
Gets whether to show a grid for a given inventory screen.
Sets whether to show a grid for a given inventory screen.
Clears whether to show a grid for a given inventory screen.
Static
motionDenotes whether a vehicle is moving.
Gets whether a vehicle is moving.
Sets whether a vehicle is moving.
Clears whether a vehicle is moving.
Static
notesJournal notes for an actor. This flag is for actors which don't yet have the standard notes schema.
The individual members of this flag. For flags that are not primitive values.
The notes HTML.
Gets the actor's notes HTML.
Sets the actor's notes HTML.
Clears the actor's notes HTML.
Gets the actor's journal notes.
Sets the actor's journal notes.
Clears the actor's journal notes.
Static
notes1Named journal notes for an actor. These notes represent extra notes that are available to actors for compartmentalizing notes.
The individual members of this flag. For flags that are not primitive values.
The notes name.
Gets the actor's first named journal notes name.
Sets the actor's first named journal notes name.
Clears the actor's first named journal notes name.
The notes HTML.
Gets the actor's first named journal notes HTML.
Sets the actor's first named journal notes HTML.
Clears the actor's first named journal notes HTML.
Gets the actor's first named journal notes.
Sets the actor's first named journal notes.
Clears the actor's first named journal notes.
Static
notes2Named journal notes for an actor. These notes represent extra notes that are available to actors for compartmentalizing notes.
The individual members of this flag. For flags that are not primitive values.
The notes name.
Gets the actor's second named journal notes name.
Sets the actor's second named journal notes name.
Clears the actor's second named journal notes name.
The notes HTML.
Gets the actor's second named journal notes HTML.
Sets the actor's second named journal notes HTML.
Clears the actor's second named journal notes HTML.
Gets the actor's second named journal notes.
Sets the actor's second named journal notes.
Clears the actor's second named journal notes.
Static
notes3Named journal notes for an actor. These notes represent extra notes that are available to actors for compartmentalizing notes.
Gets the actor's third named journal notes name.
Sets the actor's third named journal notes name.
Clears the actor's third named journal notes name.
Gets the actor's third named journal notes HTML.
Sets the actor's third named journal notes HTML.
Clears the actor's third named journal notes HTML.
Gets the actor's third named journal notes.
Sets the actor's third named journal notes.
Clears the actor's third named journal notes.
Static
notes4Named journal notes for an actor. These notes represent extra notes that are available to actors for compartmentalizing notes.
The individual members of this flag. For flags that are not primitive values.
The notes name.
Gets the actor's fourth named journal notes name.
Sets the actor's fourth named journal notes name.
Clears the actor's fourth named journal notes name.
The notes HTML.
Gets the actor's fourth named journal notes HTML.
Sets the actor's fourth named journal notes HTML.
Clears the actor's fourth named journal notes HTML.
Gets the actor's fourth named journal notes.
Sets the actor's fourth named journal notes.
Clears the actor's fourth named journal notes.
Static
playerThe name of the player who owns the actor. This is informational and not used for game logic.
Gets the name of the player who owns the actor.
Sets the name of the player who owns the actor.
Clears the name of the player who owns the actor.
Static
sectionIndicates a custom section name for a given item which determines the item's section placement in the item's default tab, as well as any other locations that aren't the Actions tab.
Gets the custom section name for an item.
Sets the custom section name for an item.
Clears the item's custom section setting, meaning the item should use its default section in the item's default tab, as well as any other locations that aren't the Actions tab.
Static
sectionDetermines the order of item table sections for a given document sheet.
Gets the document sheet's section configuration. undefined
means to use the default settings.
Sets the document sheet's configuration.
Clears the document sheet's section config, meaning the target actor should use default settings.
Static
selectedThe tabs that are currently selected for a given actor. This is used to determine which tabs are visible in the actor's sheet. When this field is empty, the actor uses the default tabs.
Gets the selected tabs for an actor.
Sets the selected tabs for an actor.
Clears the selected tabs for an actor.
Static
showIndicates whether the container panel should be shown for a given actor. This is used to determine whether the container panel is visible in the actor's inventory tab.
Gets whether the container panel should be shown for an actor.
Sets whether the container panel should be shown for an actor.
Clears whether the container panel should be shown for an actor.
Static
showIndicates whether the group member tab info panel should be shown for a given Group Sheet.
Gets whether the group member tab info panel should be shown for a group.
Sets whether the group member tab info panel should be shown for a group.
Clears whether the group member tab info panel should be shown for a group.
Static
showIndicates whether the legendary toolbar should be shown for a given NPC.
Gets whether the legendary toolbar should be shown for an NPC.
Sets whether the legendary toolbar should be shown for an NPC.
Clears whether the legendary toolbar should be shown for an NPC.
Static
showIndicates whether the additional personality info should be shown for a given NPC on the biography tab.
Gets whether the additional personality info should be shown for an NPC.
Sets whether the additional personality info should be shown for an NPC.
Clears whether the additional personality info should be shown for an NPC.
Static
skillsIndicates whether the skills section should be expanded for a given actor.
If this is set to true
, all skills are shown.
If this is set to false
, unproficient skills are hidden and the rest are shown.
Gets whether the skills section should be expanded for an actor.
Sets whether the skills section should be expanded for an actor.
Clears whether the skills section should be expanded for an actor.
Static
skinThe skin of an actor. This is informational and not used for game logic.
Gets the skin of an actor.
Sets the skin of an actor.
Clears the skin of an actor.
Static
spellbookDenotes whether to show a grid for a given spellbook screen.
Gets whether to show a grid for a given spellbook screen.
Sets whether to show a grid for a given spellbook screen.
Clears whether to show a grid for a given spellbook screen.
Static
traitThe trait of an actor. This is informational and not used for game logic.
Gets the trait of an actor.
Sets the trait of an actor.
Clears the trait of an actor.
Static
traitsIndicates whether the traits section should be expanded for a given actor.
If this is set to true
, all traits are shown.
If this is set to false
, empty traits sections are hidden and the rest are shown.
This does not apply to custom traits which are added through the Tidy API.
Gets whether the traits section should be expanded for an actor.
Sets whether the traits section should be expanded for an actor.
Clears whether the traits section should be expanded for an actor.
Static
weightThe weight of an actor. For this module, it is only an informational biographical field.
Gets the weight of an actor.
Sets the weight of an actor.
Clears the weight of an actor.
Static
getStatic
setSets a flag on a document.
A document to set the flag on.
The name of the flag to set.
The value to set the flag to.
A promise that resolves when the flag is set.
Static
tryAttempts to get a flag from a document.
A document which supports flags.
The name of the flag to get.
The flag's value, or undefined
if the flag is not set.
Static
unset
Manages Tidy flags.