Table Roll Demo

This is a test page for the RollableTable class, which defines a table of result items and a DieRoll, with optional rules to ignore rolls above or below specified values. A table item can be an end result, an instruction to roll on a different table, or a combination of these as in the fourth item in Monster Table 1.
The Gems and Jewels Table mentioned in the Treasure table (and some other tables for different value levels of gems) exist but are not displayed here.
For now the "database" consists of an XML file. [see example]

   

Monsters Table 1 (d20)
RollItem
1-22d6+3 Orcs
3-4d4 Harpies
5-615 Goblins
7-83 Zombies; Ghoul; Roll on Monsters Table 2
9-16Roll on Monsters Table 2
17-18Roll twice on Monsters Table 2
19-20Roll twice on Villagers Table 1, ignoring results above 8

Monsters Table 2 (d6)
RollItem
1Baby Mosquito
2Scorpion
3Centipede
4d4 * 10 Spiders
5-6Zombie
Villagers Table 1 (d12)
RollItem
1-2Shopkeeper
3-4Alumnus
5-6Ne'er do well
7-8Traveling Wizard
9-10Lawyer
11-12Accountant