Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[5E OGL] NPC Description Traits Error Message

1585335436
Jelly
Pro
Marketplace Creator
Hello! So I've been using this extension to my browser called VTT Enhancement Suite that has a bunch of amazing features, but one key feature it has it auto generating macros! But every time I add a new trait or edit a preexisting trait description on the sheet, it does this error. Now, the error that keeps coming up is this: Note that his error does NOT come up when I don't edit the descriptions of preexisting traits. For example, here is one for a Howling Hatred Initiate generated from the PoA module that has been untouched: From my understanding, the code itself seems fine. For those of you who are familiar, this is what the extension generates for macros: @{selected|wtype}&{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$0_name}}} {{description=@{selected|repeating_npctrait_$0_desc}}} Also note that both of these codes are exactly the same for both sheets. The only difference is that the trait description was edited. I generated these macros before editing the trait's description and regenerated them afterwards to see if that fixed it, no luck. Any thoughts? I'm using the 5E OGL for Roll20 for those curious
1585335936
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The sheet was updated Tuesday. This shouldn't affect existing NPCs, but it will affect new drops. On traits, "desc" is now "description". |repeating_npctrait_$0_desc is now |repeating_npctrait_$0_description It shouldn't affect older NPC sheets, but newer ones will only take the new syntax. You are not the only user to fall afoul of this. I have seen nearly a dozen people wondering why their macros no longer work. This should fix your macro code: @{selected|wtype}&{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$0_name}}} {{description=@{selected|repeating_npctrait_$0_description}}}
1585339552
Jelly
Pro
Marketplace Creator
keithcurtis said: The sheet was updated Tuesday. This shouldn't affect existing NPCs, but it will affect new drops. On traits, "desc" is now "description". |repeating_npctrait_$0_desc is now |repeating_npctrait_$0_description It shouldn't affect older NPC sheets, but newer ones will only take the new syntax. You are not the only user to fall afoul of this. I have seen nearly a dozen people wondering why their macros no longer work. This should fix your macro code: @{selected|wtype}&{template:npcaction} {{name=@{selected|npc_name}}} {{rname=@{selected|repeating_npctrait_$0_name}}} {{description=@{selected|repeating_npctrait_$0_description}}} Fantastic! Thank you very much. Glad I wasn't the only one confused about it. Easy enough fix though.