I've extracted the low level scripts I use to both extend the database and introspect it's contents, and published them on github under the project name pysrd.
The SRD is available from Wizards of the Coast as a set of RTF documents. This of course, is not ideal, but fortunately it is possible to get the data from andargor.com in different database formats, including SQLite. Unfortunately however, not all SRD data is included in these databases. Fortunately, the OpenSRD project includes generated HTML versions of the RTF documents, which can more easily be processed.
That's a really good idea.
ReplyDeleteAs I develop more as a programmer and game designer I find that programming can help in every aspect of making a game. For example I made a battletech game in the past and one of the most time consuming parts was data entry for all the mechs, terrain and equipment in the game. It took 2 weeks of data entry and another week of testing to find all the mistakes I'd introduced in to the data. It should have taken 20 minutes of programming. Another example is writing code to stitch rendered images together for making sprite sheets with Python Imaging Library when I used to do it by hand in GIMP. I can't believe the amount of time I've wasted over the years by not knowing how to do simple programming.