Renaming or deleting a workflow does not clean previous links to that workflow. Dropdowns would show "No link" since they couldn't find the right value to select, but the script would still try to call the workflows with the previous name.
Renaming or deleting a workflow now automatically updates links to that workflow in:
Actions
Event links (both object-specific and game events)
Cutscene steps
Run workflow effect (only when renaming)
Notably, it doesn't update in:
Document links (parsing text to replace the workflowID while accounting for potential special characters in IDs feels like a bad time)
Run item workflow (no way of knowing whether the workflow renamed is the one referenced in the effect)
Run aura workflow (would need to go through the entire database, or at minima the entire creation from root)
Some UI elements required an additional update when shown to properly reflect the updated link.
As an added bonus, two functions existed to replace a creation ID, they now use a single function, with potentially improved performance.
For #237.
Renaming or deleting a workflow does not clean previous links to that workflow. Dropdowns would show "No link" since they couldn't find the right value to select, but the script would still try to call the workflows with the previous name.
Renaming or deleting a workflow now automatically updates links to that workflow in:
Notably, it doesn't update in:
Some UI elements required an additional update when shown to properly reflect the updated link.
As an added bonus, two functions existed to replace a creation ID, they now use a single function, with potentially improved performance.