Wednesday, June 10, 2026

Random Spells-as-Laws Generator






Thank you to fellow random word enjoyer Beneath Foreign Planets for the encouragement to JUST POST this "cerebral" piece of work, after discussing their recent cool post which you should read.

This is still a rough draft of sorts, so feedback is appreciated!
  • As far as the available words go: I did a rough pass, by mass filtering, for general parts of speech. There's still probably a lot of awkward phrasing here and there.
  • Similarly: if there are any offensive or outdated terms, please let me know as well.
  • Little thought was put into word-frequency, as opposed to making something that works.
  • Ultimately I made this for personal use, with my own house rules. The language should hopefully be fairly agnostic? But there may be some more specific terms referenced, with capitalisation, here and there.


Making Of / Thought Processes

The Laws

You can read more about that in my prior posts which are grouped up here, with probably the most relevant stuff living here.

Overall it's an attempt at doing things cottonmouth, in such a way that fighting a wizard becomes a matter of legal loopholing or constantly changing the circumstances of the fight. 

As for the specific phrasing of conditionals: that was mainly just me trying to think of as many scenarios as possible that would be easy-to-check in the heat of the moment. Long term / in actual practice: I would probably cut this down to a more curated list.

The Logic

I just always thought Logic Gates would make for a neat aspect of a magic system. It definitely can be a bit clunky here and there though? So long term I may cut or adjust the phrasing on some of the more fiddly gates.

The Words

The list of words used was based on the public-domain Moby Project, which I then very inefficiently quick filtered through as a spreadsheet. Mainly I focused on trimming up the parts of speech and terms used, mainly to limit the use of Names, Adjectives, Adverbs, etc. down to just Nouns & Verbs.

The Code

Originally I was going to build this as a table in Obsidian using the dice roller plugins there, but the thousands upon thousands of entries didn't play nicely and lacked some key features. So then I built it as a separate tool using the code available at donjon for personal use, before converting that over to the ever-useful spwack generator.


This post © 2026 by Ro Pham is licensed under CC BY-NC-ND 4.0

No comments:

Post a Comment