Thursday, 29 May 2003

Auto-calculating Character Sheets

As I've mentioned before, I'm a big fan of character sheets that do all the sums for you, not least because they cut down on my mistakes. The character form I currently use comes from the Mad Irishman, and is a wonderful sheet (the new version looks even better, but isn't available as a form yet).

However, the form as it stands doesn't quite handle everything I want - it doesn't handle fractional skill ranks, for one thing, and I would prefer it if the appropriate skills automatically accounted for the armour check penalty, the swim skill accounted for equipment carried, and the maximum Dex bonus was applied to armour class.

So, I've spent the last day and a half screwing around with the form (for personal use only, of course), and have just about got it doing everything I want. I don't know how to make Javascript detect an empty box, or I'd have a few more additions to make, but otherwise it's solid.

Unfortunately, in order to handle everything correctly, I've had to create lots of custom Javascript calculations, which either need to be placed within a .js file to go with the form (which doesn't bother me, but means that completed forms wouldn't be readable by anyone else), or within the cells themselves. This latter option has caused the file to bloat to 2.5 Mb in size.

Oh, well, it was a nice thought experiment. I guess I'll stick with the original.

No comments:

Post a Comment