diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d5c71d..934b5cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Middle Kingdom - v10 branch +### 2.3.0 - December 10, 2022 +- [FEATURE] Now supporting Dungeon Crawl Classics. Many thanks to marcusadmortati for supplying the data and testing. + ### 2.2.2 - December 9, 2022 - [BUGFIX] Didn't load light sources properly if Foundry was not at root of site. (Thanks MrPrimate for the PR!) diff --git a/README.md b/README.md index f07b9e6..f239ce5 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Out of the box, the following are available: | pf2e | Candle, Lantern (Hooded), Lantern (Bull's Eye), Torch | earthdawn4e | Candle, Lantern (Hooded), Lantern (Bullseye), Torch | gurps | "Candle, Tallow", "Flashlight, Heavy", "Mini Flashlight", "Micro Flashlight", "Survival Flashlight", "Lantern", "Torch", "Bull's-Eye Lantern", "Electric Lantern, Small", "Electric Lantern, Large", "Small Tactical Light", "Large Tactical Light", "Floodlight" +| dcc | "Lantern", "Torch, each" This module just sheds light from the location of a player token upon demand based upon equipment inventory. It is recommended *not* to use this module for spells or equipment that have other capabilities you intend to use, like performing damage or setting down the equipment, but to rely upon other common approaches, like active effects or item piles, for those. diff --git a/module.json b/module.json index a4002b0..de7d72d 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "id": "torch", "title": "Torch", "description": "Torch HUD Controls", - "version": "2.2.2", + "version": "2.3.0", "authors": [ { "name": "Deuce", diff --git a/sources.json b/sources.json index 3ebf3a6..82c6a7f 100644 --- a/sources.json +++ b/sources.json @@ -399,6 +399,40 @@ } } }, + "dcc": { + "system": "dcc", + "topology": "standard", + "quantity" : "quantity", + "aliases": { + "Lantern": "Oil" + }, + "sources": { + "Torch, each": { + "name": "Torch, each", + "type": "equipment", + "consumable": true, + "states": 2, + "light": [ + { + "bright": 15, "dim": 30, "angle": 360, "color": "#ff9329", "alpha": 0.2, + "animation": { "type": "torch", "speed": 5, "intensity": 5, "reverse": false } + } + ] + }, + "Lantern": { + "name": "Lantern", + "type": "equipment", + "consumable": false, + "states": 2, + "light": [ + { + "bright": 15, "dim": 30, "angle": 360, "color": "#ff9329", "alpha": 0.2, + "animation": { "type": "torch", "speed": 5, "intensity": 5, "reverse": false } + } + ] + } + } + }, "default": { "system": "default", "topology": "none", diff --git a/test/tickets/issue-37/user-sources.json b/test/tickets/issue-37/user-sources.json new file mode 100644 index 0000000..047d7ce --- /dev/null +++ b/test/tickets/issue-37/user-sources.json @@ -0,0 +1,36 @@ +{ + "dcc": { + "system": "dcc", + "topology": "standard", + "quantity" : "quantity", + "aliases": { + "Lantern": "Oil" + }, + "sources": { + "Torch, each": { + "name": "Torch, each", + "type": "equipment", + "consumable": true, + "states": 2, + "light": [ + { + "bright": 15, "dim": 30, "angle": 360, "color": "#ff9329", "alpha": 0.5, + "animation": { "type": "torch", "speed": 5, "intensity": 2, "reverse": false } + } + ] + }, + "Oil": { + "name": "Oil", + "type": "equipment", + "consumable": true, + "states": 2, + "light": [ + { + "bright": 15, "dim": 30, "angle": 360, "color": "#ff9329", "alpha": 0.5, + "animation": { "type": "torch", "speed": 5, "intensity": 2, "reverse": false } + } + ] + } + } + } +} diff --git a/torch.zip b/torch.zip index b300d60..e20cae4 100644 Binary files a/torch.zip and b/torch.zip differ