You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
250 lines
7.7 KiB
JavaScript
250 lines
7.7 KiB
JavaScript
var nm2 = [
|
|
["gandr", "Serpent"],
|
|
["forað", "Monster"],
|
|
["naðr", "Serpent"],
|
|
["dýr", "Animal/Beast"],
|
|
["höggr", "Striker"],
|
|
["gandr", "Serpent"],
|
|
["gandr", "Serpent"],
|
|
["gandr", "Serpent"]
|
|
];
|
|
var br = "";
|
|
|
|
function nameGen(type) {
|
|
var nm1 = [
|
|
["Aðal", "Chief/Head"],
|
|
["Afburðar", "Great/Excellent"],
|
|
["Ali", "Tame/Domesticated"],
|
|
["Altaris", "Altar"],
|
|
["And", "Hostile/Opposite"],
|
|
["Arnar", "Of the eagle"],
|
|
["Atfara", "Execution"],
|
|
["Aufusa", "To be pleased with"],
|
|
["Axar", "Axe"],
|
|
["Áss", "Rocky Ridge"],
|
|
["Barna", "Child"],
|
|
["Ber", "Bare"],
|
|
["Berg", "Mountain"],
|
|
["Bjarg", "Rock"],
|
|
["Bjarn", "Bear"],
|
|
["Bjart", "Bright"],
|
|
["Blá", "Blue"],
|
|
["Blóð", "Blood"],
|
|
["Blót", "Sacrificial/Worship"],
|
|
["Borg", "City/Settlement"],
|
|
["Bót", "Cure/Remedy"],
|
|
["Bróður", "Brother"],
|
|
["Brunä", "Burning/Burnt"],
|
|
["Dags", "Day's"],
|
|
["Dá", "To lie motionless"],
|
|
["Dánar", "Deceased"],
|
|
["Dóm", "Doom"],
|
|
["Dýra", "Beasts'"],
|
|
["Drysil", "Paltry"],
|
|
["Eðal", "Noble"],
|
|
["Eðla", "Noble"],
|
|
["Egg", "Sharp-edged"],
|
|
["Einga", "Only/Single"],
|
|
["Einka", "Special"],
|
|
["Eir", "Brazen/Of Brass"],
|
|
["Ekta", "Wedded"],
|
|
["Erki", "Arch-"],
|
|
["Föður", "Father/Father's"],
|
|
["Fagnaðar", "Joy/Triumph"],
|
|
["Fagr", "Fair/Light"],
|
|
["Fals", "False"],
|
|
["Fár", "Foul"],
|
|
["Feikna", "Immense"],
|
|
["Fer", "Fourth"],
|
|
["Ferða", "Journey/Travelling"],
|
|
["Fimbul", "Mighty"],
|
|
["Fiski", "Fishing"],
|
|
["Fítóns", "Magic"],
|
|
["Fjall", "Summit/Fell"],
|
|
["Fjaðr", "Feather"],
|
|
["Fjánd", "Enemy/Hostile"],
|
|
["Fjór", "Fourth"],
|
|
["Fjaðra", "Feathered"],
|
|
["Flóka", "Shaggy/Hairy"],
|
|
["Foraðs", "Abominable/Terrible"],
|
|
["Fóstr", "Foster"],
|
|
["Frið", "Peace"],
|
|
["Frillu", "Bastard"],
|
|
["Friðar", "Peaceful"],
|
|
["Frum", "The first"],
|
|
["Frægðar", "Famous"],
|
|
["Fræði", "Knowledge/Learning"],
|
|
["Fugla", "Of birds"],
|
|
["Furðu", "Wonderful"],
|
|
["Fylkis", "Shire"],
|
|
["Fyrir", "Distinguished"],
|
|
["Galdra", "Magical/Sorcerous"],
|
|
["Gaman", "Merry/Amsument"],
|
|
["Gandr", "Enchanted"],
|
|
["Gapa", "Reckless"],
|
|
["Geigr", "Dangerous/Deadly"],
|
|
["Geir", "Spear"],
|
|
["Gesta", "Stranger/Guest"],
|
|
["Giptar", "Gift"],
|
|
["Giptu", "Good luck/Lucky"],
|
|
["Gjár", "Chasm/Rift"],
|
|
["Gleði", "Merry"],
|
|
["Gler", "Glass"],
|
|
["Glit", "Glittering"],
|
|
["Glæpa", "Wicked"],
|
|
["Goða", "God/Godly"],
|
|
["Góð", "Kind/Good"],
|
|
["Grann", "Slender/Thin"],
|
|
["Grasa", "Grass"],
|
|
["Grá", "Silver/Grey"],
|
|
["Grið", "Home/Domicile"],
|
|
["Grimdar", "Fierce/Savage"],
|
|
["Grjot", "Stone"],
|
|
["Græð", "Healing"],
|
|
["Grafar", "Pit/Grave"],
|
|
["Graftar", "Burial"],
|
|
["Guðdóms", "Divine"],
|
|
["Gull", "Golden"],
|
|
["Gæfu", "Luck/Lucky"],
|
|
["Gæzlu", "Guardian"],
|
|
["Görninga", "Enchanted/Bewitched"],
|
|
["Haf", "Sea"],
|
|
["Hagl", "Hail"],
|
|
["Hamar", "Hammer"],
|
|
["Hamingju", "Fortune"],
|
|
["Harms", "Sorrow/Grief"],
|
|
["Hörpu", "Harp"],
|
|
["Hatr", "Hatred/Spite"],
|
|
["Haus", "Skull"],
|
|
["Haust", "Autumn"],
|
|
["Hálf", "Half"],
|
|
["Há", "High"],
|
|
["Háska", "Dangerous"],
|
|
["Hégóma", "Vain"],
|
|
["Heilla", "Good luck"],
|
|
["Heilsu", "Healer/Cure"],
|
|
["Hélu", "Frost"],
|
|
["Hel", "Death"],
|
|
["Hellis", "Cave"],
|
|
["Hér", "Native/Here"],
|
|
["Her", "War"],
|
|
["Herra", "Lordly"],
|
|
["Hetju", "Heroic/Champion"],
|
|
["Hettu", "Hooded"],
|
|
["Hildi", "War/Battle"],
|
|
["Himna", "Heavenly"],
|
|
["Hirð", "King's"],
|
|
["Hirtingar", "Punishing"],
|
|
["Hjálpar", "Helping"],
|
|
["Hofs", "Temple"],
|
|
["Horn", "Horned"],
|
|
["Hóg", "Easy/Gentle"],
|
|
["Hólm", "Holm"],
|
|
["Hrað", "Swift/Quick"],
|
|
["Hrafn", "Raven"],
|
|
["Hrak", "Wretched"],
|
|
["Hregg", "Tempest"],
|
|
["Hrein", "Clean/Pure"],
|
|
["Hreysti", "Valiant"],
|
|
["Hrika", "Giant/Huge"],
|
|
["Hríð", "Storm"],
|
|
["Hroða", "Brutal"],
|
|
["Hróðr", "Glorious"],
|
|
["Hrygðar", "Mourning/Grief"],
|
|
["Hræ", "Carrion"],
|
|
["Huggunar", "Comforting"],
|
|
["Hunangs", "Honey"],
|
|
["Hval", "Whale"],
|
|
["Hvass", "Sharp/Keen"],
|
|
["Hvíta", "White"],
|
|
["Hættu", "Dangerous"],
|
|
["Höfðingja", "Chief/Ruler"],
|
|
["Höfuð", "Chief/Principal"],
|
|
["Iðju", "Hard-working"],
|
|
["Jarð", "Earth"],
|
|
["Járn", "Iron"],
|
|
["Kalda", "Cold"],
|
|
["Kló", "Clawed"],
|
|
["Klækis", "Cowardly/Disgraceful"],
|
|
["Kola", "Coal/Charcoal"],
|
|
["Konunga", "Kingly/Royal"],
|
|
["Kopar", "Copper"],
|
|
["Krapta", "Strength"],
|
|
["Kveld", "Evening"],
|
|
["Kynja", "Strange/Wonder"],
|
|
["Lang", "Long"],
|
|
["Lauf", "Leaf"],
|
|
["Laugar", "Bath/Bathing"],
|
|
["Laun", "Secret/Hidden"],
|
|
["Leiðar", "Guiding/Leading"],
|
|
["Leir", "Earthen"],
|
|
["Leyndar", "Hidden"],
|
|
["Ljós", "Light"],
|
|
["Ljúg", "False/Lie"],
|
|
["Læknis", "Leech/Healing"],
|
|
["Læri", "Lore"],
|
|
["Megin", "Main/Great"],
|
|
["Mein", "Noxious/Hurt"],
|
|
["Morð", "Murder"],
|
|
["Morgun", "Morning"],
|
|
["Móður", "Mother"],
|
|
["Nauð", "In need"],
|
|
["Ná", "Carrion/Corpse"],
|
|
["Nátt", "Night"],
|
|
["Níðings", "Truce-breaker/Traitor"],
|
|
["Norðan", "Northern"],
|
|
["Nætr", "Night"],
|
|
["Ný", "New"],
|
|
["Ofr", "Fearless/Dauntless"],
|
|
["Ógnar", "Dreadful"],
|
|
["Óra", "Mad"],
|
|
["Rauð", "Red"],
|
|
["Refsinga", "Punishing"],
|
|
["Regin", "Mighty/Great"],
|
|
["Regn", "Rain"],
|
|
["Reiði", "Anger/Wrath"],
|
|
["Ríkis", "Mighty/Noble"],
|
|
["Salt", "Salt"],
|
|
["Sand", "Sand"],
|
|
["Sanninda", "Truthful"],
|
|
["Sann", "True"],
|
|
["Seið", "Spell/Magic"],
|
|
["Sein", "Slow"],
|
|
["Sigr", "Victory/Victorious"],
|
|
["Silfr", "Silver"],
|
|
["Sjá", "Sea"],
|
|
["Sjó", "Sea"],
|
|
["Skaða", "Destroyer"],
|
|
["Skjót", "Swift"],
|
|
["Skjaldar", "Shield"],
|
|
["Skrín", "Shrine"],
|
|
["Skrök", "Fable/False"],
|
|
["Ský", "Cloud"],
|
|
["Slátr", "Butcher"],
|
|
["Smá", "Small"],
|
|
["Tírar", "Glorious"],
|
|
["Tré", "Wooden/Tree"],
|
|
["Trolla", "Troll"],
|
|
["Tungl", "Lunar"],
|
|
["Tví", "Twin"],
|
|
["Undr", "Wonder"],
|
|
["Ung", "Young"],
|
|
["Vatns", "Water"]
|
|
];
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
for (i = 0; i < 10; i++) {
|
|
rnd = Math.random() * nm1.length | 0;
|
|
rnd2 = Math.random() * nm2.length | 0;
|
|
names = nm1[rnd][0] + nm2[rnd2][0] + " (" + nm1[rnd][1] + " + " + nm2[rnd2][1] + ")";
|
|
nm1.splice(rnd, 1);
|
|
br = document.createElement('br');
|
|
element.appendChild(document.createTextNode(names));
|
|
element.appendChild(br);
|
|
}
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|