Closed Norc closed 4 years ago
In the case of chat macros, you can now use handlebars templating to render your chat text using common helpers, or use it along with the macro helper to call other macros, like for example
{{macro "name of my macro" actor 3 "a text argument"}}
The issue is that he's using {{ }}
for his powercards which are handlebar's special characters. This is of course causing the error, and there is no way around it.
No, because with the ~200 modules out there, there is bound to be some incompatibilities and just keeping track of what everyone is doing and adding special use cases for anyone who decides to do things differently, is going to be a full time job. I do not want to start adding special use cases for one module, because it would mean having to add special use cases for any other module that breaks things, or to start showing favoritism.
I don't think so. I'd consider the two features as incompatible.
Note: I've spoken about Sky's powercards back in August last year, I actually added the first iterations of the macros (before they existed in the core foundry) months ago with the specific use of the handlebar templates and spoken to Sky multiple times about the design and how he could use the handlebar syntax to build his power cards for Foundry. He isn't using that design, probably because he wants the power cards to have the exact same syntax as they had on Roll20 and it's incompatible because of that.
Good news. I got a tip from @Rücklicht (Frerk)#0985 on the Foundry discord. Replacing the {{ }} with a single bracket set {} still works in Powercards, and no longer runs afoul of The Furnace. Closing my issue, thanks for the response!
And I totally hear you on the module incompatibilities...
That's great to hear! And thanks for letting me know, I'll be sure to tell others that using a single { }
works as well if they have the same issue.
Thanks!
Test Info (latest everything): Foundry 0.6.0 on Windows 10 self hosted (electron app as GM), DND5e 0.92, Powercards 0.0.7, Furnace 1.8.
I am attempting to use Sky's not-officially-distributed Powercard's module (https://github.com/Sky-Captain-13/foundry/tree/master/powercards). When a specially formatted chat macro (not script) is run, it generates a shiny powercard for the output:
Is supposed to turn into this in the Chat Log:
Without The Furnace's advanced macros enabled, this works as intended. However, if I check the Advanced Macros configuration, I instead get this error for the same macro:
After talking with Sky, he's indicated that it's out of the scope of his module to fix this issue.
I have two questions for you:
1) Is the Advanced Macros supposed to be parsing chat macros at all? 2) If it is, is it possible for The Furnace to not parse any chat macros that start with "!power"? 3) Is it possible to rewrite that Powercard macro in a way that The Furnace will not hate it?
Thanks!! Any help would be greatly appreciated :(