PDA

View Full Version : Question : add a tab on the NPC template



Weptak
October 7th, 2020, 16:58
Would it be possible in an extension to add a tab on the NPC sheet. I like to order my notes for my NPCs (like different descriptions, goals, etc) and I would love to have a tab where I can just complete these kind of informations.

I know a bit of xml, but I'm having a hard time figuring how to add such a tab (ideally for any rule set).

If anyone can help me, or point me in the right direction, thanks in advance !

LordEntrails
October 7th, 2020, 17:19
Yep.

It should be very similar to adding a tab and fields to a character sheet. There are a few posts I found via Site Search that should point you in the right direction;
- https://www.fantasygrounds.com/forums/showthread.php?49652-Adding-tab-to-5e-character-sheet
- https://www.fantasygrounds.com/forums/showthread.php?6557-Add-tab-to-character-sheet
- https://fantasygrounds.com/forums/showthread.php?43722-Add-tab-to-character-sheet-(PFRPG)

Granamere
October 7th, 2020, 17:48
If it does not have to be a tab you could make a new Story entry then unlock the NPC and add the story entry to it. Picture attached.

40008

LordEntrails
October 7th, 2020, 18:16
If it does not have to be a tab you could make a new Story entry then unlock the NPC and add the story entry to it. Picture attached.

40008

I like this. Its certainly, imo easier than an extension, plus you are not altering the database structure. and there is nothing for you to maintain.

Zacchaeus
October 7th, 2020, 18:57
You can also just edit the existing tab adding your own stuff or just delete the existing stuff and create your own.

Weptak
October 7th, 2020, 20:27
If it does not have to be a tab you could make a new Story entry then unlock the NPC and add the story entry to it. Picture attached.

40008

That is exactly what I've been doing. It just bugs me a bit to have story entry for each NPC, and so 2 windows for each named NPC...

And any layout in a story template reverts to simple text (no bold, title, quote, etc) when I try to copy-paste it in the NPC note tab.

The idea was to have something like a form with editable text, like in the main tab.

Moon Wizard
October 7th, 2020, 22:27
Moving to the Workshop forum.

JPG