#config file for Torch and SWPF on the

1 messages Β· Page 1 of 1 (latest)

unique quail
#

What"s this Torch feature?
Looks ergonomic and simple.
Is it a dedicated module? Or part of SPWF? Or part of SWIM or so?

unreal thistle
unique quail
#

Excellent. Thank you!

unreal thistle
unique quail
#

It's based on the name you mean?

unreal thistle
#
{
  "swade": {
    "system": "swade",
    "topology": "standard",
    "quantity" : "quantity",
    "aliases": {
      "Candle (1 hr, 2\" radius)": "Candle",
      "Torch (1 hour, 4\" radius)": "Torch",
      "Lantern, bullseye (10\" cone)": "Lantern, bullseye",
      "Lantern, hooded (6\" radius)": "Lantern, hooded"
    },
    "sources": {
      "Candle (1 hr, 2\" radius)": {
        "states": 2,
        "light": [
          {
            "bright": 0.5, "dim": 2, "angle": 360, "color": "#e68805", "alpha": 0.15,
            "animation": { "type": "torch", "speed": 2, "intensity": 4, "reverse": false } 
          }           
        ]
      },
      "Everburning Torch": {
        "states": 2,
        "light": [
          {
            "bright": 0.5, "dim": 4, "angle": 360, "color": "#e68805", "alpha": 0.15,
            "animation": { "type": "torch", "speed": 2, "intensity": 4, "reverse": false } 
          }               
        ]
      },
#

It has the official modules names

#

As ugly "Candle (1 hr, 2" radius)" can be

unique quail
#

Oh 😦 sad. i18n goes away πŸ˜„

unreal thistle
unique quail
#

I suppose I can't create such a JSON en upload it in my game.
I suppose this json is part of the module.

unique quail
#

oh!!!

unreal thistle
#

just copy the json and modify it

unique quail
#

Ok, perfect. I should be able to manage that πŸ˜„

unreal thistle
unique quail
#

I have enough technical level for that. lol.

#

Thank you very much. I'll try.

flat relic
#

Just for the completeness of the list, the simple lamp is missing.
In case you wanna Integrale that as well, it’s called;
Lamp, small (3” radius)

muted kayak
#

OK, created a file called torch_swade.json. In Configure Settings, point the Additional Light Sources to this new file. Have a PC with light sources. When I click the flame icon, it turns the players Lantern on and off. I don't get a list of the other light sources that are on the character. What gives?

#

And the doc from the git to get ids, gives an error. game.actors.getName("Tarvon").items.getName("Sunrod")
VM4127:1 Uncaught TypeError: Cannot read properties of undefined (reading 'items')

flat relic
muted kayak
#

Ah, duh. Thanks.

solar yoke
#

Oh wow, well, um I'm having an issue with Torch too

#

A friend has been trying to help me with creating an additional light source (basically just an item that we are going to use to represent our artificer making her bracelet light up) but when I put in the .json file it seems to mess up the whole module (no more torch icon in the HUD)

#

this is the current json file we've tried

solar yoke
#

I am currently using the torch_swade file as a template and redoing everything.