Derived and updated version of Torchlight, which in turn was derived from Torch.

Overview

LightsHUD - A FoundryVTT Module

Derived and updated version of Torchlight, which in turn was derived from Torch.

Installation

Method 1

  • Start up Foundry and click "Install Module" in the "Add-On Modules" tab.
  • Search for "LightsHUD" in the pop up window.
  • Click "Install" and it should appear in your modules list.

Method 2

Method 3

  • Download the .zip file in this repository.
  • Extract the contents of the zip in {USER_DATA_PATH}\data\modules\
  • Restart Foundry.

Examples

HUD with TorchLight Icons

Light Spell Activated

All the lights are animated and look much better "live".

Implemented Features

Torchlight provides 3 potential sources of light:

  • Light Spell of varying aspects, with White Light (possibly for good characters), Red Light (probably not so good) and Green Light (for nature lovers out there, druids and rangers, I'm pointing at you)...
  • Lantern, with hooded lanterns in both open and closed position, and bullseye lantern with enhanced range but only in a cone.
  • Torch, with various colours and intensity In addition to standard types of illumination, the module now allows to customise the light and animation for each of the three types of light. Note that, at this stage, I don't know how to make a color picker in the settings, to the light color has to be inserted using the #rrggbb format.

These are toggled on and off from the HUD of tokens, form three icons that can be positioned either to the left or to the right of the standard HUD. The icons are in the order Light >> Lantern >> Torch (top to bottom or left to right), and there are title texts (now, thanks for the suggestion and the way to implement, paullessing). Only one type of light source can be active at a given time, if you change your light source, simply deactivate the current one and activate the new one.

The DM can keep the activation/deactivation to himself (in which case the HUD of the players will just show whether there is a light source active) or he can delegate the management of the light to his player through an option of the module.

In addition, the options allow the independent configuration of the light sources:

  • Range for bright and dim light
  • Type of light emitted

At this stage, the module also has the option to check whether a character had the resources to create a light, casting the light spell, or having a torch, or a lantern with oil in his inventory. This is optional because very often (at least in our groups) the character bearing the light is not necessarily the one owning it or being able to cast it.

The check can be enabled for players, and the DM can also choose to have it made for him as well.

And there is another check, whether the resource is actually consumed when the light is lit. Finally, the name of the items to check and potentially consume is another parameter, with the default being "Torch" for a torch and "Oil (flask)" for a lantern, as these are the standard names from 5e.

Tips and Tricks

Note that although it's not obvious from the description, the module really allows you to add different types of lights to different players. For example, you can easily set-up a hooded lantern on a token and a bullseye one on another token.

It just depends on the type selected for a given source of light, as set-up in the Module Settings. The type of light can be changed there, of course, but it's also very easy to set using a macro:

  • game.settings.set('torchlight', 'lightType','Type1') for a white light spell
  • game.settings.set('torchlight', 'lightType','Type5') for ared light spell
  • game.settings.set('torchlight', 'lanternType','Type1') for an intense hooded lantern
  • game.settings.set('torchlight', 'lanternType','Type7') for an intense bullseye lantern
  • game.settings.set('torchlight', 'torchType','Type8') for an medium purplish torch
  • etc.

Planned Features

  • TBD

Known Issues

  • The position of the icons needs to be adjusted according to the size of the token.

License

The source code is licensed under "THE BEER-WARE LICENSE" (Revision 42).

You might also like...

SpotLight is a web app which uses spotify developer APIs and lists your most listened songs, albums, artists and genres.

SpotLight is a web app which uses spotify developer APIs and lists your most listened songs, albums, artists and genres.

Dec 31, 2022

A Discord.js Music Bot, which connects via Lavalink and erela.js

A Discord.js Music Bot, which connects via Lavalink and erela.js

Discord.js Lavalink Music Bot using erela.js A Advance Discord Music Bot Like Hydra Erela.js docs Note this Discord Bot Repository is the Same as for

Dec 9, 2022

This is Kesha bot which is made for fun, to show off my appreciate to Kesha and her work

Kesha bot What is this? This is Kesha bot which is made for fun, to show off my appreciate to Kesha and her work What Kesha bot can do it is still und

Dec 15, 2022

An app to read a movie file, and indicate which scenes are NSFW.

An app to read a movie file, and indicate which scenes are NSFW.

The NSFW Movie Parser An app to read a movie file, and indicate which scenes are NSFW. You can download the installer for the Windows 10 version here.

Oct 9, 2022

It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with buttons. It can play youtube songs, playlists. This bot code was made by Supreme#2401. It uses djs V12

It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with buttons. It can play youtube songs, playlists. This bot code was made by Supreme#2401. It uses djs V12

Lofi-Radio-Music-Bot It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with butt

Jan 2, 2023

Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Remoklify - Gitlift Discord Bot Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total

Mar 20, 2022

Page which displays online Lanyard users out of total, and has watched user cards.

Lanyard Online Users Displays usage of Lanyard profile cards. Working on moving the card to a drop-in react component and then will soon be making an

Oct 5, 2022

Resurrection of mediagroup / MediaController (renamed) which can be used to sync and control multiple audio / video elements.

media-group (examples) Resurrection of the mediagroup attribute and MediaController API (but renamed) which can be used to sync and control multiple a

Dec 15, 2022

Resurrection of mediagroup / MediaController (renamed) which can be used to sync and control multiple audio / video elements.

media-group (examples) Resurrection of the mediagroup attribute and MediaController API (but renamed) which can be used to sync and control multiple a

Aug 2, 2022
Releases(0.10.8g)
Owner
Malekal
Learned programming 20 years ago... been doing customer service ever since...
Malekal
Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Umut Bayraktar 114 Jan 3, 2023
A video message app completely decentralized, apart from the turn server

Doom @WIP Doom (Decentralized Zoom proof of concept) What is this? It's a video message app completely decentralized, apart from the turn server (wip)

Felipe Melo 17 Oct 30, 2022
𓄿 CrowBot Remade - It's a multipurpose bot which is a remade of a py discord bot which is selled for 5e but this is in js !

CrowBot Remade - It's a multipurpose bot which is a remade of a py discord bot which is selled for 5e but this is in js ! CrowBot Remade is in french

baby 37 Dec 31, 2022
Esta versión de GataBot no esta terminada

¡????????! ?? ???? ???????????????? ???? ?????????????????????? ✅ ?????????????? ???? ??????????????-???? ?? ???????? ???? ???????????????? ??????????????????????????????. ???? ???? ???????????? ???????? ?????? ?? ?????????????? ?????? ?????????????? ???????? ?????????????????????? ??

Gata Dios 13 Jan 7, 2023
Katsushika: A REVERSED VERSION OF ASUNA & CHITOGE BOTS

Katsushika: A REVERSED VERSION OF ASUNA & CHITOGE BOTS A Fully Modular and Efficient Bot Button : If you are deploying normally Button : If you are de

 İşşa 3 Aug 23, 2022
Videogame page [current version]

ENGLISH PlayHoenicka is Josue Hoenicka's first official project PlayHoenicka is a video game page with 4 video games Dino.cka, Wordie.cka, Listenme.ck

Josue Hoenicka 2 Sep 21, 2022
Replace your Spotify album artwork with an animated version.

Spotify Animated Album Artwork Replace your Spotify album artwork with an animated version. preview.mp4 Install My english is broken, please bear with

qier222 4 Jul 14, 2022
A template to use for creating a Discord Bot using version 13.

DiscordV13 Template It is meant to be used as a solid base for your Discord bot, it already comes with a main file, command and event Handler, along w

Nícolas Gabriel 6 Aug 26, 2022
A Discord bot project made with the npm package discord.js version 14

A Discord bot project made with the npm package discord.js version 14 and it's job to manage mails on a server, and this project includes only one Database: Quick.db. This project also handles Slash commands.

T.F.A 33 Jan 6, 2023
NK-BOT Versión Multidevice en desarrollo ÙwÚ

♻️ NK-BOT-MD ♻️ ?? Características del bot Funciones y comandos Sip Crea stickers ✔️ Bienvenida automática ✔️ Anti-Link ✔️ Anti-Fakes ✔️ Anti-Estranje

Matt_Melendez 19 Nov 8, 2022