Files
dungeon-sheets/dungeonsheets/random_tables.py
T

1536 lines
85 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from abc import ABCMeta
from typing import Sequence
from dungeonsheets.content import Content
from dungeonsheets.content_registry import default_content_registry
default_content_registry.add_module(__name__)
class SubtableFactory(ABCMeta):
"""Meta class to append subtables to the docstring of a RandomTable..
For classes using this metaclass, the *subtables* attribute, if
present, should be a list of subtables that are to be
included. For each entry on that list, it will first be resolved
into a RandomTable class, if appropriate, then its docstring will
be added to the docstring of the calling class.
"""
def __init__(self, name, bases, attrs):
# Resolve subtables to RandomTable classes
for idx, subtable in enumerate(self.subtables):
TheTable = self._resolve_mechanic(subtable, SuperClass=RandomTable)
self.subtables[idx] = TheTable
# Append docstrings for subtables
docstring = self.__doc__ if self.__doc__ is not None else ""
for table in self.subtables:
docstring += f"\n\n**{table.name}**\n\n{table.__doc__}\n"
self.__doc__ = docstring
class RandomTable(Content, metaclass=SubtableFactory):
"""A generic table for rolling treasure, monsters, etc.
Additional tables can be included by using the *subtables*
attribute. A use case for this is to create a table for rolling
random treasure, which may include subtables for gems, art, magic
items, etc. By including these as subtables, each subtable could
be included by itself if the verbosity of the full *Treasure*
table is not needed.
Attributes
==========
subtables
A sequence of other random tables that will be included in this
table.
"""
name = "Generic Random Table"
subtables: Sequence = []
class ConjureAnimals(RandomTable):
"""
+-----+-----------------------------------------------+
| 1d4 | Number of Beasts |
+=====+===============================================+
| 1 | One beast of challenge rating 2 |
+-----+-----------------------------------------------+
| 2 | Two beasts of challenge rating 1 |
+-----+-----------------------------------------------+
| 3 | Four beasts of challenge rating 1/2 |
+-----+-----------------------------------------------+
| 4 | Eight beasts of challenge rating 1/4 or lower |
+-----+-----------------------------------------------+
+-------+---------------------------+
| 1d20 | CR2 Beasts |
+=======+===========================+
| 1-2 | Allosaurus |
+-------+---------------------------+
| 3-4 | Giant Boar |
+-------+---------------------------+
| 5-6 | Giant Constrictor Snake |
+-------+---------------------------+
| 7-8 | Giant Elk |
+-------+---------------------------+
| 9-10 | Hunter Shark |
+-------+---------------------------+
| 11 | Plesiosaurus |
+-------+---------------------------+
| 12-13 | Polar Bear |
+-------+---------------------------+
| 14-15 | Rhinoceros |
+-------+---------------------------+
| 16-17 | Saber-toothed Tiger |
+-------+---------------------------+
| 18-19 | Swarm of Poisonous Snakes |
+-------+---------------------------+
| 20 | Roll on CR 1 Beast Table |
+-------+---------------------------+
+------+----------------------------+
| 1d12 | Challenge Rating 1 Beasts |
+======+============================+
| 1 | Brown Bear |
+------+----------------------------+
| 2 | Dire Wolf |
+------+----------------------------+
| 3 | Fire Snake |
+------+----------------------------+
| 4 | Giant Eagle |
+------+----------------------------+
| 5 | Giant Hyena |
+------+----------------------------+
| 6 | Giant Octopus |
+------+----------------------------+
| 7 | Giant Spider |
+------+----------------------------+
| 8 | Giant Toad |
+------+----------------------------+
| 9 | Giant Vulture |
+------+----------------------------+
| 10 | Lion |
+------+----------------------------+
| 11 | Tiger |
+------+----------------------------+
| 12 | Roll on CR 1/2 Beast Table |
+------+----------------------------+
+-------+---------------------------------+
| 1d20 | Challenge Rating 1/2 Beasts |
+=======+=================================+
| 1-2 | Ape |
+-------+---------------------------------+
| 3-4 | Black Bear |
+-------+---------------------------------+
| 5-6 | Crocodile |
+-------+---------------------------------+
| 7-8 | Giant Goat |
+-------+---------------------------------+
| 9-10 | Giant Sea Horse |
+-------+---------------------------------+
| 11-12 | Giant Wasp |
+-------+---------------------------------+
| 13-14 | Reef Shark |
+-------+---------------------------------+
| 15-16 | Swarm of Insects (below) |
+-------+---------------------------------+
| 17-18 | Warhorse |
+-------+---------------------------------+
| 19 | Worg |
+-------+---------------------------------+
| 20 | Roll on Lesser Beast Menu Table |
+-------+---------------------------------+
+-----+------------------+
| 1d6 | Swarm of Insects |
+=====+==================+
| 1 | Ant |
+-----+------------------+
| 2 | Beatles |
+-----+------------------+
| 3 | Centipedes |
+-----+------------------+
| 4 | Locusts |
+-----+------------------+
| 5 | Spiders |
+-----+------------------+
| 6 | Wasps |
+-----+------------------+
+-----+------------------------------+
| 1d6 | CR 1/4 and Lesser Beast Menu |
+=====+==============================+
| 1-2 | Menu A |
+-----+------------------------------+
| 3-4 | Menu B |
+-----+------------------------------+
| 5-6 | Menu C |
+-----+------------------------------+
+------+---------------------+
| 1d20 | Lesser Beast Menu A |
+======+=====================+
| 1 | Axe Beak |
+------+---------------------+
| 2 | Baboon |
+------+---------------------+
| 3 | Badger |
+------+---------------------+
| 4 | Bat |
+------+---------------------+
| 5 | Blood Hawk |
+------+---------------------+
| 6 | Boar |
+------+---------------------+
| 7 | Camel |
+------+---------------------+
| 8 | Cat |
+------+---------------------+
| 9 | Chicken¹ |
+------+---------------------+
| 10 | Constrictor Snake |
+------+---------------------+
| 11 | Crab |
+------+---------------------+
| 12 | Deer |
+------+---------------------+
| 13 | Draft Horse |
+------+---------------------+
| 14 | Eagle |
+------+---------------------+
| 15 | Elk |
+------+---------------------+
| 16 | Flying Snake |
+------+---------------------+
| 17 | Frog |
+------+---------------------+
| 18 | Giant Badger |
+------+---------------------+
| 19 | Giant Bat |
+------+---------------------+
| 20 | Giant Centipede |
+------+---------------------+
¹Chicken
Raven stats with Advantage on checks to wake up targets instead
of mimicry
+------+--------------------------+
| 1d20 | Lesser Beast Menu B |
+======+==========================+
| 1 | Giant Crab |
+------+--------------------------+
| 2 | Giant Fire Beetle |
+------+--------------------------+
| 3 | Giant Frog |
+------+--------------------------+
| 4 | Giant Lizard |
+------+--------------------------+
| 5 | Giant Owl |
+------+--------------------------+
| 6 | Giant Poisonous Snake |
+------+--------------------------+
| 7 | Giant Rat |
+------+--------------------------+
| 8 | Giant Weasel |
+------+--------------------------+
| 9 | Giant Wolf Spider |
+------+--------------------------+
| 10 | Goat |
+------+--------------------------+
| 11 | Hawk |
+------+--------------------------+
| 12 | Hyena |
+------+--------------------------+
| 13 | Jackal |
+------+--------------------------+
| 14 | Lemur² |
+------+--------------------------+
| 15 | Lizard |
+------+--------------------------+
| 16 | Mastiff |
+------+--------------------------+
| 17 | Mule |
+------+--------------------------+
| 18 | Newt³ |
+------+--------------------------+
| 19 | Octopus |
+------+--------------------------+
| 20 | Octopus, Cascadian Tree⁴ |
+------+--------------------------+
²Lemur
Weasel stats with a common Climb speed instead of a bite attack
³Newt
Lizard stats with Amphibious instead of a bite attack
⁴Octopus, Cascadian Tree:
Octopus stats with Amphibious and a 10 ft land speed instead of
camouflage
+------+---------------------+
| 1d20 | Lesser Beast Menu C |
+======+=====================+
| 1 | Owl |
+------+---------------------+
| 2 | Panther |
+------+---------------------+
| 3 | Poisonous Snake |
+------+---------------------+
| 4 | Pony |
+------+---------------------+
| 5 | Pteranodon |
+------+---------------------+
| 6 | Quipper |
+------+---------------------+
| 7 | Rat |
+------+---------------------+
| 8 | Raven |
+------+---------------------+
| 9 | Riding Horse |
+------+---------------------+
| 10 | Scorpion |
+------+---------------------+
| 11 | Sea Horse |
+------+---------------------+
| 12 | Shocker Lizard⁵ |
+------+---------------------+
| 13 | Spider |
+------+---------------------+
| 14 | Swarm of Bats |
+------+---------------------+
| 15 | Swarm of Rats |
+------+---------------------+
| 16 | Swarm of Ravens |
+------+---------------------+
| 17 | Turtle⁶ |
+------+---------------------+
| 18 | Vulture |
+------+---------------------+
| 19 | Weasel |
+------+---------------------+
| 20 | Wolf |
+------+---------------------+
⁵Shocker Lizard
Lizard stats with Static Electricity ranged attack of 1d6
Electricity damage Close/Medium.
⁶Turtle
Lizard stats with 14 natural armor and no climb speed.
"""
# https://the-azure-triskele.obsidianportal.com/wikis/conjure-animals-table
name = "Conjure Animals"
class IndividualTreasure0To4(RandomTable):
"""
+-------+----------+----------+----------+----------+---------+
| d100 | CP | SP | EP | GP | PP |
+=======+==========+==========+==========+==========+=========+
| 0130 | 5d6 (17) | | | | |
+-------+----------+----------+----------+----------+---------+
| 3160 | | 4d6 (14) | | | |
+-------+----------+----------+----------+----------+---------+
| 6170 | | | 3d6 (10) | | |
+-------+----------+----------+----------+----------+---------+
| 7195 | | | | 3d6 (10) | |
+-------+----------+----------+----------+----------+---------+
| 9600 | | | – | | 1d6 (3) |
+-------+----------+----------+----------+----------+---------+
"""
name = "Individual Treasure: Challenge 04"
class IndividualTreasure5To10(RandomTable):
"""
+-------+--------------------+----------------+----------------+----------------+----------+
| d100 | CP | SP | EP | GP | PP |
+=======+====================+================+================+================+==========+
| 0130 | 4d6 × 100 (14,000) | | 1d6 × 100 (35) | | |
+-------+--------------------+----------------+----------------+----------------+----------+
| 3160 | | 6d6 × 10 (210) | | 2d6 × 10 (70) | |
+-------+--------------------+----------------+----------------+----------------+----------+
| 6170 | | | 3d6 × 10 (105) | 2d6 × 10 (70) | |
+-------+--------------------+----------------+----------------+----------------+----------+
| 7195 | | – | | 4d6 × 10 (140) | |
+-------+--------------------+----------------+----------------+----------------+----------+
| 9600 | | – | | 2d6 × 10 (70) | 3d6 (10) |
+-------+--------------------+----------------+----------------+----------------+----------+
"""
name = "Individual Treasure: Challenge 510"
class IndividualTreasure11To16(RandomTable):
"""
+-------+----+-------------------+-----------------+-----------------+---------------+
| d100 | CP | SP | EP | GP | PP |
+=======+====+===================+=================+=================+===============+
| 0120 | | 4d6 × 100 (1,400) | | 1d6 × 100 (350) | |
+-------+----+-------------------+-----------------+-----------------+---------------+
| 2135 | | | 1d6 × 100 (350) | 1d6 × 100 (350) | |
+-------+----+-------------------+-----------------+-----------------+---------------+
| 3675 | | | | 2d6 × 100 (700) | 1d6 × 10 (35) |
+-------+----+-------------------+-----------------+----------------+----------------+
| 7500 | | | | 2d6 × 100 (700) | 2d6 × 10 (70) |
+-------+----+-------------------+-----------------+----------------+----------------+
"""
name = "Individual Treasure: Challenge 1116"
class IndividualTreasure17Plus(RandomTable):
"""
+-------+----+----+---------------------+---------------------+-----------------+
| d100 | CP | SP | EP | GP | PP |
+=======+====+====+=====================+=====================+=================+
| 0115 | | | 2d6 × 1,000 (7,000) | 8d6 × 100 (2,800) | |
+-------+----+----+---------------------+---------------------+-----------------+
| 1655 | | | | 1d6 × 1,000 (3,500) | 1d6 × 100 (350) |
+-------+----+----+---------------------+---------------------+-----------------+
| 5600 | | | | 1d6 × 1,000 (3,500) | 2d6 × 100 (700) |
+-------+----+----+---------------------+---------------------+-----------------+
"""
name = "Individual Treasure: Challenge 17+"
class IndividualTreasure(RandomTable):
""""""
name = "Individual Treasure"
subtables = [IndividualTreasure0To4, IndividualTreasure5To10,
IndividualTreasure11To16, IndividualTreasure17Plus]
class HoardTreasure0To4(RandomTable):
"""
+-------+-------------------+-------------------+----+---------------+----+
| | CP | SP | EP | GP | PP |
+=======+===================+===================+====+===============+====+
| Coins | 6d6 × 100 (2,100) | 3d6 × 100 (1,050) | | 2d6 × 10 (70) | |
+-------+-------------------+-------------------+----+---------------+----+
+-------+---------------------------+---------------------------------------+
| d100 | Gems or Art Objects | Magic Items |
+=======+===========================+=======================================+
| 0106 | | – |
+-------+---------------------------+---------------------------------------+
| 0716 | 2d6 (7) 10 gp gems | |
+-------+---------------------------+---------------------------------------+
| 1726 | 2d4 (5) 25 gp art objects | |
+-------+---------------------------+---------------------------------------+
| 2736 | 2d6 (7) 50 gp gems | |
+-------+---------------------------+---------------------------------------+
| 3744 | 2d6 (7) 10 gp gems | Roll 1d6 times on Magic Item Table A. |
+-------+---------------------------+---------------------------------------+
| 4552 | 2d4 (5) 25 gp art objects | Roll 1d6 times on Magic Item Table A. |
+-------+---------------------------+---------------------------------------+
| 5360 | 2d6 (7) 50 gp gems | Roll 1d6 times on Magic Item Table A. |
+-------+---------------------------+---------------------------------------+
| 6165 | 2d6 (7) 10 gp gems | Roll 1d4 times on Magic Item Table B. |
+-------+---------------------------+---------------------------------------+
| 6670 | 2d4 (5) 25 gp art objects | Roll 1d4 times on Magic Item Table B. |
+-------+---------------------------+---------------------------------------+
| 7175 | 2d6 (6) 50 gp gems | Roll 1d4 times on Magic Item Table B. |
+-------+---------------------------+---------------------------------------+
| 7678 | 2d6 (7) 10 gp gems | Roll 1d4 times on Magic Item Table C. |
+-------+---------------------------+---------------------------------------+
| 7980 | 2d4 (5) 25 gp art objects | Roll 1d4 times on Magic Item Table C. |
+-------+---------------------------+---------------------------------------+
| 8185 | 2d6 (7) 50 gp gems | Roll 1d4 times on Magic Item Table C. |
+-------+---------------------------+---------------------------------------+
| 8692 | 2d4 (5) 25 gp art objects | Roll 1d4 times on Magic Item Table F. |
+-------+---------------------------+---------------------------------------+
| 9397 | 2d6 (7) 50 gp gems | Roll 1d4 times on Magic Item Table F. |
+-------+---------------------------+---------------------------------------+
| 9899 | 2d4 (5) 25 gp art objects | Roll once on Magic Item Table G. |
+-------+---------------------------+---------------------------------------+
| 00 | 2d6 (7) 50 gp gems | Roll once on Magic Item Table G. |
+-------+---------------------------+---------------------------------------+
"""
name = "Hoard Treasure: Challenge 04"
class HoardTreasure5To10(RandomTable):
"""
+-------+-----------------+---------------------+----+-------------------+---------------+
| | CP | SP | EP | GP | PP |
+=======+=================+=====================+====+===================+===============+
| Coins | 2d6 × 100 (700) | 2d6 × 1,000 (7,000) | | 6d6 × 100 (2,100) | 3d6 × 10 (105 |
+-------+-----------------+---------------------+----+-------------------+---------------+
+-------+----------------------------+---------------------------------------+
| d100 | Gems or Art 0bjects | Magic Items |
+=======+============================+=======================================+
| 0104 | | – |
+-------+----------------------------+---------------------------------------+
| 0510 | 2d4 (5) 25 gp art objects | |
+-------+----------------------------+---------------------------------------+
| 1116 | 3d6 (10) 50 gp gems | |
+-------+----------------------------+---------------------------------------+
| 1722 | 3d6 (10) 100 gp gems | |
+-------+----------------------------+---------------------------------------+
| 2328 | 2d4 (5) 250 gp art objects | |
+-------+----------------------------+---------------------------------------+
| 2932 | 2d4 (5) 25 gp art objects | Roll 1d6 times on Magic Item Table A. |
+-------+----------------------------+---------------------------------------+
| 3336 | 3d6 (10) 50 gp gems | Roll 1d6 times on Magic Item Table A. |
+-------+----------------------------+---------------------------------------+
| 3740 | 3d6 (10) 100 gp gems | Roll 1d6 times on Magic Item Table A. |
+-------+----------------------------+---------------------------------------+
| 4144 | 2d4 (5) 250 gp art objects | Roll 1d6 times on Magic Item Table A. |
+-------+----------------------------+---------------------------------------+
| 4549 | 2d4 (5) 25 gp art objects | Roll 1d4 times on Magic Item Table B. |
+-------+----------------------------+---------------------------------------+
| 5054 | 3d6 (10) 50 gp gems | Roll 1d4 times on Magic Item Table B. |
+-------+----------------------------+---------------------------------------+
| 5559 | 3d6 (10) 100 gp gems | Roll 1d4 times on Magic Item Table B. |
+-------+----------------------------+---------------------------------------+
| 6063 | 2d4 (5) 250 gp art objects | Roll 1d4 times on Magic Item Table B. |
+-------+----------------------------+---------------------------------------+
| 6466 | 2d4 (5) 25 gp art objects | Roll 1d4 times on Magic Item Table C. |
+-------+----------------------------+---------------------------------------+
| 6769 | 3d6 (10) 50 gp gems | Roll 1d4 times on Magic Item Table C. |
+-------+----------------------------+---------------------------------------+
| 7072 | 3d6 (10) 100 gp gems | Roll 1d4 times on Magic Item Table C. |
+-------+----------------------------+---------------------------------------+
| 7374 | 2d4 (5) 250 gp art objects | Roll 1d4 times on Magic Item Table C. |
+-------+----------------------------+---------------------------------------+
| 7576 | 2d4 (5) 25 gp art objects | Roll once on Magic Item Table D. |
+-------+----------------------------+---------------------------------------+
| 7778 | 3d6 (10) 50 gp gems | Roll once on Magic Item Table D. |
+-------+----------------------------+---------------------------------------+
| 79 | 3d6 (10) 100 gp gems | Roll once on Magic I tem Table D. |
+-------+----------------------------+---------------------------------------+
| 80 | 2d4 (5) 250 gp art objects | Roll once on Magic Item Table D. |
+-------+----------------------------+---------------------------------------+
| 8184 | 2d4 (5) 25 gp art objects | Roll 1d4 times on Magic Item Table F. |
+-------+----------------------------+---------------------------------------+
| 8588 | 3d6 (10) 50 gp gems | Roll 1d4 times on Magic Item Table F. |
+-------+----------------------------+---------------------------------------+
| 8991 | 3d6 (10) 100 gp gems | Roll 1d4 times on Magic Item Table F. |
+-------+----------------------------+---------------------------------------+
| 9294 | 2d4 (5) 250 gp art objects | Roll 1d4 times on Magic Item Table F. |
+-------+----------------------------+---------------------------------------+
| 9596 | 3d6 (10) 100 gp gems | Roll 1d4 times on Magic Item Table G. |
+-------+----------------------------+---------------------------------------+
| 9798 | 2d4 (5) 250 gp art objects | Roll 1d4 times on Magic Item Table G. |
+-------+----------------------------+---------------------------------------+
| 99 | 3d6 (10) 100 gp gems | Roll once on Magic Item Table H. |
+-------+----------------------------+---------------------------------------+
| 00 | 2d4 (5) 250 gp art objects | Roll once on Magic Item Table H. |
+-------+----------------------------+---------------------------------------+
"""
name = "Treasure Hoard: Challenge 510"
class HoardTreasure11To16(RandomTable):
"""
+-------+----+----+----+-------------------+------------------+
| | CP | SP | EP | GP | PP |
+=======+====+====+====+===================+==================+
| Coins | | | | 4d6 × 1000 (1400) | 5d6 × 100 (1750) |
+-------+----+----+----+-------------------+------------------+
+-------+----------------------------+---------------------------------------------------------------------------+
| d100 | Gems or Art Objects | Magic Items |
+=======+============================+===========================================================================+
| 0103 | | – |
+-------+----------------------------+---------------------------------------------------------------------------+
| 0406 | 2d4 (5) 250 gp art objects | |
+-------+----------------------------+---------------------------------------------------------------------------+
| 0710 | 2d4 (5) 750 gp art objects | |
+-------+----------------------------+---------------------------------------------------------------------------+
| 1112 | 3d6 (10) 500 gp gems | |
+-------+----------------------------+---------------------------------------------------------------------------+
| 1315 | 3d6 (10) 1,000 gp gems | |
+-------+----------------------------+---------------------------------------------------------------------------+
| 1619 | 2d4 (5) 250 gp art objects | Roll 1d4 times on Magic Item Table A and 1d6 times on Magic Item Table B. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 2023 | 2d4 (5) 750 gp art objects | Roll 1d4 times on Magic Item Table A and 1d6 times on Magic Item Table B. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 2426 | 3d6 (10) 500 gp gems | Roll 1d4 times on Magic Item Table A and 1d6 times on Magic Item Table B. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 2729 | 3d6 (10) 1,000 gp gems | Roll 1d4 times on Magic Item Table A and 1d6 times on Magic Item Table B. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 3035 | 2d4 (5) 250 gp art objects | Roll 1d6 times on Magic Item Table C. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 3640 | 2d4 (5) 750 gp art objects | Roll 1d6 times on Magic Item Table C. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 4145 | 3d6 (10) 500 gp gems | Roll 1d6 times on Magic Item Table C. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 4650 | 3d6 (10) 1,000 gp gems | Roll 1d6 times on Magic Item Table C. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 5154 | 2d4 (5) 250 gp art objects | Roll 1d4 times on Magic Item Table D |
+-------+----------------------------+---------------------------------------------------------------------------+
| 5558 | 2d4 (5) 750 gp art objects | Roll 1d4 times on Magic Item Table D. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 5962 | 3d6 (10) 500 gp gems | Roll 1d4 times on Magic Item Table D. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 6366 | 3d6 (10) 1,000 gp gems | Roll 1d4 times on Magic Item Table D. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 6768 | 2d4 (5) 250 gp art objects | Roll once on Magic Item Table E. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 6970 | 2d4 (5) 750 gp art objects | Roll once on Magic Item Table E. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 7172 | 3d6 (10) 500 gp gems | Roll once on Magic Item Table E. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 7374 | 3d6 (10) 1,000 gp gems | Roll once on Magic Item Table E. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 7576 | 2d4 (5) 250 gp art objects | Roll once on Magic Item Table F and 1d4 times on Magic Item Table G. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 7778 | 2d4 (5) 750 gp art objects | Roll once on Magic Item Table F and 1d4 times on Magic Item Table G. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 7980 | 3d6 (10) 500 gp gems | Roll once on Magic Item Table F and 1d4 times on Magic Item Table G. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 8182 | 3d6 (1 0) 1,000 gp gems | Roll once on Magic Item Table F and 1d4 times on Magic Item Table G. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 8385 | 2d4 (5) 250 gp art objects | Roll1d4 times on Magic Item Table H. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 8688 | 2d4 (5) 750 gp art objects | Roll 1d4 times on Magic Item Table H. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 8990 | 3d6 (10) 500 gp gems | Roll 1d4 times on Magic Item Table H. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 9192 | 3d6 (10) 1,000 gp gems | Roll 1d4 times on Magic Item Table H. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 9394 | 2d4 (5) 250 gp art objects | Roll once on Magic Item Table I. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 9596 | 3d6 (10) 500 gp gems | Roll once on Magic Item Table I. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 9798 | 3d6 (10) 1,000 gp gems | Roll once on Magic Item Table I. |
+-------+----------------------------+---------------------------------------------------------------------------+
| 9900 | 3d6 (10) 1,000 gp gems | Roll once on Magic Item Table I. |
+-------+----------------------------+---------------------------------------------------------------------------+
"""
name = "Treasure Hoard: Challenge 1116"
class HoardTreasure17Plus(RandomTable):
"""
+-------+----+----+----+---------------------+--------------------+
| | CP | SP | EP | GP | PP |
+=======+====+====+====+=====================+====================+
| Coins | | | | 12d6 X 1000 (42000) | 8d6 x 1000 (28000) |
+-------+----+----+----+---------------------+--------------------+
+--------+-------------------------------+----------------------------------------------------------------------+
| d100 | Gems or Art Objects | Magic Items |
+========+===============================+======================================================================+
| 0102 | | – |
+--------+-------------------------------+----------------------------------------------------------------------+
| 0305 | 3d6 (10) 1, 000 gp gems | Roll 1d8 times on Magic Item Table C. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 0608 | 1d10 (5) 2,500 gp art objects | Roll 1d8 times on Magic Item Table C. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 0911 | 1d4 (2) 7,500 gp art objects | Roll 1d8 times on Magic Item Table C. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 1214 | 1d8 (4) 5,000 gp gems | Roll 1d8 times on Magic Item Table C. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 1522 | 3d6 (10) 1,000 gp gems | Roll 1d6 times on Magic Item Table D. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 2330 | 1dl0 (5) 2,500 gp art objects | Roll 1d6 times on Magic Item Table D. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 3138 | 1d4 (2) 7, 500 gp art objects | Roll 1d6 times on Magic Item Table D. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 3946 | 1d8 (4) 5,000 gp gems | Roll 1d6 times on Magic Item Table D |
+--------+-------------------------------+----------------------------------------------------------------------+
| 4752 | 3d6 (10) 1,000 gp gems | Roll 1d6 times on Magic Item Table E. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 5358 | 1d10 (5) 2,500 gp art objects | Roll1d6 times on Magic Item Table E. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 5963 | 1d4 (2) 7,500 gp art objects | Roll 1d6 times on Magic Item Table E. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 6468 | 1d8 (4) 5, 000 gp gems | Roll 1d6 times on Magic Item Table E. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 69 | 3d6 (1 0) 1,000 gp gems | Roll 1d4 times on Magic Item Table G. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 70 | 1d10 (5) 2,500 gp art objects | Roll 1d4 times on Magic Item Table G. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 71 | 1d4 (2) 7,500 gp art objects | Roll1d4 times on Magic Item Table G. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 72 | 1d8 (4) 5,000 gp gems | Roll 1d4 times on Magic Item Table G. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 7374 | 3d6 (10) 1,000 gp gems | Roll 1d4 times on Magic Item Table H. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 7576 | ld10 (5) 2,500 gp art objects | Roll 1d4 times on Magic Item Table H. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 7778 | 1d4 (2) 7,500 gp art objects | Roll 1d4 times on Magic Item Table H. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 7980 | 1d8 (4) 5,000 gp gems | Roll 1d4 times on Magic Item Table H. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 8185 | 3d6 (10) 1,000 gp gems | Roll 1d4 times on Magic Item Table I. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 8690 | 1d10 (5) 2,500 gp art objects | Roll 1d4 times on Magic Item Table I. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 9195 | ld4 (2) 7,500 gp art objects | Roll once on Magic Item Table F and 1d4 times on Magic Item Table G. |
+--------+-------------------------------+----------------------------------------------------------------------+
| 96100 | 1d8 (4) 5,000 gp gems | Roll 1d4 times on Magic Item Table I. |
+--------+-------------------------------+----------------------------------------------------------------------+
"""
name = "Treasure Hoard: Challenge 17+"
class MagicItemTableA(RandomTable):
"""
+-------+---------------------------+
| d100 | Magic Item |
+=======+===========================+
| 0150 | Potion of healing |
+-------+---------------------------+
| 5160 | Spell scroll (cantrip) |
+-------+---------------------------+
| 6170 | Potion of climbing |
+-------+---------------------------+
| 7190 | Spell scroll (1st level) |
+-------+---------------------------+
| 9194 | Spell scroll (2nd level) |
+-------+---------------------------+
| 9598 | Potion of greater healing |
+-------+---------------------------+
| 99 | Bag of holding |
+-------+---------------------------+
| 00 | Driftglobe |
+-------+---------------------------+
"""
name = "Magic Item Table A"
class MagicItemTableB(RandomTable):
"""
+-------+---------------------------------+
| d100 | Magic Item |
+=======+=================================+
| 0115 | Potion of greater healing |
+-------+---------------------------------+
| 1622 | Potion of fire breath |
+-------+---------------------------------+
| 2329 | Potion of resistance |
+-------+---------------------------------+
| 3034 | Ammunition, +1 |
+-------+---------------------------------+
| 3539 | Potion of animal friendship |
+-------+---------------------------------+
| 4044 | Potion of hill giant strength |
+-------+---------------------------------+
| 4549 | Potion of growth |
+-------+---------------------------------+
| 5054 | Potion of water breathing |
+-------+---------------------------------+
| 5559 | Spell scroll (2nd level) |
+-------+---------------------------------+
| 6064 | Spell scroll (3rd level) |
+-------+---------------------------------+
| 6567 | Bag of holding |
+-------+---------------------------------+
| 6870 | Keoghtom's ointment |
+-------+---------------------------------+
| 7173 | Oil of slipperiness |
+-------+---------------------------------+
| 7475 | Dust of disappearance |
+-------+---------------------------------+
| 7677 | Dust of dryness |
+-------+---------------------------------+
| 7879 | Dust of sneezing and choking |
+-------+---------------------------------+
| 8081 | Elemental gem |
+-------+---------------------------------+
| 8283 | Philter of love |
+-------+---------------------------------+
| 84 | Alchemy jug |
+-------+---------------------------------+
| 85 | Cap of water breathing |
+-------+---------------------------------+
| 86 | Cloak of the manta ray |
+-------+---------------------------------+
| 87 | Driftglobe |
+-------+---------------------------------+
| 88 | Goggles of night |
+-------+---------------------------------+
| 89 | Helm of comprehending languages |
+-------+---------------------------------+
| 90 | Immovable rod |
+-------+---------------------------------+
| 91 | Lantern of revealing |
+-------+---------------------------------+
| 92 | Mariner's armor |
+-------+---------------------------------+
| 93 | Mithral armor |
+-------+---------------------------------+
| 94 | Potion of poison |
+-------+---------------------------------+
| 95 | Ring of swimming |
+-------+---------------------------------+
| 96 | Robe of useful items |
+-------+---------------------------------+
| 97 | Rope of climbing |
+-------+---------------------------------+
| 98 | Saddle of the cavalier |
+-------+---------------------------------+
| 99 | Wand of magic detection |
+-------+---------------------------------+
| 100 | Wand of secrets |
+-------+---------------------------------+
"""
name = "Magic Item Table B"
class MagicItemTableC(RandomTable):
"""
+-------+--------------------------------+
| d100 | Magic Item |
+=======+================================+
| 0115 | Potion of superior healing |
+-------+--------------------------------+
| 1622 | Spell scroll (4thlevel) |
+-------+--------------------------------+
| 2327 | Ammunition, +2 |
+-------+--------------------------------+
| 2832 | Potion of clairvoyance |
+-------+--------------------------------+
| 3337 | Potion of diminution |
+-------+--------------------------------+
| 3842 | Potion of gaseous form |
+-------+--------------------------------+
| 4347 | Potion of frost giant strength |
+-------+--------------------------------+
| 4852 | Potion of stone giant strength |
+-------+--------------------------------+
| 5357 | Potion of heroism |
+-------+--------------------------------+
| 5862 | Potion of invulnerability |
+-------+--------------------------------+
| 6367 | Potion of mind reading |
+-------+--------------------------------+
| 6872 | Spell scroll (5thlevel) |
+-------+--------------------------------+
| 7375 | Elixir of health |
+-------+--------------------------------+
| 7678 | Oil of etherealness |
+-------+--------------------------------+
| 7981 | Potion of fire giant strength |
+-------+--------------------------------+
| 8284 | Quaal's feather token |
+-------+--------------------------------+
| 8587 | Scroll of protection |
+-------+--------------------------------+
| 8889 | Bag of beans |
+-------+--------------------------------+
| 90-91 | Bead of force |
+-------+--------------------------------+
| 92 | Chime of opening |
+-------+--------------------------------+
| 93 | Decanter of endless water |
+-------+--------------------------------+
| 94 | Eyes of minute seeing |
+-------+--------------------------------+
| 95 | Folding boat |
+-------+--------------------------------+
| 96 | Heward's handy haversack |
+-------+--------------------------------+
| 97 | Horseshoes of speed |
+-------+--------------------------------+
| 98 | Necklace of fireballs |
+-------+--------------------------------+
| 99 | Periapt of health |
+-------+--------------------------------+
| 100 | Sending Stones |
+-------+--------------------------------+
"""
name = "Magic Item Table C"
class MagicItemTableD(RandomTable):
"""
+-------+--------------------------------+
| d100 | Magic Item |
+=======+================================+
| 0120 | Potion of supreme healing |
+-------+--------------------------------+
| 2130 | Potion of invisibility |
+-------+--------------------------------+
| 3140 | Potion of speed |
+-------+--------------------------------+
| 4150 | Spell scroll (6thlevel) |
+-------+--------------------------------+
| 5157 | Spell scroll (7thlevel) |
+-------+--------------------------------+
| 5862 | Ammunition, +3 |
+-------+--------------------------------+
| 6367 | Oil of sharpness |
+-------+--------------------------------+
| 6872 | Potion of flying |
+-------+--------------------------------+
| 7377 | Potion of cloud giant strength |
+-------+--------------------------------+
| 7882 | Potion of longevity |
+-------+--------------------------------+
| 8387 | Potion of vitality |
+-------+--------------------------------+
| 8892 | Spell scroll (8thlevel) |
+-------+--------------------------------+
| 9395 | Horseshoes of a zephyr |
+-------+--------------------------------+
| 9698 | Nolzur's marvelous pigments |
+-------+--------------------------------+
| 99 | Bag of devouring |
+-------+--------------------------------+
| 100 | Portable hole |
+-------+--------------------------------+
"""
name = "Magic Item Table D"
class MagicItemTableE(RandomTable):
"""
+--------+--------------------------------+
| d100 | Magic Item |
+========+================================+
| 0130 | Spell scroll (8thlevel) |
+--------+--------------------------------+
| 3155 | Potion of storm giant strength |
+--------+--------------------------------+
| 5670 | Poti on of supreme healing |
+--------+--------------------------------+
| 7185 | Spell scroll (9st level) |
+--------+--------------------------------+
| 8693 | Universal solvent |
+--------+--------------------------------+
| 9498 | Arrow of slaying |
+--------+--------------------------------+
| 99-100 | Sovereign glue |
+--------+--------------------------------+
"""
name = "Magic Item Table E"
class MagicItemTableF(RandomTable):
"""
+-------+------------------------------------------------+
| d100 | Magic Item |
+=======+================================================+
| 0115 | Weapon, +1 |
+-------+------------------------------------------------+
| 1618 | Shield,+ 1 |
+-------+------------------------------------------------+
| 1921 | Sentinel shield |
+-------+------------------------------------------------+
| 2223 | Amulet of proof against detection and location |
+-------+------------------------------------------------+
| 2425 | Boots of elvenkind |
+-------+------------------------------------------------+
| 2627 | Boots of striding and springing |
+-------+------------------------------------------------+
| 2729 | Bracers of archery |
+-------+------------------------------------------------+
| 3031 | Brooch of shielding |
+-------+------------------------------------------------+
| 3233 | Broom of flying |
+-------+------------------------------------------------+
| 3435 | Cloak of elvenkind |
+-------+------------------------------------------------+
| 3637 | Cloak of protection |
+-------+------------------------------------------------+
| 3839 | Gauntlets of ogre power |
+-------+------------------------------------------------+
| 4041 | Hat of disguise |
+-------+------------------------------------------------+
| 4243 | Javelin of lightning |
+-------+------------------------------------------------+
| 4445 | Pearl of power |
+-------+------------------------------------------------+
| 4647 | Rod of the pact keeper, + 1 |
+-------+------------------------------------------------+
| 4849 | Slippers of spider climbing |
+-------+------------------------------------------------+
| 5051 | Staff of the adder |
+-------+------------------------------------------------+
| 52-53 | Staff of the python |
+-------+------------------------------------------------+
| 54-55 | Sword of vengeance |
+-------+------------------------------------------------+
| 5657 | Trident of fish command |
+-------+------------------------------------------------+
| 5859 | Wand of magic missiles |
+-------+------------------------------------------------+
| 6061 | Wand of the war mage, + 1 |
+-------+------------------------------------------------+
| 6263 | Wand of web |
+-------+------------------------------------------------+
| 64-65 | Weapon of warning |
+-------+------------------------------------------------+
| 66 | Adamantine armor (chain mail) |
+-------+------------------------------------------------+
| 67 | Adamantine armor (chain shirt) |
+-------+------------------------------------------------+
| 68 | Adamantine armor (scale mail) |
+-------+------------------------------------------------+
| 69 | Bag of tricks (gray) |
+-------+------------------------------------------------+
| 70 | Bag of tricks (rust) |
+-------+------------------------------------------------+
| 71 | Bag of tricks (tan) |
+-------+------------------------------------------------+
| 72 | Boots of the winterlands |
+-------+------------------------------------------------+
| 73 | Circlet of blasting |
+-------+------------------------------------------------+
| 74 | Deck of illusions |
+-------+------------------------------------------------+
| 75 | Eversmoking bottle |
+-------+------------------------------------------------+
| 76 | Eyes of charming |
+-------+------------------------------------------------+
| 77 | Eyes of the eagle |
+-------+------------------------------------------------+
| 78 | Figurine of wondrous power (silver raven) |
+-------+------------------------------------------------+
| 79 | Gem of brightness |
+-------+------------------------------------------------+
| 80 | Gloves of missile snaring |
+-------+------------------------------------------------+
| 81 | Gloves of swimming and climbing |
+-------+------------------------------------------------+
| 82 | Gloves of thievery |
+-------+------------------------------------------------+
| 83 | Headband of intellect |
+-------+------------------------------------------------+
| 84 | Helm of telepathy |
+-------+------------------------------------------------+
| 85 | Instrument of the bards (Doss lute) |
+-------+------------------------------------------------+
| 86 | Instrument of the bards (Fochlucan bandore) |
+-------+------------------------------------------------+
| 87 | Instrument of the bards (Mac-Fuimidh cittern) |
+-------+------------------------------------------------+
| 88 | Medallion of thoughts |
+-------+------------------------------------------------+
| 89 | Necklace of adaptation |
+-------+------------------------------------------------+
| 90 | Periapt of wound closure |
+-------+------------------------------------------------+
| 91 | Pipes of haunting |
+-------+------------------------------------------------+
| 92 | Pipes of the sewers |
+-------+------------------------------------------------+
| 93 | Ring of jumping |
+-------+------------------------------------------------+
| 94 | Ring of mind shielding |
+-------+------------------------------------------------+
| 95 | Ring of warmth |
+-------+------------------------------------------------+
| 96 | Ring of water walking |
+-------+------------------------------------------------+
| 97 | Quiver of Ehlonna |
+-------+------------------------------------------------+
| 98 | Stone of good luck |
+-------+------------------------------------------------+
| 99 | Wind fan |
+-------+------------------------------------------------+
| 100 | Winged boots |
+-------+------------------------------------------------+
"""
name = "Magic Item Table F"
class MagicItemTableG(RandomTable):
""""
+-------+-------------------------------------------+
| d100 | Magic Item |
+=======+===========================================+
| 0111 | Weapon, +2 |
+-------+-------------------------------------------+
| 1214 | Figurine of wondrous power (roll d8) |
+-------+-------------------------------------------+
| - | 1: Bronze griffon |
+-------+-------------------------------------------+
| - | 2: Ebony fly |
+-------+-------------------------------------------+
| - | 3: Golden lions |
+-------+-------------------------------------------+
| - | 4: Ivory goats |
+-------+-------------------------------------------+
| - | 5: Marble elephant |
+-------+-------------------------------------------+
| - | 6-7: Onyx dog |
+-------+-------------------------------------------+
| - | 8: Serpentine owl |
+-------+-------------------------------------------+
| 15 | Adamantine armor (breastplate) |
+-------+-------------------------------------------+
| 16 | Adamantine armor (splint) |
+-------+-------------------------------------------+
| 17 | Amulet of health |
+-------+-------------------------------------------+
| 18 | Armor of vulnerability |
+-------+-------------------------------------------+
| 19 | Arrow-catching shield |
+-------+-------------------------------------------+
| 20 | Belt of dwarvenkind |
+-------+-------------------------------------------+
| 21 | Belt of hill giant strength |
+-------+-------------------------------------------+
| 22 | Berserker axe |
+-------+-------------------------------------------+
| 23 | Boots of levitation |
+-------+-------------------------------------------+
| 24 | Boots of speed |
+-------+-------------------------------------------+
| 25 | Bowl of commanding water elementals |
+-------+-------------------------------------------+
| 26 | Bracers of defense |
+-------+-------------------------------------------+
| 27 | Brazier of commanding fire elementals |
+-------+-------------------------------------------+
| 28 | Cape of the mountebank |
+-------+-------------------------------------------+
| 29 | Censer of controlling air elementals |
+-------+-------------------------------------------+
| 30 | Armor, +1 chain mail |
+-------+-------------------------------------------+
| 31 | Armor of resistance (chain mail) |
+-------+-------------------------------------------+
| 32 | Armor of resistance (chain shirt) |
+-------+-------------------------------------------+
| 33 | Armor,+ 1 chain shirt |
+-------+-------------------------------------------+
| 34 | Cloak of displacement |
+-------+-------------------------------------------+
| 35 | Cloak of the bat |
+-------+-------------------------------------------+
| 36 | Cube of force |
+-------+-------------------------------------------+
| 37 | Daern's instant fortress |
+-------+-------------------------------------------+
| 38 | Dagger of venom |
+-------+-------------------------------------------+
| 39 | Dimensional shackles |
+-------+-------------------------------------------+
| 40 | Dragon slayer |
+-------+-------------------------------------------+
| 41 | Elven chain |
+-------+-------------------------------------------+
| 42 | Flame tongue |
+-------+-------------------------------------------+
| 43 | Gem of seeing |
+-------+-------------------------------------------+
| 44 | Giant slayer |
+-------+-------------------------------------------+
| 45 | Clamoured studded leather |
+-------+-------------------------------------------+
| 46 | Helm of teleportation |
+-------+-------------------------------------------+
| 47 | Horn of blasting |
+-------+-------------------------------------------+
| 48 | Horn of Valhalla (silver or brass) |
+-------+-------------------------------------------+
| 49 | Instrument of the bards (Canaithmandolin) |
+-------+-------------------------------------------+
| 50 | Instrument ofthe bards (Cii lyre) |
+-------+-------------------------------------------+
| 51 | loun stone (awareness) |
+-------+-------------------------------------------+
| 52 | loun stone (protection) |
+-------+-------------------------------------------+
| 53 | loun stone (reserve) |
+-------+-------------------------------------------+
| 54 | loun stone (sustenance) |
+-------+-------------------------------------------+
| 55 | Iron bands of Bilarro |
+-------+-------------------------------------------+
| 56 | Armor, + 1 leather |
+-------+-------------------------------------------+
| 57 | Armor of resistance (leather) |
+-------+-------------------------------------------+
| 58 | Mace of disruption |
+-------+-------------------------------------------+
| 59 | Mace of smiting |
+-------+-------------------------------------------+
| 60 | Mace of terror |
+-------+-------------------------------------------+
| 61 | Mantle of spell resistance |
+-------+-------------------------------------------+
| 62 | Necklace of prayer beads |
+-------+-------------------------------------------+
| 63 | Periapt of proof against poison |
+-------+-------------------------------------------+
| 64 | Ring of animal influence |
+-------+-------------------------------------------+
| 65 | Ring of evasion |
+-------+-------------------------------------------+
| 66 | Ring of feather falling |
+-------+-------------------------------------------+
| 67 | Ring of free action |
+-------+-------------------------------------------+
| 68 | Ring of protection |
+-------+-------------------------------------------+
| 69 | Ring of resistance |
+-------+-------------------------------------------+
| 70 | Ring of spell storing |
+-------+-------------------------------------------+
| 71 | Ring of the ram |
+-------+-------------------------------------------+
| 72 | Ring of X-ray vision |
+-------+-------------------------------------------+
| 73 | Robe of eyes |
+-------+-------------------------------------------+
| 74 | Rod of rulership |
+-------+-------------------------------------------+
| 75 | Rod of the pact keeper, +2 |
+-------+-------------------------------------------+
| 76 | Rope of entanglement |
+-------+-------------------------------------------+
| 77 | Armor, +1 scale mail |
+-------+-------------------------------------------+
| 78 | Armor of resistance (scale mail) |
+-------+-------------------------------------------+
| 79 | Shield, +2 |
+-------+-------------------------------------------+
| 80 | Shield of missile attraction |
+-------+-------------------------------------------+
| 81 | Staff of charming |
+-------+-------------------------------------------+
| 82 | Staff of healing |
+-------+-------------------------------------------+
| 83 | Staff of swarming insects |
+-------+-------------------------------------------+
| 84 | Staff of the woodlands |
+-------+-------------------------------------------+
| 85 | Staff of withering |
+-------+-------------------------------------------+
| 86 | Stone of controlling earthelementals |
+-------+-------------------------------------------+
| 87 | Sun blade |
+-------+-------------------------------------------+
| 88 | Sword of life stealing |
+-------+-------------------------------------------+
| 89 | Sword of wounding |
+-------+-------------------------------------------+
| 90 | Tentacle rod |
+-------+-------------------------------------------+
| 91 | Vicious weapon |
+-------+-------------------------------------------+
| 92 | Wand of binding |
+-------+-------------------------------------------+
| 93 | Wand of enemy detection |
+-------+-------------------------------------------+
| 94 | Wand of fear |
+-------+-------------------------------------------+
| 95 | Wand of fireballs |
+-------+-------------------------------------------+
| 96 | Wand of lightning bolts |
+-------+-------------------------------------------+
| 97 | Wand of paralysis |
+-------+-------------------------------------------+
| 98 | Wand of the war mage, +2 |
+-------+-------------------------------------------+
| 99 | Wand of wonder |
+-------+-------------------------------------------+
| 100 | Wings of flying |
+-------+-------------------------------------------+
"""
name = "Magic Item Table G"
class MagicItemTableH(RandomTable):
"""
+-------+---------------------------------------------+
| d100 | Magic Item |
+=======+=============================================+
| 0110 | Weapon, +3 |
+-------+---------------------------------------------+
| 1112 | Amulet of the planes |
+-------+---------------------------------------------+
| 1314 | Carpet of flying |
+-------+---------------------------------------------+
| 1516 | Crystal ball (very rare version) |
+-------+---------------------------------------------+
| 1718 | Ring of regeneration |
+-------+---------------------------------------------+
| 1920 | Ring of shooting stars |
+-------+---------------------------------------------+
| 2122 | Ring of telekinesis |
+-------+---------------------------------------------+
| 2324 | Robe of scintillating colors |
+-------+---------------------------------------------+
| 2526 | Robe of stars |
+-------+---------------------------------------------+
| 2728 | Rod of absorption |
+-------+---------------------------------------------+
| 2930 | Rod of alertness |
+-------+---------------------------------------------+
| 3132 | Rod of security |
+-------+---------------------------------------------+
| 3334 | Rod of the pact keeper, +3 |
+-------+---------------------------------------------+
| 3536 | Scimitar of speed |
+-------+---------------------------------------------+
| 3738 | Shield, +3 |
+-------+---------------------------------------------+
| 3940 | Staff of fire |
+-------+---------------------------------------------+
| 4142 | Staff of frost |
+-------+---------------------------------------------+
| 4344 | Staff of power |
+-------+---------------------------------------------+
| 45-46 | Staff of striking |
+-------+---------------------------------------------+
| 47-48 | Staff of thunder and lightning |
+-------+---------------------------------------------+
| 4950 | Sword of sharpnes |
+-------+---------------------------------------------+
| 5152 | Wand of polymorph |
+-------+---------------------------------------------+
| 5354 | Wand of the war mage, + 3 |
+-------+---------------------------------------------+
| 55 | Adamantine armor (half plate) |
+-------+---------------------------------------------+
| 56 | Adamantine armor (plate) |
+-------+---------------------------------------------+
| 57 | Animated shield |
+-------+---------------------------------------------+
| 58 | Belt of fire giant strength |
+-------+---------------------------------------------+
| 59 | Belt of frost (or stone) giant strength |
+-------+---------------------------------------------+
| 60 | Armor, + 1 breastplate |
+-------+---------------------------------------------+
| 61 | Armor of resistance (breastplate) |
+-------+---------------------------------------------+
| 62 | Candle of invocation |
+-------+---------------------------------------------+
| 63 | Armor, +2 chain mail |
+-------+---------------------------------------------+
| 64 | Armor, +2 chain shirt |
+-------+---------------------------------------------+
| 65 | Cloak of arachnida |
+-------+---------------------------------------------+
| 66 | Dancing sword |
+-------+---------------------------------------------+
| 67 | Demon armor |
+-------+---------------------------------------------+
| 68 | Dragon scale mail |
+-------+---------------------------------------------+
| 69 | Dwarven plate |
+-------+---------------------------------------------+
| 70 | Dwarven thrower |
+-------+---------------------------------------------+
| 71 | Efreeti bottle |
+-------+---------------------------------------------+
| 72 | Figurine of wondrous power (obsidian steed) |
+-------+---------------------------------------------+
| 73 | Frost brand |
+-------+---------------------------------------------+
| 74 | Helm of brilliance |
+-------+---------------------------------------------+
| 75 | Horn ofValhalla (bronze) |
+-------+---------------------------------------------+
| 76 | Instrument of the bards (Anstruthharp) |
+-------+---------------------------------------------+
| 77 | loun stone (absorption) |
+-------+---------------------------------------------+
| 78 | loun stone (agility) |
+-------+---------------------------------------------+
| 79 | loun stone (fortitude) |
+-------+---------------------------------------------+
| 80 | loun stone (insight) |
+-------+---------------------------------------------+
| 81 | loun stone (intellect) |
+-------+---------------------------------------------+
| 82 | loun stone (leadership) |
+-------+---------------------------------------------+
| 83 | loun stone (strength) |
+-------+---------------------------------------------+
| 84 | Armor, +2 leather |
+-------+---------------------------------------------+
| 85 | Manual of bodily health |
+-------+---------------------------------------------+
| 86 | Manual of gainful exercise |
+-------+---------------------------------------------+
| 87 | Manual of golems |
+-------+---------------------------------------------+
| 88 | Manual of quickness of action |
+-------+---------------------------------------------+
| 89 | Mirror of life trapping |
+-------+---------------------------------------------+
| 90 | Nine lives stealer |
+-------+---------------------------------------------+
| 91 | Oathbow |
+-------+---------------------------------------------+
| 92 | Armor, +2 scale mail |
+-------+---------------------------------------------+
| 93 | Spellguard shield |
+-------+---------------------------------------------+
| 94 | Armor, + 1 splint |
+-------+---------------------------------------------+
| 95 | Armor of resistance (splint) |
+-------+---------------------------------------------+
| 96 | Armor, + 1 studded leather |
+-------+---------------------------------------------+
| 97 | Armor of resistance (studded leather) |
+-------+---------------------------------------------+
| 98 | Tome of clear thought |
+-------+---------------------------------------------+
| 99 | Tome of leadership and influence |
+-------+---------------------------------------------+
| 100 | Tome of understanding |
+-------+---------------------------------------------+
"""
name = "Magic Item Table H"
class MagicItemTableI(RandomTable):
"""
+-------+---------------------------------------+
| d100 | Magic Item |
+=======+=======================================+
| 0105 | Defender |
+-------+---------------------------------------+
| 0610 | Hammer of thunderbolts |
+-------+---------------------------------------+
| 1115 | Luck Blade |
+-------+---------------------------------------+
| 1620 | Sword of answering |
+-------+---------------------------------------+
| 2123 | Holy avenger |
+-------+---------------------------------------+
| 2426 | Ring of djinni summoning |
+-------+---------------------------------------+
| 2729 | Ring of invisibility |
+-------+---------------------------------------+
| 3032 | Ring of spell turning |
+-------+---------------------------------------+
| 3638 | Rod of lordly might |
+-------+---------------------------------------+
| 3941 | Vorpal sword |
+-------+---------------------------------------+
| 4243 | Belt of cloud giant strength |
+-------+---------------------------------------+
| 4445 | Armor, +2 breastplate |
+-------+---------------------------------------+
| 4647 | Armor, +3 chain mail |
+-------+---------------------------------------+
| 4849 | Armor, +3 chain shirt |
+-------+---------------------------------------+
| 5051 | Cloak of invisibility |
+-------+---------------------------------------+
| 5253 | Crystal ball (legendary version) |
+-------+---------------------------------------+
| 54-55 | Armor, + 1 half plate |
+-------+---------------------------------------+
| 56-57 | Iron flask |
+-------+---------------------------------------+
| 58-59 | Armor, +3 leather |
+-------+---------------------------------------+
| 60-61 | Armor, +1 plate |
+-------+---------------------------------------+
| 62-63 | Robe of the archmagi |
+-------+---------------------------------------+
| 64-65 | Rod of resurrection |
+-------+---------------------------------------+
| 66-67 | Armor, +1 scale mail |
+-------+---------------------------------------+
| 68-69 | Scarab of protection |
+-------+---------------------------------------+
| 70-71 | Armor, +2 splint |
+-------+---------------------------------------+
| 72-73 | Armor, +2 studded leather |
+-------+---------------------------------------+
| 74-75 | Well of many worlds |
+-------+---------------------------------------+
| 76 | Magic armor (roll dl2) |
+-------+---------------------------------------+
| - | 1-2: Armor, +2 half plate |
+-------+---------------------------------------+
| - | 3-4: Armor, +2 plate |
+-------+---------------------------------------+
| - | 5-6: Armor, +3 studded leather |
+-------+---------------------------------------+
| - | 7-8: Armor, +3 breastplate |
+-------+---------------------------------------+
| - | 9-10: Armor, +3 splint |
+-------+---------------------------------------+
| - | 11: Armor, +3 half plate |
+-------+---------------------------------------+
| - | 12: Armor, +3 plate |
+-------+---------------------------------------+
| 77 | Apparatus of Kwalish |
+-------+---------------------------------------+
| 78 | Armor of invulnerability |
+-------+---------------------------------------+
| 79 | Belt of storm giant strength |
+-------+---------------------------------------+
| 80 | Cubic gate |
+-------+---------------------------------------+
| 81 | Deck of many things |
+-------+---------------------------------------+
| 82 | Efreeti chain |
+-------+---------------------------------------+
| 83 | Armor of resistance (half plate) |
+-------+---------------------------------------+
| 84 | Horn ofValhalla (iron) |
+-------+---------------------------------------+
| 85 | Instrument of the bards (OIIamh harp) |
+-------+---------------------------------------+
| 86 | loun stone (greater absorption) |
+-------+---------------------------------------+
| 87 | loun stone (mastery) |
+-------+---------------------------------------+
| 88 | loun stone (regeneration) |
+-------+---------------------------------------+
| 89 | Plate armor of etherealness |
+-------+---------------------------------------+
| 90 | Plate armor of resistance |
+-------+---------------------------------------+
| 91 | Ring of air elemental command |
+-------+---------------------------------------+
| 92 | Ring of earthelemental command |
+-------+---------------------------------------+
| 93 | Ring of fire elemental command |
+-------+---------------------------------------+
| 94 | Ring of three wishes |
+-------+---------------------------------------+
| 95 | Ring of water elemental command |
+-------+---------------------------------------+
| 96 | Sphere of annihilation |
+-------+---------------------------------------+
| 97 | Talisman of pure good |
+-------+---------------------------------------+
| 98 | Talisman of the sphere |
+-------+---------------------------------------+
| 99 | Talisman of ultimate evil |
+-------+---------------------------------------+
| 100 | Tome of the stilled tongue |
+-------+---------------------------------------+
"""
name = "Magic Item Table I"
class Treasure(RandomTable):
""""""
name = "Treasure"
subtables = [IndividualTreasure0To4, IndividualTreasure5To10,
IndividualTreasure11To16, IndividualTreasure17Plus,
HoardTreasure0To4, HoardTreasure5To10,
HoardTreasure11To16, HoardTreasure17Plus,
MagicItemTableA, MagicItemTableB, MagicItemTableC,
MagicItemTableD, MagicItemTableE, MagicItemTableF,
MagicItemTableG, MagicItemTableH, MagicItemTableI]