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.
79 lines
13 KiB
JavaScript
79 lines
13 KiB
JavaScript
var namesMale = ["Acchakko (Acchakat, To silence)", "Achrallo (Achralat, To be smelly)", "Addrivo (Addrivat, To kill)", "Addro (Addrivat, To kill)", "Aggendo (Aggendat, To rip something)", "Aggo (Aggendat, To rip something)", "Ahesso (Ahesh, Snow)", "Annakko (Annakholat, To finish)", "Annitho (Annithat, To cause pain)", "Anno (Annithat, To cause pain)", "Aresso (Aresak, Coward)", "Arrisso (Arrisat, To fix)", "Arro (Arrisat, To fix)", "Arrokko (Arrokhat, To frighten)", "Assammo (Assamvat, To break)", "Assilo (Assilat, To defeat)", "Asso (Assamvat, To break)", "Assollo (Assolat, To command)", "Astillo (Astilat, To joke)", "Astollo (Astolat, To speak)", "Awazzo (Awazat, To scream)", "Ayollo (Ayolat, To wait)", "Azzafro (Azzafrolat, To enslave)", "Azzo (Azzisat, To harm someone)", "Chakko (Chakat, To be silent)", "Charro (Charloat, To listen)", "Chommo (Chomat, To be respectful)", "Chomokko (Chomokh, Honor)", "Chongo (Chongat, To be hard)", "Dallo (Dalfe, Cow/Beef)", "Davro (Davra, Good/Useful)", "Davrollo (Davralat, To be useful)", "Dirgo (Dirgat, To think)", "Disso (Dis, Simple/Plain)", "Donno (Donat, To shout)", "Drogo (Drogat, To drive)", "Edavro (Edavrasa, Useless)", "Ematto (Emat, To smile)", "Emmatto (Emmat, To amuse)", "Enosso (Enossho, Mule)", "Erro (Erin, Kind/Good)", "Esitto (Esittesalat, To brag)", "Essino (Esinalat, To be different)", "Esso (Esina, Different)", "Ezollo (Ezolat, To learn)", "Ezzo (Ezat, To find)", "Ezzollo (Ezzolat, To teach)", "Fakko (Fakat, To kick)", "Fejo (Fejat, To hate)", "Fesho (Feshith, Tree)", "Ficho (Fichat, To take/To bring)", "Filko (Filkak, Coward)", "Fitto (Fitte, Short)", "Fonno (Fonak, Hunter)", "Fono (Fonat, To Hunt)", "Gacho (Gachat, To solve)", "Gezro (Gezri, Snake)", "Gorro (Gorat, To charge)", "Gosho (Goshat, To be sure)", "Haji (Haj, Strong)", "Havvo (Havziven, Lazy)", "Havzo (Havziven, Lazy)", "Hezho (Hezhahat, To travel)", "Hezzo (Hezhahat, To travel)", "Hlizzo (Hlizif, Bear)", "Hrazzo (Hrazef, Horse)", "Idrillo (Idrilat, To guide)", "Ifakko (Ifak, Foreigner)", "Ildatto (Ildat, To strike)", "Ildo (Ildat, To strike)", "Izzo (Izzat, To poison)", "Jasso (Jasat, To laugh)", "Jazzo (Jazat, To block)", "Jezzo (Jezat, To block a strike)", "Jillo (Jilat, To be right)", "Kaffatto (Kaffat, To crush)", "Kaffo (Kafat, To smash)", "Karlinno (Karlinat, To gallop)", "Karlo (Karlinat, To gallop)", "Kesso (Kesselat, To carry)", "Kovarro (Kovarat, To stand)", "Krazzo (Krazaaj, Mountain)", "Lajatto (Lajat, To fight)", "Lajo (Lajak, Fighter/Warrior)", "Lanno (Lanat, To run)", "Lanqo (Lanqoyi, Killing spree)", "Lavakho (Lavakhat, To be loud)", "Layafo (Layafat, To be happy)", "Leqso (Leqse, Rat)", "Lojatto (Lojat, To hit)", "Loqqo (Loqam, Arrow)", "Losho (Loshak, Guard)", "Losso (Loshak, Guard)", "Marillo (Marilat, To construct)", "Marro (Marilat, To construct)", "Mattello (Mattelat, To limp)", "Matto (Mattelat, To limp)", "Mello (Melat, To be evil)", "Mosko (Moskat, To load/To pack)", "Movvo (Movek, Warlock/Magician)", "Najaho (Najahak, Winner)", "Najaho (Najahat, To be victorious)", "Najo (Najah, Victorious)", "Naqo (Naqis, Small)", "Navvo (Navik, Beginner)", "Neggo (Negwin, Stone)", "Nevakko (Nevak, Guest)", "Nivvo (Nivat, To frown)", "Nizho (Nizhat, To be tough)", "Nizzo (Nizhat, To be tough)", "Ogatto (Ogat, To slaughter)", "Ohollo (Oholat, To be still)", "Onqo (Onqothat, To walk)", "Ostatto (Ostat, To bite)", "Ovvetho (Ovvethat, To throw/To shoot)", "Ovvo (Ovah, Fat)", "Qotho (Qothat, To be loyal)", "Qotho (Qothat, To be loyal/To be repetitive)", "Qotto (Qothat, To be loyal/To be repetitive)", "Qovvo (Qovat, To tremble)", "Rakharo (Rakh, Boy)", "Remekko (Remekat, To sleep)", "Remmo (Remekat, To sleep)", "Rhaego (Rhaek, Athlete)", "Rhanno (Rhanat, To be merciful)", "Rhello (Rhelat, To help)", "Sajo (Sajak, Rider)", "Shiggo (Shigat, To snore)", "Shiko (Shigat, To snore)", "Shovvo (Shoven, Marked/Smudged)", "Sikhtello (Sikhtelat, To spit)", "Sikko (Sikhtelat, To spit)", "Temmo (Temme, Thunder)", "Thirro (Thirlat, To survive)", "Tihho (Tihat, To look/To see)", "Tihollo (Tiholat, To understand)", "Tokko (Toki, Dumb)", "Vazzo (Vaz, Storm)", "Verakko (Verak, Traveler)", "Verro (Ver, Wolf)", "Verro (Verat, To travel)", "Villo (Villat, To be wise)", "Vindello (Vindelat, To stab)", "Vinesso (Vineserat, To remember)", "Virsallo (Virsalat, To burn)", "Vitihho (Vitihirat, To watch/To oberserve)", "Vorro (Vorsa, Fire)", "Vorsakko (Vorsakh, Flame)", "Vorso (Vorsa, Fire)", "Vrozzo (Vroz, Slow)", "Yenno (Yeni, Failure)", "Zerqo (Zerqolat, To swim)", "Zerqollo (Zerqolat, To swim)", "Zhowakko (Zhowak, Dangerous)", "Zhowo (Zhowak, Dangerous)", "Zicho (Zichome, Disrespectful)", "Zichommo (Zichome, Disrespectful)", "Ziffo (Zifichelat, To steal)", "Zificho (Zifichelat, To steal)", "Ziganno (Ziganesolat, To defy/To oppose)", "Ziggo (Ziganesolat, To defy/To oppose)", "Zinemmo (Zimemelat, To distract)", "Zinno (Zimemelat, To distract)", "Zireyo (Zireyeselat, To offend/To bug)", "Zirqo (Zirqoyi, Bird of prey)", "Zirro (Zireyeselat, To offend/To bug)", "Zoratto (Zorat, To roar)", "Zorro (Zorat, To roar)"];
|
|
var namesFemale = ["Acchi (Acchakat, To silence)", "Achralli (Achralat, To be smelly)", "Achri (Achralat, To be smelly)", "Affi (Affisat, To clean)", "Affisi (Affisat, To clean)", "Aheshi (Ahesh, Snow)", "Ahi (Ahesh, Snow)", "Allayi (Allayafat, To please)", "Annithi (Annithat, To cause pain)", "Aressi (Aresak, Coward)", "Ari (Aresak, Coward)", "Asavvi (Asavva, Sky)", "Asheffi (Ashefa, River)", "Ashi (Ashefa, River)", "Awazzi (Awazat, To scream)", "Awwi (Awazat, To scream)", "Ayi (Ayolat, To wait)", "Ayolli (Ayolat, To wait)", "Chakki (Chakat, To be silent)", "Charli (Charloat, To listen)", "Charri (Charloat, To listen)", "Chelli (Chelsian, Locust)", "Chelsi (Chelsian, Locust)", "Chommi (Chomat, To be respectful)", "Dalfi (Dalfe, Cow/Beef)", "Dalli (Dalfe, Cow/Beef)", "Davralli (Davralat, To be useful)", "Davri (Davra, Good/Useful)", "Davvi (Davra, Good/Useful)", "Dissi (Dis, Simple/Plain)", "Edavri (Edavrasa, Useless)", "Emmati (Emmat, To amuse)", "Emmi (Emat, To smile)", "Enosshi (Enossho, Mule)", "Enossi (Enossho, Mule)", "Erri (Erin, Kind/Good)", "Eshi (Eshina, Fish)", "Eshinni (Eshina, Fish)", "Esinni (Esina, Different)", "Esinni (Esinalat, To be different)", "Essi (Esina, Different)", "Evethi (Eveth, Water)", "Evi (Eveth, Water)", "Ewwi (Ewe, Olive)", "Eyelli (Eyel, Rain)", "Ezhi (Ezhirat, To dance)", "Ezhirri (Ezhirat, To dance)", "Ezolli (Ezolat, To learn)", "Ezzi (Ezolat, To learn)", "Ezzoli (Ezzolat, To teach)", "Feldi (Feldekh, Feather)", "Felli (Feldekh, Feather)", "Fichi (Fichat, To take/To bring)", "Filki (Filkak, Coward)", "Filli (Filkak, Coward)", "Fitti (Fitte, Short)", "Gevvi (Geve, Mole)", "Gilli (Gillo, Breeze)", "Gizzi (Giz, Bee)", "Haddi (Hador, Gust of wind)", "Haffi (Haf, Soft/Quiet)", "Haji (Haj, Strong)", "Halahhi (Halah, Flower)", "Halli (Halah, Flower)", "Hanni (Hanna, Rose)", "Havazhi (Havazh, Sea)", "Havvi (Havazh, Sea)", "Havzi (Havziven, Lazy)", "Hoski (Hoska, Mouth of an animal)", "Hossi (Hoska, Mouth of an animal)", "Hoyalli (Hoyalat, To sing)", "Hoyi (Hoyalat, To sing)", "Ifakki (Ifak, To walk)", "Iffi (Ifak, Foreigner)", "Ikhi (Ikh, Ashes)", "Inti (Inte, Beetle)", "Irri (Irra, Trout)", "Izzatti (Izzat, To poison)", "Izzi (Iz, Poison)", "Janni (Jano, Dog)", "Jasatti (Jasat, To laugh)", "Jassi (Jasat, To laugh)", "Jeddi (Jedda, Pony)", "Jeshi (Jesh, Ice)", "Jolinni (Jolinat, To cook)", "Jolli (Jolinat, To cook)", "Jommi (Joma, Salmon)", "Kendri (Kendra, Opal)", "Kesselli (Kesselat, To carry)", "Kessi (Kesselat, To carry)", "Khewi (Khewo, Worm)", "Laqqi (Laqat, To cry)", "Lavakhi (Lavakhat, To be loud)", "Lavvi (Lavakhat, To be loud)", "Layaffi (Layafat, To be happy)", "Layi (Layafat, To be happy)", "Leqsi (Leqse, Rat)", "Loshatti (Loshat, To carry)", "Loshi (Loshat, To carry)", "Madatti (Madat, To sew)", "Maddi (Madat, To sew)", "Mattelli (Mattelat, To limp)", "Matti (Mattelat, To limp)", "Mavelli (Mavelat, To make by hand)", "Mavi (Mavelat, To make by hand)", "Mawi (Mawizzi, Rabbit)", "Melli (Melat, To be evil)", "Naqqi (Naqis, Small)", "Navvi (Navik, Beginner)", "Nevvi (Nevak, Guest)", "Nivvi (Nivat, To frown)", "Nizhi (Nizhat, To be tough)", "Oholli (Oholat, To be still)", "Oqetti (Oqet, Sheep)", "Oqqi (Oqet, Sheep)", "Osti (Ostat, To bite)", "Ovahhi (Ovah, Fat)", "Ovvi (Ovah, Fat)", "Ozzi (Ozzir, Ruby)", "Ozzirri (Ozzir, Ruby)", "Qiffi (Qifo, Boar/Pig)", "Qossi (Qosar, Spider)", "Qothi (Qothat, To be loyal/To be repetitive)", "Qovatti (Qovat, To tremble)", "Qovvi (Qovat, To tremble)", "Remekki (Remekat, To sleep)", "Remmi (Remekat, To sleep)", "Rhelli (Rhelat, To help)", "Shovi (Shoven, Marked/Smudged)", "Thashi (Thash, Soft)", "Thirli (Thirlat, To survive)", "Thirri (Thirlat, To survive)", "Verakki (Verak, Traveler)", "Verri (Verak, Traveler)", "Vitihi (Vitihirat, To watch/To oberserve)", "Vitti (Vitihirat, To watch/To oberserve)", "Vorri (Vorsa, Fire)", "Vorsakhi (Vorsakh, Flame)", "Vrozzi (Vroz, Slow)", "Yetti (Yetto, Frog)", "Zhali (Zhalia, Butterfly)", "Zhalli (Zhalia, Butterfly)", "Zhavvi (Zhav, Lizard)", "Zhowi (Zhowak, Dangerous)", "Zichi (Zichome, Disrespectful)", "Zichomi (Zichome, Disrespectful)", "Ziffi (Zifichelat, To steal)", "Zifichi (Zifichelat, To steal)", "Ziganni (Ziganesolat, To defy/To oppose)", "Ziggi (Ziganesolat, To defy/To oppose)", "Zimemmi (Zimemelat, To distract)", "Zimmi (Zimemelat, To distract)", "Zireyyi (Zireyeselat, To offend/To bug)", "Zirqi (Zirqoyi, Bird of prey)", "Zirri (Zir, Bird)"];
|
|
var namesM1 = ["", "", "", "", "", "b", "c", "d", "h", "j", "k", "m", "p", "q", "r", "bh", "ch", "jh", "kh", "qh", "rh", "br", "cr", "dr", "kr", "pr", "qr"];
|
|
var namesM2 = ["ae", "a", "o", "a", "o", "a", "o"];
|
|
var namesM3 = ["d", "dd", "h", "j", "jh", "k", "kh", "kk", "l", "ll", "m", "mm", "n", "nn", "t", "tt", "v", "z", "zh", "zz", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""];
|
|
var namesM4 = ["", "a", "o", "a", "o", "a", "o", "ae"];
|
|
var namesM5 = ["bo", "ggo", "go", "kho", "llo", "no", "qo", "rbo", "ro", "rro", "tho", "ko", "kko", "rko", "rqo", "rlo", "rgo", "mo", "nno", "mmo", "qqo", "zho", "zo", "zzo", "vo", "vvo"];
|
|
var namesF1 = ["", "", "", "", "f", "h", "jh", "k", "l", "m", "n", "q", "r", "s", "sh", "t", "th", "v", "w", "y", "zh"];
|
|
var namesF2 = ["e", "i", "a", "i"];
|
|
var namesF3 = ["f", "ff", "g", "h", "l", "ll", "m", "mm", "n", "nn", "q", "r", "s", "sh", "ss", "t", "th", "w", "z", "zh", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""];
|
|
var namesF4 = ["", "e", "i", "a", "i"];
|
|
var namesF5 = ["bi", "ffi", "fi", "ssi", "si", "gi", "hhi", "hi", "ki", "kki", "lli", "mi", "mmi", "ni", "nni", "qi", "qqi", "qui", "ri", "rri", "thi", "vi", "vvi", "wi", "zhi", "zi", "zzi"];
|
|
|
|
function nameGen(type) {
|
|
$('#placeholder').css('textTransform', 'capitalize');
|
|
var tp = type;
|
|
var br = "";
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
for (i = 0; i < 10; i++) {
|
|
if (tp === 1) {
|
|
if (i < 5) {
|
|
rnd = Math.floor(Math.random() * namesFemale.length);
|
|
names = namesFemale[rnd];
|
|
} else {
|
|
rnd = Math.floor(Math.random() * namesF1.length);
|
|
rnd2 = Math.floor(Math.random() * namesF2.length);
|
|
rnd3 = Math.floor(Math.random() * namesF3.length);
|
|
rnd4 = Math.floor(Math.random() * namesF4.length);
|
|
rnd5 = Math.floor(Math.random() * namesF5.length);
|
|
if (rnd < 4) {
|
|
while (rnd2 === 0) {
|
|
rnd2 = Math.floor(Math.random() * namesF2.length);
|
|
}
|
|
}
|
|
if (rnd3 > 19) {
|
|
rnd4 = 0;
|
|
} else {
|
|
while (rnd4 === 0) {
|
|
rnd4 = Math.floor(Math.random() * namesF4.length);
|
|
}
|
|
}
|
|
names = namesF1[rnd] + namesF2[rnd2] + namesF3[rnd3] + namesF4[rnd4] + namesF5[rnd5];
|
|
}
|
|
} else {
|
|
if (i < 5) {
|
|
rnd = Math.floor(Math.random() * namesMale.length);
|
|
names = namesMale[rnd];
|
|
} else {
|
|
rnd = Math.floor(Math.random() * namesM1.length);
|
|
rnd2 = Math.floor(Math.random() * namesM2.length);
|
|
rnd3 = Math.floor(Math.random() * namesM3.length);
|
|
rnd4 = Math.floor(Math.random() * namesM4.length);
|
|
rnd5 = Math.floor(Math.random() * namesM5.length);
|
|
if (rnd < 5) {
|
|
while (rnd2 === 0) {
|
|
rnd2 = Math.floor(Math.random() * namesM2.length);
|
|
}
|
|
}
|
|
if (rnd3 > 19) {
|
|
rnd4 = 0;
|
|
} else {
|
|
while (rnd4 === 0) {
|
|
rnd4 = Math.floor(Math.random() * namesM4.length);
|
|
}
|
|
}
|
|
names = namesM1[rnd] + namesM2[rnd2] + namesM3[rnd3] + namesM4[rnd4] + namesM5[rnd5];
|
|
}
|
|
}
|
|
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);
|
|
}
|