2023-04-29 Write your own table-driven generator

The sun is about to set and I should make some apple pie. We bought apples from the farmer, which is weird since the apple trees are in bloom right now so these apples must be from storage.

A while ago I wrote about the generator I had created for Halberts, and how one could use it to write a different generator.

Halberts

You can look at it, download it, use it offline, and replace the tables with your own tables. – 2023-01-13 A stand-alone web page as a Generator

2023-01-13 A stand-alone web page as a Generator

I’m still trying to enable people to write their own generators. Myrkheim is another one of these small, special purpose generators written in a single file containing all the HTML, CSS, Javascript and random table data that it needs. You can edit it with a text editor and open the file with a browser. You don’t have to host it anywhere. You can send it to your friends by email and it’ll work.

Myrkheim

In order to facilitate this, Myrkheim now has better help with interactive examples. Visit the page and click the “Help” button at the top.

https://campaignwiki.org/myrkheim

If you replace all the tables with the tables you really need, you can use the “List tables” button to list them all, and click them while running a game, I guess? Perhaps I should write an example of turning it all into a huge board with dozens of buttons, each one generating text like it generates the examples on the Help page. Might provider better usability at the gaming table?

​#RPG ​#Myrkheim

Comments

(Please contact me if you want to remove your comment.)

As for CSS: If you save the Myrheim file after generating a setting, you can get a PDF using `weasyprint`, for example:

weasyprint myrkheim-saved.html myrkheim-saved.pdf

– Alex 2023-04-29 18:57 UTC

---

If you’re not interested in Fantasy Traveller, you can replace the stats. Find the rules with stats (search for “Hits-”) and replace them with random stats for your preferred game system.

;nightling
1,HD [1|1+1|1-1] AC [2d2+3] [1d6|1d8] F1 MV [6|9|9|12] ML [6|7|8] XP 100

;dwarves
1,<blockquote>[[dwarf name]@name][@name] and their followers ([5d8]) HD 1 AC 4 1d6 D1 MV 6 ML 8 XP 100</blockquote>
1,<blockquote>[[dwarf name]@name][@name] and their followers ([5d8]) HD 1 AC 4 1d6 D1 MV 6 ML 8 XP 100; with a war bear (1) HD 4 AC 4 1d4/1d4/1d6 + <em>hug</em> F2 MV 12 ML 5 XP 400</blockquote>
4,<blockquote>[[dwarf name]@name][@name] and their followers ([5d8]) HD 1 AC 4 1d6 D1 MV 6 ML 8 XP 100; with war bears ([1d4+1]) HD 4 AC 4 1d4/1d4/1d6 + <em>hug</em> F2 MV 12 ML 5 XP 400</blockquote>

;salamanders
1,<blockquote>[salamander name] and their followers ([5d6]) HD [1|1+1|1-1] AC [2d2+3] [1d6|1d8] F1 MV [6|9|9|12] ML [6|7|8] XP 100</blockquote>

And so on…

– Alex 2023-04-29 21:02 UTC