Browsing articles tagged with " Generator"

Bug Fix: Medieval Name Generator

Feb 9, 2015
Mark
Comments Off on Bug Fix: Medieval Name Generator

Well, sometimes I have edge case bugs that are hard to track down. The failure to generate female names via the Medieval Names Generator was not one of those. I’m certain it worked at one point but I must have broken it at some point I have yet to find in the change log history.

I tweaked the interface slightly to use a robust paradigm used in many of my other generators to fix the issue. Unfortunately, it has been broken for many months.

My thanks to the anonymous individual who dropped me feedback to let me know it was busted. My apologies to the those who tried to generate female names only to get only male results.

Bugs. I code them daily.


Comments Off on Bug Fix: Medieval Name Generator

Labyrinth Lord: Spellbook / Known Spells Generator

Apr 5, 2011
Mark
Comments Off on Labyrinth Lord: Spellbook / Known Spells Generator

Another day, another simple utility.   The Spellbook / Known Spell generator randomly selects a list of spells, ordered by level for a specified class and level.   Lists of spells can be tedious to generate by hand for utility NPC’s who are unlikely to ever use them or are not major players within a plot.   Player characters have the ability to shift the bit players into something more critical in the strangest ways.  Having even the bit parts more fleshed out is now easier with the Spellbook Creator.

The script uses the spell progression tables from the Labyrinth Lord Advanced Edition Companion for the base number of spells to generate.  For example, a 4th level Illusionist has two 1st and two 2nd level spells he can cast per day.   The generator will at a minimum generate those four spells.

Limiting the generator to the minimal number would be sufficient but would provide only a bare bones spell book.   Many individuals have access to more spells than they cast per day.   To allow for extra spells, the generator also  randomly adds between 0 and (Spell Count for level X)/2 (rounded down) additional entries.   If a mage could cast 9 1st level spells, the generator would produce 9-13 spells based on the original 9 plus  0 to (9/2)=4  add-ons.

Even with the add-ons, the generator is too simplistic.   If and when I get to it, version 2 will pre-fill the minimal spell counts and allow the user to specify how many additional spells desired per level.   Such a configuration would be much more functional and allow easier tuning to fit the needs of the game master.


Comments Off on Labyrinth Lord: Spellbook / Known Spells Generator