ardittristan / VTTStreamUtils

MIT License
2 stars 1 forks source link

Savage Worlds compatibility #25

Open DomZook opened 1 year ago

DomZook commented 1 year ago

Hello! I'd like to use this module to display information from a Savage Worlds setting but I'm having trouble getting it to recognize the unique trackers that SW uses. The IDs should be wounds and woundsMax but this just displays an "undefined" error, and searching through the console is of no help (in fact, the site may be out of date with what it suggests searching for as I couldn't find "game.modules" anywhere).

In addition, the initiative tracker places a numerical indicator next to the combatants, but not the actual card # and suit as it does in Foundry. The combatants appear to be in the correct order, so I don't know if a numerical identifier was used in place of card/suit, but it would be great to have that instead!

Lastly, I'd love for a way to show things like the Adventure Deck or Action Deck card draws. Not sure if there's a way to do that or not.

Anyway, thank you!

DomZook commented 1 year ago

I did get Wounds to show up! I had the id incorrect. It's "system.wounds.value" and "system.wounds.max". So that's working! It goes a little backwards since you GAIN wounds rather than LOSING hit points, but it works if you just max out the wounds and subtract.

Now to figure out the initiative tracker display! Any help would be most appreciated. Thanks!

ardittristan commented 1 year ago

I added an option to overwrite built-in overlay templates, you can use this to replace the combattracker template with the swade specific one (I recommend removing all the stuff you don't need)

For the showing, if it shows up in the chat you can probably css away all the non card draw chat messages

DomZook commented 1 year ago

Amazing, thank you!!