View Single Post
Ambush
Senior Member
 
Join Date: Dec 2008
Posts: 121

Old February 17th, 2022, 10:20 AM
I know we can't add to the xml export used for printing, but I'm trying to figure out a way to denote ritual spells in the export. In the very short term, I've created copies of spells, replaced the original, and added *ritual* to the end of the description. In my xsl transform, I find that value, set a variable, and strip it out of the text. I do not enjoy this, and I'm reluctant to want to do it for every ritual spell. So here's the question:

Given that there is a tag on the spell that denotes if it's a ritual, is there an eval script or something else that I can use at a high level to automatically add to the end of the description text?

To be clear, I am looking for a solution that is NOT to modify each individual manually, but something that would also work for any new spells that get added by default (i.e. due to the ritual tag).

Thanks!

DM, exRealmWorker, Character Sheet Hacker, Gamer
Ambush is offline   #1 Reply With Quote