And changing the hotkey to F12 so that it is easier to access on the
laptop.
Oh, and let's have the displayed message contain a little more details
so that when we jump backwards through the history, we understand more
what we are seeing.
Because loading the tables is now getting time and space prohibited, we
are now just storing the the name of the table and the filename ... at
first. Then once we ask for a chart, we fetch the chart and choose some
results.
Loading the tables is now not a cost issue ... and Emacs more stable.
I realized that a DM Screen isn't really what I want. If I want
information about a particular rule or the magic school, then I want it
to pop up, and then go away.
A dice table is a direct translation of a gaming table from a book,
where the table has a stated dice expression, and each entry has a
numeric range. Most tables can now be taken as is from published
sources.
Also, if a message from a randomly rolled table contains a dice
expression, like Found 2d8 scrolls, the expression is automatically
substituted.
Finally if a message contains something like:
You found a [wolf/fox/badger].
The displayed message will only include on of those entries.
Some of these tables are getting complicated, so I have created three
different tables, and this should be sufficient.
Describing it, however, seems to be a lot for source code, and I thought
I would describe it using a literate programming style. We'll see.
I have a semblance of code giving me functions to help me run my D&D
games. The README needs a lot more love, but the code is generally tidy.
Time to add some tables...