Skip to content

Enrichers

github-actions[bot] edited this page Mar 21, 2024 · 6 revisions

Up to date as of 3.1.0

The dnd5e system adds a number of useful enrichers that can be used within journals or in item or actor descriptions. These enrichers will generate text based on the standard formatting used throughout 5e releases and provide rolls and related behavior that properly hooks into the system.

Enricher Preview

Award Enricher

See the enrichers section of the awards guide.

Check & Save Enrichers

Check and save enrichers allow for rolling ability checks, skill checks, tool checks, and saving throws using all of the proper modifiers of the character performing the roll.

It is very common for a feature description or journal entry to include a call for a saving throw. Now you can simply write [[/save dex]] and it will be formatted into "[Dexterity]", with that text being a link that will open up the roll save dialog when clicked. By default only the ability is shown, but it can be expanded by writing [[/save dex format=long]] which will display as "[Dexterity saving throw]".

The format also supports full-length ability names (e.g. [[/save dexterity]]) and prefixed terms (e.g. [[/save ability=dex]]) for greater clarity.

Including a DC in the roll will display it in the description and pass it through to the roll, highlighting in chat whether the result was a success or failure. A value of [[/save dex 15]] or [[/save ability=dexterity dc=15]] becomes "[DC 15 Dexterity]" or "[DC 15 Dexterity saving throw]" if format=long is set.

The DC can either be a fixed value or a resolved formula based on the stats of the owner of the item included in it. So adding [[/save dex dc=@abilities.con.dc]] will set to DC to whatever the pre-calculated constitution DC is on the creature that owns the item with this enricher.

Check, skill, and tool enrichers work in much the same way. Writing [[/check {ability} {dc}]] will create a basic ability check, while [[/skill acrobatics]] will present an acrobatics check.

Enricher Passive

Using the passive option on a check enricher displays a passive description and allows the enhanced passive tooltip for characters that are part of the primary party. A standard passive perception check can be achieved by using [[/skill perception 15 passive format=long]] to produce the text "passive Wisdom (Perception) score of 15 or high", or the format option can be left out for the shorter "DC 15 passive Wisdom (Perception)".

The [[/check]], [[/skill]], [[/tool]] starting terms are all interchangeable, and the final roll will be presented based on the inputs given. So [[/check dexterity athletics]] will perform a dexterity check using a character's athletics proficiency if present.

For skill checks, the ability is optional. If one is provided then the person rolling have that ability selected by default even if it isn't the default on their sheet. Otherwise they will use whatever ability is set for that skill on their character sheet.

For tool checks, the ability is required. A check like [[/tool thief]] will not parse because the ability must be explicitly set like [[/tool thief dex]]. A list of the tool ids to use for this enricher is provided below.

Tool Ids
Tool Id
Alchemist's Supplies alchemist
Bagpipes bagpipes
Brewer's Supplies brewer
Calligrapher's Supplies calligrapher
Playing Cards Set card
Carpenter's Tools carpenter
Cartographer's Tools cartographer
Chess Set chess
Cobbler's Tools cobbler
Cook's Utensils cook
Dice Set dice
Disguise Kit disg
Drum drum
Dulcimer dulcimer
Flute flute
Forgery Kit forg
Glassblower's Tools glassblower
Herbalism Kit herb
Horn horn
Jeweler's Tools jeweler
Leatherworker's Tools leatherworker
Lute lute
Lyre lyre
Mason's Tools mason
Navigator's Tools navg
Painter's Supplies painter
Pan Flute panflute
Poisoner's Kit pois
Potter's Tools potter
Shawm shawm
Smith's Tools smith
Thieves' Tools thief
Tinker's Tools tinker
Viol viol
Weaver's Tools weaver
Woodcarver's Tools woodcarver

Source: CONFIG.DND5E.toolIds

Damage Enrichers

Unlike simple inline roll links (the old [[/r 2d6]]), damage enrichers allow for properly associating damage types with rolls, automatically calculating the average, and will present the damage roll dialog when clicked allowing them to rolled as criticals or modified with temporary bonuses.

The basic format of a damage enricher is [[/damage {formula} {type}]], so one could write [[/damage 2d6 fire]] and it will be parsed as "[2d6] fire" in the final text, with the dice formula rollable. This could also be written with a more explicit syntax such as [[/damage formula=2d6 type=fire]] if that format is more to your liking.

For a format like shown in many places through 5e releases, you can use the average flag to auto-calculate the average. Typing [[/damage 2d6 fire average]] or [[/damage 2d6 fire average=true]] will result in "7 ([2d6]) fire". If for some reason the system cannot automatically calulate the average or you wish to display something different, you can enter a custom value that will be displayed. So [[/damage 2d6kh fire average=5]] will display "5 (2d6kh) fire".

