Skip to content

Commit

Permalink
Adding DCC to supported systems for 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lupestro committed Dec 11, 2022
1 parent 5d9d80d commit 387dd21
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!)

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "torch",
"title": "Torch",
"description": "Torch HUD Controls",
"version": "2.2.2",
"version": "2.3.0",
"authors": [
{
"name": "Deuce",
Expand Down
34 changes: 34 additions & 0 deletions sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
36 changes: 36 additions & 0 deletions test/tickets/issue-37/user-sources.json
Original file line number Diff line number Diff line change
@@ -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 }
}
]
}
}
}
}
Binary file modified torch.zip
Binary file not shown.

0 comments on commit 387dd21

Please sign in to comment.