#Importer Brainstorm
1 messages · Page 1 of 1 (latest)
Just curious, but could you do a check to see if the Patch All Actors macro exists and execute it from the module of it does, applying it to only the character(s) being imported?
I don't know if looking for a macro is even possible but it was a thought so you didn't have to work as much about all the various compendiums.
Maybe you could make it a couple of settings. One to choose if they want to run the Patch All Actors (of it's present). Or maybe just one setting to pick a macro to run in import.
If you wanted to automate you could just fire patch actors config on import
Only run it on the imported folder and let the GM choose the compendiums
I'll take a look at the macro and see how it executes. If I did this, it would definitely be an option for "Automatically Patch Imported Actors"
Oh, that'll be really easy
By the way, that feature is going away with this new macro being available.
So for this to work, I'd have to nearly duplicate the macro entirely except passing in the folder of the actors just imported. But I'd have to get all the packs available, present that UI for the user to select, and so on. It's not much different than running the macro yourself and selecting the new import folder that was created. Not sure I want to reinvent that wheel
You can't just call the macro?
The code is built right into core
The macro just renders it
I can call the macro as is, but it wouldn't be worth it for me to try to push through the imported folder as a default
Yea, I was thinking this might be how it goes away. I figured it wouldn't hurt to see if I triggered any light bulbs. Was worth a try.
Good thing I just now saw the Deadlands update! I was about to merge and publish a release for Savaged.us Importer to check for the SWADE Core Rules module only. I'll update it to check for either SWADE or Deadlands. I assume this macro will be included in all modules going forward.