Skip to content

Latest commit

 

History

History
221 lines (198 loc) · 26.8 KB

README.md

File metadata and controls

221 lines (198 loc) · 26.8 KB

Latest Version Foundry Version Forge Installs License

Vision 5e (Foundry VTT Module)

Additional and improved Vision/Detection modes for D&D 5e including automatic vision management based on the actor's senses, feats, and active effects.

The automation detects relevant feats and effects that affect the creatures senses and detection by their name (supported are English, German, French, Spanish, and Portuguese (Brazil)). No configuration is required unless you want to adjust the default hearing range formula or turn hearing off entirely by default.


Detection Modes

  • Blindsense (Legacy) (Class Feature: Rogue, SRD 5.1 / PHB'14 94)
    • Detects PC/NPC actors that are not objects (e.g. Item Piles).
    • Cannot detect actors that are burrowing, defeated (dead), ethereal (from the the material plane), or petrified.
    • Does not reveal the identity of detected tokens.
    • Disabled while burrowing, deafened, defeated (dead), petrified, or unconscious.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically for PC actors with the Blindsense* feat.
  • Blindsight (Sense, SRD 5.1 / PHB'14 183 / PHB'24 361)
    • Detects tokens, notes, and door controls.
    • Cannot detect actors that are burrowing or ethereal (from the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise).
    • Disabled while burrowing, defeated (dead), petrified, sleeping, or unconscious. Also disabled if deafened and the actor is a NPC and has the Echolocation* (Monster Feature, e.g. SRD 5.1 / MM'14 318) or Blind Senses* (Monster Feature, e.g. SRD 5.1 / MM'14 175) feat.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically from the actor's Blindsight.
  • Blood Sense (Homebrew)
    • Detects PC/NPC actors that are not constructs, elementals, oozes, plants, undead, or objects (e.g. Item Piles), and any actor that is bleeding.
    • Cannot detect actors that are ethereal (from the the material plane), petrified and not bleeding, or immune to bleeding.
    • Does not reveal the identity of detected tokens.
    • Disabled while defeated (dead), petrified, or unconscious.
    • Is not restricted by walls or blocked by darkness sources.
    • Configured automatically for NPC actors that have the Blood Sense* feat.
  • Darkvision (Sense, SRD 5.1 / PHB'14 183 / PHB'24 260)
    • Detects tokens, notes, and door controls.
    • Cannot detect actors that are burrowing, ethereal (from the the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise), or invisible. Also cannot detect PC actors with the Umbral Sight* (Subclass Feature: Gloom Stalker Ranger, XGE 41 / PHB'24 126) feat.
    • Disabled while blinded, burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and is blocked by darkness sources unless the actor in a NPC with the Devil's Sight* (Monster Feature, e.g. SRD 5.1 / MM'14 70) feat.
    • Configured automatically from the actor's Darkvision.
  • Detect Evil and Good (Spell, SRD 5.1 / PHB'14 231 / PHB'24 261)
    • Detects aberrations, celestials, elementals, feys, fiends, undeads, and PC actors with the Hollow One* (Character Creation Option, EGW 182), Supernatural Gift: Hollow One, or Supernatural Gifts: Hollow One feat.
    • Cannot detect actors that are burrowing or ethereal (from the the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise). Also cannot detect actors with the Mind Blank* (Spell, SRD 5.1 / PHB'14 259 / PHB'24 298) or Nondetection* (Spell, SRD 5.1 / PHB'14 263 / PHB'24 302) effect.
    • Does not reveal the identity of detected tokens.
    • Disabled while burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically for actors that have the Detect Evil and Good* effect.
  • Detect Magic (Spell, SRD 5.1 / PHB'14 231 / PHB'24 262)
    • Detects actors that are carry a visible magic item (a magic item that is either not in a container or not equipped) or are affected by a spell effect.
    • Cannot detect anything on its own and requires another sense to see the target.
    • Cannot detect actors that are burrowing or ethereal (from the the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise). Also cannot detect actors with the Mind Blank* (Spell, SRD 5.1 / PHB'14 259 / PHB'24 298) or Nondetection* (Spell, SRD 5.1 / PHB'14 263 / PHB'24 302) effect.
    • Does not reveal the identity of detected tokens.
    • Disabled while burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically for actors with the Detect Magic* effect, PC actors with the Magic Awareness* (Subclass Feature: Wild Magic Barbarian, TCE 25) feat, and NPC actors with the Sense Magic* (Monster Feature, e.g. SRD 5.1 / MM'14 40) feat.
  • Detect Poison and Disease (Spell, SRD 5.1 / PHB'14 231 / PHB'24 262)
    • Detects all actors that have a poisonous natural weapon attack or have the poisoned or diseased status effect.
    • Cannot detect actors that are burrowing or ethereal (from the the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise). Also cannot detect actors with the Mind Blank* (Spell, SRD 5.1 / PHB'14 259 / PHB'24 298) or Nondetection* (Spell, SRD 5.1 / PHB'14 263 / PHB'24 302) effect.
    • Does not reveal the identity of detected tokens.
    • Disabled while burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically for actors that have the Detect Poison and Disease* effect.
    • Note: Some poisonous creatures might not be detected, because the Versatile Damage of the natural weapon attack is missing the [poison] flavor, which you'll need to fix yourself.
  • Detect Thoughts (Spell, SRD 5.1 / PHB'14 231 / PHB'24 262)
    • Detects all PC/NPC actors that speak at least one language or are telepathic (or, if legacy rules, have an Intelligence of 4 or higher and speak at least one language) and are not an object (e.g. Item Piles).
    • Cannot detect actors that are burrowing or ethereal (from the the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise). Also cannot detect actors with the Mind Blank* (Spell, SRD 5.1 / PHB'14 259 / PHB'24 298) or Nondetection* (Spell, SRD 5.1 / PHB'14 263 / PHB'24 302) effect.
    • Does not reveal the identity of detected tokens.
    • Disabled while burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically for actors that have the Detect Thoughts* effect.
  • Devil's Sight (Eldritch Invocation, SRD 5.1 / PHB'14 110 / PHB'24 155)
    • Can detect tokens, notes, and door controls.
    • Cannot detect actors that are burrowing, ethereal (from the the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise), or invisible.
    • Disabled while blinded, burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically for PC actors that have the Devil's Sight*, Invocation: Devil's Sight, Invocations: Devil's Sight, Eldritch Invocation: Devil's Sight, Eldritch Invocations: Devil's Sight, or Eldritch Adept: Devil's Sight feat.
    • Note: Remove the active effect that gives 120 feet Darkvision from the Invocation: Devil's Sight feat if it exists: Devil's Sight doesn't increase the range of Darkvision.
  • Divine Sense (Class Feature: Paladin, SRD 5.1 / PHB'14 82 / PHB'24 110)
    • Detects celestials, fiends, undead, and PC actors with the Hollow One* (Character Creation Option, EGW 182), Supernatural Gift: Hollow One, or Supernatural Gifts: Hollow One feat.
    • Cannot detect actors that are burrowing, ethereal (from the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise), or petrified.
    • Does not reveal the identity of detected tokens.
    • Disabled while burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically for PC actors with the Divine Sense* effect.
  • Ethereal Sight (Monster Feature, e.g. SRD 5.1 / MM'14 147)
    • Allows detection ethereal actors.
    • Cannot detect anything on its own and requires another sense to see the target without the ethereal status.
    • Is not restricted by walls or blocked by darkness sources.
    • Configured automatically for NPC actors that have the Ethereal Sight* feat and PC actors with the The Third Eye: Ethereal Sight* feat.
  • Eyes of the Grave (Class Feature: Cleric, XGE 19)
    • Detects undead, and PC actors with the Hollow One* (Character Creation Option, EGW 182), Supernatural Gift: Hollow One, or Supernatural Gifts: Hollow One feat.
    • Cannot detect actors that are burrowing, ethereal (from the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise), or petrified. Also cannot detect actors with the Nondetection* (Spell, SRD 5.1 / PHB'14 263) effect.
    • Does not reveal the identity of detected tokens.
    • Disabled while burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically for PC actors with the Eyes of the Grave* effect.
  • Hearing
    • Detects PC/NPC actors that are not objects (e.g. Item Piles).
    • Cannot detect actors that are defeated (dead), ethereal (from the the material plane), inaudible, or petrified.
    • Disabled while deafened, defeated (dead), petrified, or unconscious.
    • Is restricted by sound-blocking walls with reversed direction.
    • By default all tokens have hearing range of 15 + 2.5 * (Passive Perception - 10) feet (15 + 2.5 * (@skills.prc.passive - 10)). The default hearing range can be configured in the module settings.
  • Life Sense (Monster Feature, e.g. MPMM'14 250 / MTF 246)
    • Detects PC/NPC actors that are not undead, constructs, or objects (e.g. Item Piles).
    • Cannot detect actors that are defeated (dead), ethereal (from the the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise), or petrified.
    • Does not reveal the identity of detected tokens.
    • Disabled while defeated (dead), petrified, or unconscious.
    • Is not restricted by walls or blocked by darkness sources.
    • Configured automatically for NPC actors that have the Life Sense* feat.
  • Light Perception
    • Detects tokens, notes, and door controls that are illuminated a light source or are burning.
    • Cannot detect actors that are burrowing, ethereal (from the the material plane unless the Etherealness* (Monster Feature, e.g. SRD 5.1 / MM'14 147) NPC feat says otherwise), or invisible.
    • Disabled while blinded, burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and is blocked by darkness sources.
    • Infinite range by default.
  • See Invisibility (Spell, SRD 5.1 / PHB'14 274 / PHB'24 314)
    • Allows detection of invisible and ethereal actors.
    • Cannot detect anything on its own and requires another sense to see the target without the ethereal and invisible status.
    • Is not restricted by walls or blocked by darkness sources.
    • Configured automatically for actors with the See Invisibility* effect and PC actors with the The Third Eye: See Invisibility* (Class Feature: Wizard, PHB'14 116) feat.
  • Tremorsense (Sense, SRD 5.1 / MM'14 9 / PHB'24 377)
    • Detects PC/NPC actors that are not objects (e.g. Item Piles).
    • Cannot detect actors that are burrowing, defeated (dead), ethereal (from the the material plane), flying, hovering, or petrified.
    • Does not reveal the identity of detected tokens.
    • Disabled while defeated (dead), flying, hovering, petrified, or unconscious.
    • Is not restricted by walls or blocked by darkness sources.
    • Configured automatically from the actor's Tremorsense.
  • Truesight (Sense, SRD 5.1 / PHB'14 183 / PHB'24 377)
    • Detects tokens, notes, and door controls.
    • Cannot detect actors that are burrowing.
    • Disabled while blinded, burrowing, defeated (dead), petrified, sleeping, or unconscious.
    • Is restricted by sight-blocking walls and isn't blocked by darkness sources.
    • Configured automatically from the actor's Truesight.
  • Witch Sight (Legacy) (Eldritch Invocation, SRD 5.1 / PHB'14 111)
    • Allows detection of PC/NPC actors that have has the Shapechanger* creature subtype and NPC actors with the Shapechanger* (Monster Feature, e.g. SRD 5.1 / MM'14 220) feat.
    • Cannot detect anything on its own and requires another sense to see the target.
    • Is not restricted by walls or blocked by darkness sources.
    • Configured automatically for PC actor that have the Witch Sight*, Invocation: Witch Sight, Invocations: Witch Sight, Eldritch Invocation: Witch Sight, Eldritch Invocations: Witch Sight, or Eldritch Adept: Witch Sight feat.

PC actors that have the Ghostly Gaze* (Eldritch Invocation, XGE 56), Invocation: Ghostly Gaze, Invocations: Ghostly Gaze, Eldritch Invocation: Ghostly Gaze, Eldritch Invocations: Ghostly Gaze, or Eldritch Adept: Ghostly Gaze feat gain 30 feet Darkvision and can see through walls within 30 feet.


Vision Modes

This module restricts the available vision modes to Blindsight, Darkvision, Devil's Sight, and Truesight. The vision mode can be changed in token's HUD () if the token has at least two of these senses. Players can select their preferred vision mode for their owned tokens on their own this way.


Spectator Mode

While a player controls/owns only tokens with vision that are defeated (dead), petrified, or unconscious, tokens with vision owned by other players become a source of vision for this player if they have limited permission over the token's actor. This behavior aims to prevent players from missing out on all the fun when their character dies, is knocked unconscious, or is petrified, which are all conditions that make the token not perceive anything and are likely to affect the character more than one round of combat.


Active Effects

Detection Mode Attribute Key
Blindsense ATL.detectionModes.bindsense.range
Blindsight system.attributes.senses.blindsight
Blood Sense ATL.detectionModes.bloodSense.range
Darkvision system.attributes.senses.darkvision
Detect Evil and Good ATL.detectionModes.detectEvilAndGood.range
Detect Magic ATL.detectionModes.detectMagic.range
Detect Poison and Disease ATL.detectionModes.detectPoisonAndDisease.range
Detect Thoughts ATL.detectionModes.detectThoughts.range
Devil's Sight ATL.detectionModes.devilsSight.range
Divine Sense ATL.detectionModes.divineSense.range
Ethereal Sight ATL.detectionModes.etherealSight.range
Eyes of the Grave ATL.detectionModes.eyesOfTheGrave.range
Hearing ATL.detectionModes.hearing.range
Life Sense ATL.detectionModes.lifeSense.range
Light Perception ATL.detectionModes.lightPerception.range
See Invisibility ATL.detectionModes.seeInvisibility.range
Tremorsense system.attributes.senses.tremorsense
Truesight system.attributes.senses.truesight
Witch Sight ATL.detectionModes.witchSight.range

Note: Attribute keys starting with ATL. require the Active Token Effects module.


Translations

English Source German French Spanish Portuguese (Brazil)
Blind Senses Monster feat Blinde Sinne Sens aveugles Sentidos de ciego Sentido Cego
Blindsense Rogue feat Blindgespür Perception aveugle Sentir sin ver Sentido Cego
Blood Sense Monster feat Blutgespür Perception du sang Percepción de Sangre Percepção do Sangue
Detect Evil and Good Spell Gutes und Böses entdecken Détection du mal et du bien Detectar el bien y el mal Detectar o Bem e o Mal / Detectar o Bem e Mal
Detect Magic Spell Magie entdecken Détection de la magie Detectar magia Detectar Magia
Detect Poison and Disease Spell Gift und Krankheit entdecken Détection du poison et des maladies Detectar venenos y enfermedades Detectar Veneno e Doença
Detect Thoughts Spell Gedanken wahrnehmen Détection des pensées Detectar pensamientos Detectar Pensamentos
Devil's Sight Warlock invocation / Monster feat Teufelssicht Vision de diable / Vision du diable / Vue de diable / Vue du diable Vista del diablo Visão Diabólica / Visão do Diabo
Divine Sense Paladin feat Göttliches Gespür Perception divine Sentidos divinos Sentido Divino
Echolocation Monster feat Echolot Écholocation / Écholocalisation Ecolocalización Ecolocalização
Eldritch Adept Feat Schauerlicher Adept Adepte occulte Adepto sobrenatural Adepto Místico
Eldritch Invocation Warlock feat Schauerliche Anrufung Invocation occulte / Manifestation occulte Invocación sobrenatural Invocação Mística
Ethereal Sight Monster feat Ätherische Sicht Vision éthérée / Vue éthérée Visión etérea Visão Etérea
Eyes of the Grave Cleric (Grave Domain) feat Grabesblick Œil de la tombe Ojos de la Tumba Olhos da Sepultura
Ghostly Gaze Warlock invocation Geisterhafter Blick Regard fantomatique Mirada fantasmal Olhar Fantasmagórico
Hollow One Supernatural Gift Leerwandler Celui-qui-est-creux Aquel que está vacío Oco
Life Sense Monster feat Lebensgespür Perception de la vie Percepción de la Vida Percepção da Vida
Magic Awareness Barbarian (Path of Wild Magic) feat Magische Wahrnehmung Conscience magique Conciencia mágica Percepção Mágica
Mind Blank Spell Gedankenleere Esprit impénétrable Mente en Blanco Limpar a Mente
Nondetection Spell Unauffindbarkeit Antidétection Indetectable Indetectável
See Invisibility Spell Unsichtbares sehen Détection de l'invisibilité Ver invisibilidad Ver o Invisível
Sense Magic Monster feat Magie spüren Détection de la magie / Perception de la magie Sentir magia Sentir Magia
Shapechanger Monster feat / Subtype Gestaltwandler Métamorphe Cambiaformas Metamorfo
Supernatural Gift Character Creation Option Übernatürliche Gabe Don surnaturel Don supernatural Dom Sobrenatural
The Third Eye Wizard (Divination) feat Das dritte Auge Troisième œil El Tercer Ojo O Terceiro Olho
Umbral Sight Ranger (Gloomstalker) feat Düstersicht Vision des ombres Visión en la umbra Visão Umbral
Witch Sight Warlock invocation Hexensicht Vision de sorcier / Vision sorcière / Vue de sorcier / Vue sorcière Visión bruja Visão da Bruxa

Note: The automation is not case-sensitive.

Note: You may use ' or for apostrophes.

Note: In French the colon (:) is preceded by a space, but it isn't required in order for the automation to detect the feat. For example, both Manifestation : Regard fantomatique and Manifestation: Regard fantomatique work.