From dc8ba8f2f9e08757ef9faea7ee1d8ea2730d5b3c Mon Sep 17 00:00:00 2001 From: Lupestro Date: Tue, 8 Jun 2021 17:44:30 -0400 Subject: [PATCH] Added README and shifting manifest/download to the League fork. --- README.md | 40 ++++++++++++++++++++++++++++++++++++++++ module.json | 4 ++-- torch.zip | Bin 8289 -> 9707 bytes 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fad724c --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# Torch module for Foundry VTT + +This module provides a HUD toggle button for turning on and off a configurable radius of bright and dim light around you. This base function works regardless of game system. + +Additionally, in D&D5e only: +* The single HUD control will trigger the 'Dancing Lights' cantrip if you have it. +* Failing that, it will perforrm the 'Light' cantrip if you have that. +* Failing that, if you have torches, it consumes one, decrementing the quantity on each use. +* The button will show as disabled when you turn on the HUD if you have no torches left. (It doesn't currently disable the button while the HUD remains open, though, after you have extinguished your last remaining torch. Room for improvement.) + +## History + +This module was originally written by @Deuce. After several months of no activity, @lupestro eventually submitted the PR to get its features working reliably in FoundryVTT 0.8. After control transferred to the League, the PR was approved. The module is now somewhat actively maintained by @lupestro. + +## Changelog + +This has needed to be pieced together a bit, but here's what I've gleaned from the GIT history. + +* 1.2.0 - June 10, 2021 - (Lupestro) Updated for 0.8.6, but ensured it still functions in 0.7.x. +* 1.1.4 - October 21, 2020 - (Stephen Hurd) Marked as 0.7.5 compatible. +* 1.1.3 - October 18, 2020 - (Stephen Hurd) Fix spelling. +* 1.1.2 - October 18, 2020 - (Stephen Hurd) Fix JSON syntax. +* 1.1.1 - October 18, 2020 - (Stephen Hurd) Name adjustment. +* 1.1.0 - October 18, 2020 - (Jose E Lozano) Add Spanish, (Stephen Hurd) Fix bright/dim radius of Dancing Lights. +* 1.0.9 - May 28, 2020 - (Stephen Hurd) Marked as 0.6.0 compatible. +* 1.0.8 - May 19, 2020 - (Aymeric DeMoura) Add French, Marked as 0.5.8 compatible. +* 1.0.7 - April 29, 2020 - (Stephen Hurd) Add Chinese, fix torch inventory usage. +* 1.0.6 - April 18, 2020 - (Stephen Hurd) Fix dancing lights removal. +* 1.0.5 - April 18, 2020 - (Stephen Hurd) Remove socket code for dancing lights removal. +* 1.0.4 - April 18, 2020 - (Stephen Hurd) Update to mark as 0.5.4 compatible. +* 1.0.3 - April 15, 2020 - (MtnTiger) - Updated with API changes. +* 1.0.2 - January 22, 2020 - (Stephen Hurd) Update for 0.4.4. +* 1.0.1 - November 26, 2019 - (Stephen Hurd) - Use await on all promises. +* 1.0.0 - November 25, 2019 - (Stephen Hurd) - Add support for Dancing Lights. + +## License + + "THE BEER-WARE LICENSE" (Revision 42): (From torch.js in this module) + + wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return. Stephen Hurd diff --git a/module.json b/module.json index f1fe525..50f69e3 100644 --- a/module.json +++ b/module.json @@ -30,8 +30,8 @@ "socket": true, "styles": [], "packs": [], - "manifest": "https://raw.githubusercontent.com/RealDeuce/torch/master/module.json", - "download": "https://raw.githubusercontent.com/RealDeuce/torch/master/torch.zip", + "manifest": "https://raw.githubusercontent.com/League-of-Foundry-Developers/torch/master/module.json", + "download": "https://raw.githubusercontent.com/League-of-Foundry-Developers/torch/master/torch.zip", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.8.6" } diff --git a/torch.zip b/torch.zip index 77642a4e75400cccc3f20e78a53707f164c5bde9..8ccb1147637b0d5e74768bfa01669bba544295d2 100644 GIT binary patch delta 2019 zcmZXVcQhMnAICFM1Vy~Gv1-(~MpZ}jYK_K7tRQN>Rf;I7+M_fsHL7AHYP3OnsTvhC zxfDf}qQlmP(zq14YP?3HV%&KDc+Y!opXYr4c+PpA-|so+_dVawjL{MXW`_Yo1ObOD zlGK|GL-3R5+C6#7)-?l-v9hDK!6iy<4WYmV5uzmTk^sP$)N4=k9gv-X008m4m!bd! zAS@`v8?R%JGQMn$(k5KTIUWI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