Ken L
July 3rd, 2016, 07:39
So I've been using a custom statblock importer built in to FG, but I was curious if I could perhaps create a 'mutable' template such that depending on the statblock it imported, it could create a different layout.
Further elaborating, let us start with the 3.5/PF NPC outline.
1.- Is it possible to have a 'canvas' type of NPC template that can allow for variable field/text elements?
2.- If it is possible, then theoretically one can edit the add npc script to have a default 'NPC' entry template, as well as the possibility of variant entries where perhaps I can have a clickable dialog display customized. Where the button produces the expected default template (without presets you are left with a canvas, and we want the canvas for our extension to paint on).
This custom display's layout would latch on to 'hidden' DB values that determine the layout.
For those pondering the 'why' here, it's to present a layout that can adjust pending on the data presented within the block. The only mutable phase is when my extension imports the statistics and upon import, we can determine what the optimal layout should look like.
Further elaborating, let us start with the 3.5/PF NPC outline.
1.- Is it possible to have a 'canvas' type of NPC template that can allow for variable field/text elements?
2.- If it is possible, then theoretically one can edit the add npc script to have a default 'NPC' entry template, as well as the possibility of variant entries where perhaps I can have a clickable dialog display customized. Where the button produces the expected default template (without presets you are left with a canvas, and we want the canvas for our extension to paint on).
This custom display's layout would latch on to 'hidden' DB values that determine the layout.
For those pondering the 'why' here, it's to present a layout that can adjust pending on the data presented within the block. The only mutable phase is when my extension imports the statistics and upon import, we can determine what the optimal layout should look like.