Thursday, July 17, 2008


I moved all the weapon base data into a file, tagged it, and then created a parse subroutine to suck it all into VB structures.

Now I just need to write the output routines. One routine will store the reference data (cake to write). The other will build the weapon list elements (which then become the hotness known as the weapon table).

I should be done with it tonight...if stuff stops breaking at work.

It's a bit of a step backwards since the weapon data has been in the phb for a long time. But the routines that put it in there just forced it in there raw. Adding a new weapon would require opening the code and inserting the weapon. with the parser, it's just a matter of adding a few lines to a text file. Not to mention the program can do the heavy lifting when it comes to building lists.

No comments: