Skip to content

Add FantasyNameGenerator: word-grammar fantasy names - #38

Merged
m4bwav merged 1 commit into
masterfrom
name-grammars
Nov 27, 2026
Merged

m4bwav merged 1 commit into
masterfrom
name-grammars

Conversation

@m4bwav

@m4bwav m4bwav commented Nov 27, 2026

Copy link
Copy Markdown
Owner

Adds FantasyNameGenerator (+ IFantasyNameGenerator, Landform), seeded like the other generators ((), (Random), (int seed)).

  • GenerateRandomFantasyPlaceName(): "Broken Tower of the Ash Hollow" (feature about half the time); GenerateMultipleFantasyPlaceNames(int)
  • GenerateRandomLandformPlaceName(Landform): hill, river, forest, marsh, coast, mountain, plain
  • GenerateRandomFactionName(): "the Grey Heron Clan"; GenerateRandomWarBandName(): "Splitskull"
  • GenerateRandomTradeSurname() with older spellings via static ApplySpellingVariant (Smith/Smyth, Taylor/Tailor, Clark/Clarke); TradeSurnames list
  • GenerateRandomBynameName(): census first name + byname ("Anna the Bold"); GenerateRandomKeeperEpithet(name): "Bram the Honest"

Word lists are our own, in code. CHANGELOG credits Tome of Adventure Design, Points of Light, Living Fantasy/World Builder and the JG Guidebook to Shops as inspiration only. Existing generators and every golden recording are unchanged.

Public API test: additions are allowed through RandomNameGeneratorUnitTests/PublicApi-additions.txt, backed by ai-docs/decisions/2026-11-27-fantasy-name-grammars.md (status proposed, for your ruling). No version bump, no workflow changes.

Tests: dotnet test -c Release 266 passed, 0 failed (net10.0 and net48); dotnet format --verify-no-changes clean.

Places (adjective + structure, optional 'of the' feature), landform-keyed
places, faction and war-band names, trade surnames with spelling variants,
bynames and keeper epithets, seeded like the other generators. Own word
lists; technique ideas credited in CHANGELOG as inspiration only.
Public API additions are allowed through PublicApi-additions.txt with a
decision entry.
@m4bwav m4bwav self-assigned this Nov 27, 2026
@m4bwav
m4bwav merged commit ac1d13e into master Nov 27, 2026
3 checks passed
@m4bwav
m4bwav deleted the name-grammars branch November 27, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant