Statblock parser


Technology


I am looking for some help with regular expressions to extract data from Paizo's statblocks. If anyone has any regular expressions to do this, I would appreciate if I can have a copy. TIA!


What exactly are you trying to accomplish?

NPC stat blocks?

You can download CSV files of many types of files from http://www.d20pfsrd.com/


harmor wrote:

What exactly are you trying to accomplish?

NPC stat blocks?

You can download CSV files of many types of files from http://www.d20pfsrd.com/

My goal is to make the statblock2token macro for MapTool better. Currently it can make a token and be 85% accurate. I want to make the accuracy higher so it cuts down on my prep time. I have most of those csv files, but they are not completely helpful as the level is not a column(it has what the statblock shows like 2d6+3d10; I need 5). Same with AC and some of the other stats. So what I am looking for is something like "hp ([0-9]+).+?([0-9]+)"

Grand Lodge

Similar to TokenLab?


Andrew Betts wrote:
Similar to TokenLab?

Nope. TokenLab is a generic framework for MapTool. I use lMarkus's FW.

Community / Forums / Gamer Life / Entertainment / Technology / Statblock parser All Messageboards

Want to post a reply? Sign in.