League-of-Foundry-Developers / torch

Simple torch module for Foundry VTT
10 stars 16 forks source link

Implement Dragonbane as a new system (With JSON added) #60

Closed dataCobra closed 10 months ago

dataCobra commented 10 months ago

Hi,

I'm playing with the dragonbane system and created a json file which includes all the light sources that are available through the rules with the correct values.

Are you able to add this with an update or do you need more information?

{
  "dragonbane": {
    "system": "dragonbane",
    "topology": "standard",
    "quantity": "quantity",
    "sources": {
      "Lantern": {
        "name": "Lantern",
        "type": "equipment",
        "consumable": false,
        "light": [
          {
            "bright": 10,
            "dim": 10,
            "angle": 360,
            "alpha": 0.05,
            "animation": {
              "type": "torch",
              "speed": 5,
              "intensity": 5,
              "reverse": false
            }
          }
        ]
      },
      "Oil Lamp": {
        "name": "Oil Lamp",
        "type": "equipment",
        "consumable": false,
        "light": [
          {
            "bright": 10,
            "dim": 10,
            "angle": 360,
            "alpha": 0.05,
            "animation": {
              "type": "torch",
              "speed": 5,
              "intensity": 5,
              "reverse": false
            }
          }
        ]
      },
      "Torch": {
        "name": "Torch",
        "type": "equipment",
        "consumable": false,
        "light": [
          {
            "bright": 10,
            "dim": 10,
            "angle": 360,
            "alpha": 0.05,
            "animation": {
              "type": "torch",
              "speed": 5,
              "intensity": 5,
              "reverse": false
            }
          }
        ]
      },
      "Tallow Candle": {
        "name": "Tallow Candle",
        "type": "equipment",
        "consumable": false,
        "light": [
          {
            "bright": 4,
            "dim": 4,
            "angle": 360,
            "alpha": 0.05,
            "animation": {
              "type": "torch",
              "speed": 5,
              "intensity": 5,
              "reverse": false
            }
          }
        ]
      }
    }
  }
}
lupestro commented 10 months ago

I've delivered it in 2.10.0 - please let me know if there are issues. (I don't own the module, so I couldn't test this one.)

lupestro commented 10 months ago

Oops - better close this.

dataCobra commented 9 months ago

Thank you, I'll check the next time I've time for Foundry. :+1: