Thread: Extracting all npc types
-
September 10th, 2017, 02:01 #1
Extracting all npc types
This is for the 5e / core rules set.
I want to create a list of all the known npc types in whatever modules the user has installed. Like what I can find in the NPC window, but with the added info of possible subtype info that can be found in parantheses in the type field of the npc record.
Can this be done? Is there a way to iterate the npc database?
If so, can you point me in the direction to how I'd do this? I've tried searching the 5e ruleset for how the npc list is built, but I'm not fluent enough in the fantasy grounds ruleset structure to find this.
Any help would be appreciated.
Thanks,
Tideturner
-
September 10th, 2017, 05:24 #2
Most of the 5e products are encrypted and you can't access the database.
I never claimed to be sane. Besides, it's more fun this way.
-
September 10th, 2017, 06:23 #3
Have a look at the data structure here: https://www.fantasygrounds.com/wiki/...Best_Practices You can iterate the various databases using LUA code, I'm not sure where you're going to store the results though.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks