crnormand / gurps

Implementing a GURPS 4e game aid for Foundry VTT
MIT License
105 stars 49 forks source link

Feature Request: Please allow mass importing of actors #1994

Open TheFabulousIronChef opened 2 weeks ago

TheFabulousIronChef commented 2 weeks ago

It would be great if I could click a few buttons and have all of my custom enemies, PCs, or NPCs all in one shot.

chrismaille commented 2 weeks ago

Hi @TheFabulousIronChef , thanks for the message. My current thinking:

  1. Create a button on the Actor sidebar, like the same one which exists on Compendium sidebar. Something like this: image

  2. Select the folder. @mjeffw, currently I'm testing the webkitdirectory directory input element, but I'm not sure if this is the best approach (because it select all files in all subdirectories). Dialog is something like this: image

  3. After select the folder, a new dialog will show the eligible files in that folder: image

Current options on import are:

Please let me know if this helps.

mjeffw commented 2 weeks ago

I've got a solution I'll be implementing. It's the same one I use to import characters to create Doug's (Gaming Ballistic) modules for DFRPG, such as Saethor's Bane.