Kobold ambush. They can speak but they have the [UTTERANCES] creature token which prevents them from having a proper language of their own, so they only garble gibberish.
import random
def kobold():
vowels = ['a','i','o','u']
penvowels = ['a','o','u','ay','ee','i']
frontcluster = ['b', 'br', 'bl', 'd', 'dr', 'dl', 'st', 'str', 'stl', 'shl'] + ['su','k','su','p','l', 'lr','sh', 'j', 'jr', 'thl']
cluster = ['b', 'd', 'l', 'f', 'g', 'k']
fincluster = ['m', 'r', 'ng', 'b', 'rb', 'mb', 'g', 'lg', 'l', 'lb', 'lm']
finsyl = ['is', 'us', 'ex1', 'ex2']
first = 1
syl = random.randint(0, 3)+1
firstname = ""
vowel = random.choice(vowels)
while syl > 0:
if syl == 1:
vowel = random.choice(penvowels)
if first == 1 or syl == 1:
firstname = firstname + random.choice(frontcluster)
first = 0
else:
firstname = firstname + random.choice(cluster)
firstname = firstname + vowel
syl = syl - 1
firstname = firstname + random.choice(fincluster)
fin = random.choice(finsyl)
if fin == 'ex1':
if vowel == 'o' or vowel == 'ay' or vowel == 'u' or vowel == 'a':
fin = 'er'
else:
fin = 'is'
elif fin == 'ex2':
if vowel == 'o' or vowel == 'ay' or vowel == 'u' or vowel == 'a':
fin = 'in'
else:
fin = 'us'
firstname = firstname + fin
return firstname