KT
kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
"The village idiot in strict terms is a person locally known for ignorance or stupidity but is also a common term for a stereotypically silly or nonsensical person or stock character."
https://en.wikipedia.org/wiki/Village_idiot
I found on Reddit this awesome Name Generator sheet for roleplaying, and created a randomizer for it.
https://www.reddit.com/r/DnD/comments/yj7ayw/village_idiot_name_generator_oc/
Which one is your favorite? :)
*/
fun main() {
val team = List(7) { VillageIdiot.random() }
team.forEach(::println)
}
data class VillageIdiot(val name: String) {
companion object {
val firstNames = setOf("Agargar", "Barris", "Jeoff", "Dauntmoore", "Wrurt", "Chume", "Goil", "Faragio", "Krukbok", "Yic", "Grimgrin", "Troz", "Frulb", "Peg", "Alfwhit", "Diplib", "Cheggmuk", "Eeth", "Drigbut", "Cril")
val traits = setOf("Disturbed", "Famous", "Superstitious", "Bewildered", "Foolish", "Lively", "Mysterious", "Wandering", "Greasy", "Absurd", "Groovy", "Hapless", "Babbling", "Screeching", "Hilarious", "Startled", "Notorious", "Hot-headed", "Seasick", "Mumbling", "Addled")
val professions = setOf("Scholar of Slime", "Turnip Shepherd", "Perfumer of Rats", "Gold Fish Catcher", "Toast Connoisseur", "Onion Washer", "Candle Wizard", "Pebble Cruncher", "Herring Thrower", "Tree Tickler", "Pork Rind Expert", "Ale Exorcist", "Wand Whittler", "Poison Tester", "Chief Cheesebinder", "Mourner of Mice", "Pig Juggler", "Miner of Rare Dirt", "Jailer of Cutlery", "Bee Merchant", "Tickler of Turnips")
fun random() = VillageIdiot("${firstNames.random()} the ${traits.random()} ${professions.random()}")
}
override fun toString() = name
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run