The formula can also include formula values that will be evaluated before the damage is displayed in the condition. If you wanted to add a feature to a monster that includes its modifier in a damage roll, you might write [[/damage 1d6 + @abilities.dex.mod slashing]] and it will be parsed using whatever dexterity modifier is on the actor that owns the item.

Note

Any values entered in the formula will be resolved based on the stats of the owner of the item, not who ultimately performs the roll.

Lookup Enrichers

The lookup enricher allows for referencing data within an actor's roll data and displaying it in a description. This is most useful for automatically including a creature's name ([[lookup @name]]) or their type ([[lookup @details.type.config.label]]), but can be used to reference any values normally available in roll data.

Lookup Enricher

A few additional parameters are available to transform the resulting text:

  • [[lookup @name lowercase]]: Converts the text to all lowercase (e.g. "adult white dragon")
  • [[lookup @name uppercase]]: Converts the text to all uppercase (e.g. "ADULT WHITE DRAGON")
  • [[lookup @name capitalize]]: Capitalizes the first word in the text (e.g. "Adult white dragon")

Reference Enrichers

The &Reference enricher allows for easy reference to rule pages and displays rich tooltips with the contents of a specific rule. It comes built-in with support for abilities, skills, conditions, damage types, and more.

Enricher Reference

Using the enricher is very simple, simply type &Reference with the name of the referenced rule included inside the square brackets. For example &Reference[prone] will include be converted to [Prone] which links to the prone page in the SRD rules and display a tooltip with the description of the prone condition.

Ability References
Ability Short ID Full ID
Strength str strength
Dexterity dex dexterity
Constitution con constitution
Intelligence int intelligence
Wisdom wis wisdom
Charisma cha charisma
Honor N/A N/A
Sanity N/A N/A

Source: CONFIG.DND5E.abilities

Skill References
Skill Short ID Full ID
Acrobatics acr acrobatics
Animal Handling ani animalHandling
Arcana arc arcana
Athletics ath athletics
Deception dec deception
History his history
Insight ins insight
Intimidation itm intimidation
Investigation inv investigation
Medicine med medicine
Nature nat nature
Perception prc perception
Performance prf performance
Persuasion per persuasion
Religion rel religion
Sleight of Hand slt sleightOfHand
Stealth ste stealth
Survival sur survival

Source: CONFIG.DND5E.skills

Condition References
Condition ID
Blinded blinded
Charmed charmed
Deafened deafened
Exhaustion exhaustion
Frightened frightened
Grappled grappled
Incapacitated incapacitated
Invisible invisible
Paralyzed paralyzed
Petrified petrified
Poisoned poisoned
Prone prone
Restrained restrained
Stunned stunned
Unconscious unconscious

Source: CONFIG.DND5E.conditionTypes

Creature Type References
Creature Type ID
Aberration aberration
Beast beast
Celestial celestial
Construct construct
Dragon dragon
Elemental elemental
Fey fey
Fiend fiend
Giant giant
Humanoid humanoid
Monstrosity monstrosity
Ooze ooze
Plant plant
Undead undead

Source: CONFIG.DND5E.creatureTypes

Damage Type References
Damage Type ID
Acid acid
Bludgeoning bludgeoning
Cold cold
Fire fire
Force force
Lightning lightning
Necrotic necrotic
Piercing piercing
Poison poison
Psychic psychic
Radiant radiant
Slashing slashing
Thunder thunder

Source: CONFIG.DND5E.damageTypes

Area of Effect References
Area of EFfect ID
Cone cone
Cube cube
Sphere sphere
Square square
Line line

Source: CONFIG.DND5E.areaTargetTypes

Spell Component & Tag References
Component/Tag ID
Concentration concentration
Material material
Ritual ritual
Somatic somatic
Verbal verbal or vocal

Source: CONFIG.DND5E.spellComponents & CONFIG.DND5E.spellTags

Spell School References
Spell School Short ID Full ID
Abjuration abj abjuration
Conjuration con conjuration
Divination div divination
Enchantment enc enchantment
Evocation evo evocation
Illusion ill illusion
Necromancy nec necromancy
Transmutation trs transmutation

Source: CONFIG.DND5E.spellSchools

Other Rules (selected)

Inspiration, Carrying Capacity, Encumbrance, Hiding, Passive Perception, Falling, Suffocating, Lightly Obscured, Heavily Obscured, Bright Light, Dim Light, Darkness, Blindsight, Darkvision, Truesight, Surprise, Difficult Terrain, Size, Grappling, Shoving, Half Cover, Three-Quarters Cover, Total Cover, Instant Death, Death Saving Throws, Underwater Combat, Attunement, Telepathy

Source: CONFIG.DND5E.rules