Diablobob
May 18th, 2021, 04:53
So I found out that the node names in the db.xml file changed recently.
5E ruleset
for example, if you pull a power name of:
ATTENTION: Update Saved Stats
And make a node using the name, it becomes:
<ATTENTION_Update_Saved_Stats>
Additionally:
Circle of Power (S-30) (C) =
becomes:
<Circle_of_Power__S-30___C___>
Since everything becomes an underscore and a colon becomes nothing... this makes making a node from the names and then later accessing the nodes is causing me some issues...
is there a function that converts the text string into the proper node string? or any advice on how to make a script to remove all spaces and special characters? That might work as well...
I've been beating my head over this for a bit and am just becoming frustrated.
~Diablobob
5E ruleset
for example, if you pull a power name of:
ATTENTION: Update Saved Stats
And make a node using the name, it becomes:
<ATTENTION_Update_Saved_Stats>
Additionally:
Circle of Power (S-30) (C) =
becomes:
<Circle_of_Power__S-30___C___>
Since everything becomes an underscore and a colon becomes nothing... this makes making a node from the names and then later accessing the nodes is causing me some issues...
is there a function that converts the text string into the proper node string? or any advice on how to make a script to remove all spaces and special characters? That might work as well...
I've been beating my head over this for a bit and am just becoming frustrated.
~Diablobob