# Lines beginning with # are comments. # Blank lines are ignored. # Each entry begins with a table name and a die type, followed by an # Encounter Level or "*". Each line then has two elements: a die roll # and a result. A table is ended with a period. # Dice are expressed as N[dM[xP]]: # 5 always evalutes to 5. # 1d8 evaluates to (1,2,3,4,5,6,7,8) # 2d4 evaluates to (2,3,3,4,4,4,5,5,5,5,6,6,6,7,7,8) # 1d6x10 evaluates to (10,20,30,40,50,60) # For example: # Name die_type # EL1 # Score1 Result1 # Score2 Result2 # EL2 # Score1 Result3a # " Result3b # Score2 Result4 # . # You can put spaces in final-result names, but not in table names. # A result name prefixed with a $ will be treated as a single object # with a variable value, rather than a variable count of objects. # This is used for Gems and Art, for example Treasure 100 * 101 1 Coins " 1 Goods " 1 Magic Items " 1 ExpectedValue . Coins 100 1 15 1 Nothing 30 1d6x1000 Copper 53 1d8x100 Silver 96 2d8x10 Gold 101 1d4x10 Platinum 2 14 1 Nothing 24 1d10x1000 Copper 44 2d10x100 Silver 96 4d10x10 Gold 101 2d8x10 Platinum 3 12 1 Nothing 22 2d10x1000 Copper 42 4d8x100 Silver 96 1d4x100 Gold 101 1d10x10 Platinum 4 12 1 Nothing 22 3d10x1000 Copper 42 4d12x1000 Silver 96 1d6x100 Gold 101 1d8x10 Platinum 5 11 1 Nothing 20 1d4x10000 Copper 39 1d6x1000 Silver 96 1d8x100 Gold 101 1d10x10 Platinum 6 11 1 Nothing 19 1d6x10000 Copper 38 1d8x1000 Silver 96 1d10x100 Gold 101 1d12x10 Platinum 7 12 1 Nothing 19 1d10x10000 Copper 36 1d12x1000 Silver 94 3d4x10 Platinum 8 11 1 Nothing 16 1d12x10000 Copper 30 2d6x1000 Silver 88 2d8x100 Gold 101 3d6x10 Platinum 9 11 1 Nothing 16 2d6x10000 Copper 30 2d8x1000 Silver 86 5d4x100 Gold 101 2d12x10 Platinum 10 11 1 Nothing 25 2d10x1000 Silver 80 6d4x100 Gold 101 5d6x10 Platinum . ### This is an example of how to do different nationalities of coins. ### Note that it has to process each coin separately, so it's probably ### not a good idea to use it for anything where you're handing out ### tens of thousands of coins -- instead, change the Coins table ### itself to hand out big blocks of Drachmae or Rubles or whatever. # Gold 4 # * # 2 1 Gold Drachmae # 3 1 Gold Rubles # 4 1 Gold Dollars # 5 1 Gold Ponies # . Goods 100 1 91 1 Nothing 96 1 Gems 101 1 Arts 2 82 1 Nothing 96 1d3 Gems 101 1d3 Arts 3 78 1 Nothing 96 1d3 Gems 101 1d3 Arts 4 71 1 Nothing 96 1d4 Gems 101 1d3 Arts 5 61 1 Nothing 96 1d4 Gems 101 1d4 Arts 6 57 1 Nothing 93 1d4 Gems 101 1d4 Arts 7 49 1 Nothing 89 1d4 Gems 101 1d4 Arts 8 46 1 Nothing 86 1d6 Gems 101 1d4 Arts 9 41 1 Nothing 81 1d8 Gems 101 1d4 Arts 10 36 1 Nothing 80 1d8 Gems 101 1d6 Arts . Gems 100 * 26 4d4 $CheapGem 51 2d4x10 $AverageGem 71 4d4x10 $SemipreciousGem 91 2d4x100 $PreciousGem 100 4d4x100 $VeryPreciousGem 101 2d4x1000 $RareGem . CheapGem 12 * 2 1 Banded Agate 3 1 Eye Agate 4 1 Moss Agate 5 1 Azurite 6 1 Blue Quartz 7 1 Hematite 8 1 Lapis Lazuli 9 1 Malachite 10 1 Obsidian 11 1 Rhodochrosite 12 1 Tiger Eye Turquiose 13 1 Freshwater (Irregular) Pearl . AverageGem 17 * 2 1 Bloodstone 3 1 Carnelian 4 1 Chalcedony 5 1 Chrysoprase 6 1 Citrine 7 1 Iolite 8 1 Jasper 9 1 Moonstone 10 1 Onyx 11 1 Peridot 12 1 Rock Crystal (Clear Quartz) 13 1 Sard 14 1 Sardonyx 15 1 Rose Quartz, 16 1 Smoky Quartz, 17 1 Star Rose Quartz 18 1 Zircon . SemipreciousGem 16 * 2 1 Amber Stone 3 1 Amethyst 4 1 Chrysoberyl 5 1 Coral 6 1 Red Garnet 7 1 Brown-Green Garnet 8 1 Jade Stone 9 1 Jet Stone 10 1 White Pearl 11 1 Golden Pearl 12 1 Pink Pearl 13 1 Silver Pearl 14 1 Red Spinel 15 1 Red-Brown Spinel 16 1 Deep Green Spinel 17 1 Tourmaline . PreciousGem 6 * 2 1 Alexandrite 3 1 Aquamarine 4 1 Violet Garnet 5 1 Black Pearl 6 1 Deep Blue Spinel 7 1 Golden Yellow Topaz . VeryPreciousGem 10 * 2 1 Emerald 3 1 White Opal 4 1 Black Opal 5 1 Fire Opal 6 1 Blue Sapphire; 7 1 Fiery Yellow Corundum 8 1 Rich Purple Corundum 9 1 Blue Star Sapphire 10 1 Black Star Sapphire 11 1 Star Ruby . RareGem 7 * 2 1 Clearest Bright Green Emerald 3 1 Blue-White Diamond 4 1 Canary Diamond 5 1 Pink Diamond 6 1 Brown Diamond 7 1 Blue Diamond 8 1 Jacinth . Arts 100 * 11 1d6x10 $Art Item 26 3d6x10 $Art Item 41 1d6x100 $Art Item 51 1d10x100 $Art Item 61 2d6x100 $Art Item 71 3d6x100 $Art Item 81 4d6x100 $Art Item 86 5d6x100 $Art Item 91 1d4x1000 $Art Item 96 1d6x1000 $Art Item 100 2d4x1000 $Art Item 101 2d6x1000 $Art Item . ExpectedValue 100 1 101 300 TotalValue 2 101 600 TotalValue 3 101 900 TotalValue 4 101 1200 TotalValue 5 101 1600 TotalValue 6 101 2000 TotalValue 7 101 2600 TotalValue 8 101 3400 TotalValue 9 101 4500 TotalValue 10 101 5800 TotalValue 11 101 7500 TotalValue 12 101 9800 TotalValue 13 101 13000 TotalValue 14 101 17000 TotalValue 15 101 22000 TotalValue 16 101 28000 TotalValue 17 101 36000 TotalValue 18 101 47000 TotalValue 19 101 61000 TotalValue 20 101 80000 TotalValue .