May-31-2019, 02:24 PM
This is a fantasy name generator I wrote as part of a fantasy combat game I'm writing for t_games. Well, okay, it's two lists. But making the two lists was a bit of effort and I thought others might want to make use of them. It's mostly European mythology or fantasy fiction, although I threw in some others if they fit the two syllable format. It's biased heavily toward men, but I did manage to include a few women (Eowyn, Isis, She-ra, ...). The sources are Wikipedia's Fictional Swordsmen category and the old AD&D Deities & Demigods book (and a few from memory).
import random FIRST = ['A', 'Ag', 'Ar', 'Ara', 'Anu', 'Bal', 'Bil', 'Boro', 'Bern', 'Bra', 'Cas', 'Cere', 'Co', 'Con', 'Cor', 'Dag', 'Doo', 'Elen', 'El', 'En', 'Eo', 'Faf', 'Fan', 'Fara', 'Fre', 'Fro', 'Ga', 'Gala', 'Has', 'He', 'Heim', 'Ho', 'Isil', 'In', 'Ini', 'Is', 'Ka', 'Kuo', 'Lance', 'Lo', 'Ma', 'Mag', 'Mi', 'Mo', 'Moon', 'Mor', 'Mora', 'Nin', 'O', 'Obi', 'Og', 'Pelli', 'Por', 'Ran', 'Rud', 'Sam', 'She', 'Sheel', 'Shin', 'Shog', 'Son', 'Sur', 'Theo', 'Tho', 'Tris', 'U', 'Uh', 'Ul', 'Vap', 'Vish', 'Ya', 'Yo', 'Yyr'] SECOND = ['ba', 'bis', 'bo', 'bus', 'da', 'dal', 'dagz', 'den', 'di', 'dil', 'din', 'do', 'dor', 'dra', 'dur', 'gi', 'gauble', 'gen', 'glum', 'go', 'gorn', 'goth', 'had', 'hard', 'is', 'ki', 'koon', 'ku', 'lad', 'ler', 'li', 'lot', 'ma', 'man', 'mir', 'mus', 'nan', 'ni', 'nor', 'nu', 'pian', 'ra', 'rak', 'ric', 'rin', 'rum', 'rus', 'rut', 'sek', 'sha', 'thos', 'thur', 'toa', 'tu', 'tur', 'tred', 'varl', 'wain', 'wan', 'win', 'wise', 'ya'] def fantasy_name(): return random.choice(FIRST) + random.choice(SECOND)
Output:Uhgo
Hasda
Sonsek
Elthur
Bilba
Elgen
Galad
Hegoth
Magtred
Shinwan