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.

377 lines
9.8 KiB
JavaScript

var nm1 = [
["Abaya", "Fast"],
["Aduma", "East"],
["Aka", "Bright red"],
["Akadama", "Red Jewel"],
["Akara", "Red"],
["Akatoki", "Dawn"],
["Ake", "Dawn"],
["Aki", "Autumn"],
["Akidu", "Dragonfly"],
["Akirake", "Brilliant"],
["Akirame", "Clear"],
["Ama", "Rain"],
["Amo", "Mother"],
["Amori", "Descend from heaven"],
["Anadama", "Holed Jewel"],
["Apida", "Time"],
["Ara", "Rough"],
["Arare", "Hail"],
["Arasi", "Storm"],
["Arine", "High mountain ridge"],
["Arumi", "Rough sea"],
["Asapi", "Morning sun"],
["Ata", "Enemy"],
["Aô", "Blue/Green"],
["Azu", "Cliff"],
["Da", "Field"],
["Gakî", "Hungry ghost"],
["Ike", "Pond"],
["Ikuri", "Reef"],
["Ima", "Dream"],
["Ine", "Sleep"],
["Inu", "Dog"],
["Ipa", "Stone"],
["Irana", "Sad"],
["Isana", "Whale"],
["Isi", "Stone"],
["Itu", "Pure"],
["Itukusi", "Majestic"],
["Itôkô", "Beloved child"],
["Ka", "Deer"],
["Kage", "Light"],
["Kagupasi", "Fragrant"],
["Kama", "Scythe"],
["Kame", "Turtle"],
["Kane", "Metal"],
["Kani", "Crab"],
["Kapa", "River"],
["Kape", "Oak"],
["Karasu", "Crow"],
["Kari", "Harvest"],
["Kasumi", "Mist"],
["Kata", "Vine"],
["Kaya", "Grass"],
["Kaza", "Wind"],
["Ke", "Tree"],
["Keburi", "Smoke"],
["Ki", "Yellow"],
["Kita", "North"],
["Kitune", "Fox"],
["Kiyo", "Pure"],
["Ko", "Small"],
["Koke", "Moss"],
["Koti", "East wind"],
["Ku", "Gold"],
["Kubi", "Swan"],
["Kuma", "Bear"],
["Kumo", "Cloud"],
["Kupa", "Silkworm"],
["Kura", "Dark"],
["Kurô", "Black"],
["Kusi", "Mysterious"],
["Kusi", "Wine"],
["Kuyasi", "Regrettable"],
["Kïri", "Fog"],
["Kô", "Child"],
["Kêsi", "Deviant"],
["Ma", "Horse"],
["Mapï", "Excellent fire"],
["Mara", "Rare"],
["Marapito", "Guist"],
["Masirô", "Completely white"],
["Masura", "Strong"],
["Matama", "Fine jewel"],
["Matori", "Fine bird"],
["Matu", "Pine"],
["Me", "Seaweed"],
["Mi", "Water"],
["Midori", "Green"],
["Midô", "Water"],
["Mikado", "Honorable gate"],
["Mikadukwi", "Crescent moon"],
["Mimi", "Rumor"],
["Miniku", "Ugly"],
["Mitubo", "Water bubble"],
["Miwa", "Sake offered to spirits"],
["Miya", "Palace"],
["Miyabï", "Elegance"],
["Mo", "Seaweed"],
["Moda", "Silence"],
["Momo", "Peach"],
["Mori", "Guard"],
["Motidukï", "Full moon"],
["Moto", "Origin"],
["Mu", "Beloved"],
["Mugi", "Wheat"],
["Muma", "Horse"],
["Muna", "Empty"],
["Munakoto", "False words"],
["Muratama", "Grouped jewels"],
["Musi", "Insect"],
["Na", "Wave"],
["Nanase", "Seven rapids"],
["Nanayo", "Seven generations"],
["Nanayô", "Seven nights"],
["Napo", "Gentle"],
["Natu", "Summer"],
["Naï", "Earthquake"],
["Ne", "Sleep"],
["Nebu", "Silk tree"],
["Niku", "Unpleasant"],
["Ninopo", "Beautiful red"],
["Nire", "Elm"],
["Nu", "Swamp"],
["Nusubito", "Thief"],
["Nute", "Bell"],
["Nôzi", "Rainbow"],
["Obobosi", "Gloomy"],
["Odi", "Fear"],
["Ogirona", "Very big"],
["Oku", "Future"],
["Omi", "Palace Servant"],
["Opo", "Grand"],
["Osi", "Rock"],
["Osupi", "Cloak"],
["Oyosi", "Old"],
["Pana", "Flower"],
["Pani", "Clay"],
["Paru", "Spring"],
["Parupi", "Spring sun"],
["Pasama", "Valley"],
["Patisu", "Lotus"],
["Pitateri", "Fully shining"],
["Po", "Fire"],
["Posi", "Star"],
["Potaru", "Firefly"],
["Pudi", "Wisteria"],
["Pupaya", "Fluffiness"],
["Puru", "Old"],
["Putô", "Great"],
["Puyu", "Winter"],
["Sagi", "Heron"],
["Sakasi", "Clevor"],
["Sakura", "Cherry"],
["Same", "Rain"],
["Samu", "Cold"],
["Sapa", "Swamp"],
["Sasi", "Castle"],
["Satu", "Good fortune"],
["Saê", "Dice"],
["Sayô", "Night"],
["Siduke", "Quiet"],
["Sige", "Lushness"],
["Sigemi", "Overgrown flora"],
["Sima", "Island"],
["Simidu", "Cold"],
["Simo", "Frost"],
["Siraga", "White hair"],
["Sirakumo", "White cloud"],
["Siratama", "White jewel"],
["Sirô", "White"],
["Soni", "Kingfisher"],
["Su", "Sand"],
["Sugaru", "Wasp"],
["Sumire", "Violet"],
["Tagi", "Waterfall"],
["Taka", "Falcon"],
["Takamikura", "High throne"],
["Takayama", "High mountain"],
["Tama", "Beautiful"],
["Tamasipi", "Soul"],
["Taniguku", "Toad"],
["Tanomo", "Rice field"],
["Tape", "Heavenly"],
["Tarumi", "Waterfall"],
["Tawaya", "Weak"],
["Tera", "Temple"],
["Timata", "Crossroad"],
["Tokage", "Permanent shade"],
["Tokimori", "Time keeper"],
["Tokizi", "Timeless"],
["Tokotoba", "Eternal"],
["Tokoyo", "Eternal world"],
["Tomosi", "Evoking desire"],
["Tori", "Bird"],
["Totomi", "High tide"],
["Tudu", "Star"],
["Tukapi", "Messenger"],
["Tuku", "Moon"],
["Tukuyomi", "The moon"],
["Tume", "Hoard"],
["Tumuzi", "Whirlwind"],
["Tunô", "Antler"],
["Tupi", "Final/Ultimate"],
["Tômi", "Wealth"],
["Ubara", "Thorn"],
["Udu", "Wonderful"],
["Uma", "Horse"],
["Umi", "Sea"],
["Ura", "Divination"],
["Urape", "Divine"],
["Uri", "Melon"],
["Utukusi", "Cute/Pretty"],
["Utusi", "Honest"],
["Wata", "Ocean"],
["Werawera", "Smiling"],
["Ôsagi", "Rabbit"],
["Ôto", "Distant time or place"],
["Yabu", "Thicket"],
["Yama", "Mountain"],
["Yasima", "Many islands"],
["Yasiro", "Shrine"],
["Yoki", "Snow"],
["Yomï", "Underworld"],
["Yu", "Holy"],
["Yuki", "Snow"],
["Yume", "Never"],
["Yupuke", "Fortune teller"],
["Yura", "Gentle"]
];
var nm2 = [
["mïtuti", "Dragon"],
["tatu", "Dragon"],
["mï", "Snake"],
["pemi", "Snake"],
["mïtuti", "Dragon"],
["tatu", "Dragon"],
["mï", "Snake"],
["pemi", "Snake"],
["mïtuti", "Dragon"],
["tatu", "Dragon"],
["mï", "Snake"],
["pemi", "Snake"],
["arôzi", "Master"],
["usi", "Master"],
["onosi", "Master"],
["si", "Teacher"],
["opokimi", "Great Lord"],
["mikô", "Child of a god"],
["piziri", "Sage"],
["sumera", "Emperor"],
["sumêra", "Imperial Highness"]
];
var nm3 = [
["Chairo", "Brown"],
["Genki", "Healthy"],
["Giniro", "Silver"],
["Hairro", "Grey"],
["Joubu", "Strong"],
["Kiniro", "Gold"],
["Kirei", "Beautiful"],
["Midori", "Green"],
["Murasaki", "Purple"],
["Orenji-iro", "Orange"],
["Pinku-iro", "Pink"],
["Shizuka", "Quiet"],
["Shizuka", "Silent"],
["Suki", "Favorite"],
["Teinei", "Polite"],
["Yuumei", "Famous"],
["Abunai", "Dangerous"],
["Akai", "Red"],
["Akarui", "Bright"],
["Aoi", "Blue"],
["Atatakai", "Warm"],
["Atsui", "Hot"],
["Chiisai", "Smal"],
["Erai", "Grand"],
["Furui", "Old"],
["Futoi", "Thick"],
["Hageshii", "Violent"],
["Hanahanashi", "Beautiful"],
["Hayai", "Fast"],
["Hosoi", "Slender"],
["Isamashii", "Brave"],
["Iyashii", "Vile"],
["Kanashii", "Sad"],
["Kashikoi", "Clever"],
["Kemui", "Smoky"],
["Kiiroi", "Yellow"],
["Kitanai", "Dirty"],
["Koishii", "Homesick"],
["Koishii", "Missed"],
["Kudoi", "Naughty"],
["Kurai", "Dark"],
["Kuroi", "Black"],
["Kusai", "Stinky"],
["Mabushii", "Blinding"],
["Mezurashii", "Rare"],
["Mijikai", "Short"],
["Monosugoi", "Amazing"],
["Moroi", "Fragile"],
["Munashii", "Empty"],
["Nagai", "Long"],
["Nemui", "Sleepy"],
["Nikui", "Hateful"],
["Noroi", "Sluggish"],
["Okashii", "Strange"],
["Omoi", "Heavy"],
["Ookii", "Big"],
["Osoroshii", "Scary"],
["Otonashii", "Calm"],
["Sabishii", "Lonely"],
["Semai", "Narrow"],
["Shiroi", "White"],
["Sosokkashii", "Careless"],
["Suzushii", "Cool"],
["Takumashii", "Strong"],
["Tanomoshii", "Trustworthy"],
["Tanoshii", "Funny"],
["Tooi", "Distant"],
["Tsumetai", "Cold"],
["Tsuyoi", "Strong"],
["Urayamashii", "Enviable"],
["Ureshii", "Happy"],
["Urusai", "Noisy"],
["Utsukushii", "Beautiful"],
["Wakai", "Young"],
["Yasashii", "Kind"],
["Yowai", "Weak"],
["Zurui", "Trickster"]
];
var nm4 = [
["ryū", "Dragon"],
["hebi", "Snake"],
["tatsujin", "Master"],
["tetsujin", "Sage"],
["omo", "Lord"],
["josei", "Lady"],
["hime", "Princess"],
["ō", "King"],
["joō", "Queen"],
["ōji", "Prince"],
["kami", "God"],
["ryūō", "Dragon king"]
];
var br = "";
function nameGen(type) {
var tp = type;
$('#placeholder').css('textTransform', 'capitalize');
var element = document.createElement("div");
element.setAttribute("id", "result");
for (i = 0; i < 10; i++) {
if (tp === 1) {
rnd = Math.random() * nm3.length | 0;
rnd2 = Math.random() * nm4.length | 0;
if (rnd < 16) {
names = nm3[rnd][0] + "na" + nm4[rnd2][0] + " (" + nm3[rnd][1] + " + " + nm4[rnd2][1] + ")";
} else {
names = nm3[rnd][0] + nm4[rnd2][0] + " (" + nm3[rnd][1] + " + " + nm4[rnd2][1] + ")";
}
} else {
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] + ")";
}
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);
}