diff --git a/scripts/module.js b/scripts/module.js index d0eec1c..2173eb9 100644 --- a/scripts/module.js +++ b/scripts/module.js @@ -70,6 +70,24 @@ Hooks.on('init', () => { preferred: false } }) + CONFIG.Canvas.visionModes.blindsense = new VisionMode({ + id: 'blindsense', + label: 'Blindsense', + canvas: { + shader: ColorAdjustmentsSamplerShader, + uniforms: { contrast: 0, saturation: -0.5, brightness: -0.2 } + }, + lighting: { + background: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED }, + coloration: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED }, + illumination: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED } + }, + vision: { + darkness: { adaptive: false }, + defaults: { attenuation: 0.1, contrast: 0, saturation: -1, brightness: 0 }, + preferred: false + } + }) }) Hooks.on('swadePreRollAttribute', preTraitRollModifiers)