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.
260 lines
8.6 KiB
JavaScript
260 lines
8.6 KiB
JavaScript
var nm1 = [
|
|
["Anguilla", "Eel"],
|
|
["Aquila", "Eagle"],
|
|
["Balaena", "Whale"],
|
|
["Testudo", "Turtle"],
|
|
["Panthera", "Panther"],
|
|
["Phoca", "Seal"],
|
|
["Raia", "Ray"],
|
|
["Rana", "Frog"],
|
|
["Simia", "Ape"],
|
|
["Ulula", "Owl"],
|
|
["Ursa", "Bear"],
|
|
["Vespa", "Wasp"],
|
|
["Apis", "Bee"],
|
|
["Capra", "Goat"],
|
|
["Cerva", "Deer"],
|
|
["Columba", "Dove"],
|
|
["Lupa", "Wolf"],
|
|
["Avis", "Bird"],
|
|
["Feles", "Cat"],
|
|
["Meles", "Badger"],
|
|
["Tigris", "Tiger"],
|
|
["Galea", "Helmet"],
|
|
["Navis", "Ship"],
|
|
["Corona", "Crown"],
|
|
["Crux", "Cross"],
|
|
["Fornax", "Furnace"],
|
|
["Flamma", "Flame"],
|
|
["Gemma", "Gem"],
|
|
["Sagitta", "Arrow"],
|
|
["Vestis", "Robe"],
|
|
["Candela", "Candle"],
|
|
["Turris", "Tower"],
|
|
["Fax", "Torch"],
|
|
["Penna", "Feather"],
|
|
["Arbor", "Tree"],
|
|
["Porta", "Gate"],
|
|
["Hasta", "Spear"],
|
|
["Sica", "Dagger"],
|
|
["Fons", "Fountain"],
|
|
["Ungula", "Claw"],
|
|
["Lanterna", "Lantern"],
|
|
["Securis", "Axe"],
|
|
["Tibia", "Flute"],
|
|
["Ara", "Altar"],
|
|
["Cortina", "Cauldron"],
|
|
["Incus", "Anvil"],
|
|
["Concha", "Shell"],
|
|
["Gryllus", "Grasshopper"],
|
|
["Serpens", "Snake"],
|
|
["Bubo", "Owl"],
|
|
["Vespertilio", "Bat"],
|
|
["Ursus", "Bear"],
|
|
["Piscis", "Fish"],
|
|
["Aper", "Boar"],
|
|
["Urus", "Buffalo"],
|
|
["Cancer", "Crab"],
|
|
["Rhinoceros", "Rhino"],
|
|
["Caper", "Goat"],
|
|
["Cervus", "Deer"],
|
|
["Corvus", "Crow"],
|
|
["Papilio", "Butterfly"],
|
|
["Ovis", "Sheep"],
|
|
["Crocodylus", "Crocodile"],
|
|
["Cuniculus", "Rabbit"],
|
|
["Lepos", "Rabbit"],
|
|
["Cygnus", "Swan"],
|
|
["Delphinus", "Dolphin"],
|
|
["Python", "Python"],
|
|
["Equus", "Horse"],
|
|
["Grus", "Crane"],
|
|
["Lupus", "Wolf"],
|
|
["Mus", "Mouse"],
|
|
["Polypus", "Octopus"],
|
|
["Scorpio", "Scorpion"],
|
|
["Taurus", "Bull"],
|
|
["Leo", "Lion"],
|
|
["Castor", "Beaver"],
|
|
["Bufo", "Toad"],
|
|
["Lynx", "Lynx"],
|
|
["Oculus", "Eye"],
|
|
["Canis", "Dog"],
|
|
["Draco", "Dragon"],
|
|
["Surculus", "Sapling"],
|
|
["Mons", "Mountain"],
|
|
["Elephas", "Elephant"],
|
|
["Acus", "Needle"],
|
|
["Falco", "Falcon"],
|
|
["Gladius", "Sword"],
|
|
["Ambitus", "Compass"],
|
|
["Malleus", "Hammer"],
|
|
["Fluvius", "River"],
|
|
["Pons", "Bridge"],
|
|
["Ignis", "Fire"],
|
|
["Adamas", "Diamond"],
|
|
["Miles", "Soldier"],
|
|
["Sagittarius", "Archer"],
|
|
["Eques", "Knight"],
|
|
["Liber", "Book"],
|
|
["Flos", "Flower"],
|
|
["Peniculus", "Brush"],
|
|
["Dens", "Tooth"],
|
|
["Scutum", "Shield"],
|
|
["Scalprum", "Chisel"],
|
|
["Horologium", "Clock"],
|
|
["Templum", "Temple"],
|
|
["Focale", "Scarf"],
|
|
["Castellum", "Castle"],
|
|
["Folium", "Leaf"],
|
|
["Cornu", "Horn"],
|
|
["Tympanum", "Drum"],
|
|
["Solium", "Throne"],
|
|
["Volumen", "Scroll"],
|
|
["Cor", "Heart"]
|
|
];
|
|
var nm2 = [
|
|
["Abyssus", "Abyss"],
|
|
["Angelus", "Angel's"],
|
|
["Sicarius", "Assassin"],
|
|
["Caverna", "Cave"],
|
|
["Diluculum", "Dawn's"],
|
|
["Mors", "Death's"],
|
|
["Daemon", "Demon"],
|
|
["Diabolus", "Devil's"],
|
|
["Draco", "Dragon"],
|
|
["Crepusculum", "Dusk's"],
|
|
["Ignis", "Fire"],
|
|
["Phasma", "Ghost"],
|
|
["Gigas", "Giant"],
|
|
["Tumulus", "Grave"],
|
|
["Glacies", "Ice"],
|
|
["Rex", "King's"],
|
|
["Vita", "Life's"],
|
|
["Amor", "Love's"],
|
|
["Luna", "Moon"],
|
|
["Palus", "Marsh"],
|
|
["Mons", "Mountain"],
|
|
["Oceanus", "Ocean"],
|
|
["Regina", "Queen's"],
|
|
["Fluvius", "River's"],
|
|
["Umbra", "Shadow's"],
|
|
["Sol", "Sun"],
|
|
["Somnium", "Dream"],
|
|
["Hortus", "Garden"],
|
|
["Dei", "God's"],
|
|
["Patronus", "Protector"],
|
|
["Custos", "Guardian"]
|
|
];
|
|
var nm3 = [
|
|
["Magnus", "Magna", "Magnum", "Large/Great"],
|
|
["Bonus", "Bona", "Bonum", "Good"],
|
|
["Albus", "Alba", "Album", "White"],
|
|
["Ater", "Atra", "Atrum", "Black"],
|
|
["Aureus", "Aura", "Aurum", "Gold"],
|
|
["Minimus", "Minima", "Minimum", "Small"],
|
|
["Enormis", "Enormis", "Enorme", "Enormous"],
|
|
["Immanis", "Immanis", "Immane", "Huge"],
|
|
["Solus", "Sola", "Solum", "Lonely"],
|
|
["Bellus", "Bella", "Bellum", "Beautiful"],
|
|
["Brevis", "Brevis", "Breve", "Short"],
|
|
["Elegans", "Elegans", "Elegans", "Elegant"],
|
|
["Veteris", "Veteris", "Vetere", "Old"],
|
|
["Novus", "Nova", "Novum", "New"],
|
|
["Pulcher", "Pulchra", "Pulchrun", "Beautiful"],
|
|
["Liber", "Libera", "Liberum", "Free"],
|
|
["Venestus", "Venusta", "Venustum", "Adorable"],
|
|
["Obscurus", "Obscura", "Obscurum", "Dark"],
|
|
["Externus", "Externa", "Externum", "Foreign"],
|
|
["Splendidus", "Splendida", "Splendidum", "Radiant"],
|
|
["Succineus", "Succinea", "Succineum", "Amber"],
|
|
["Caeruleus", "Caerulea", "Caeruleum", "Blue"],
|
|
["Viridis", "Viridis", "Viride", "Green"],
|
|
["Eburneus", "Eburnea", "Eburneum", "Ivory"],
|
|
["Ruber", "Rubra", "Rubrum", "Red"],
|
|
["Adamantinus", "Adamantina", "Adamantinum", "Adamantine"],
|
|
["Angelicus", "Angelica", "Angelicum", "Angelic"],
|
|
["Magicus", "Magica", "Magicum", "Magical"],
|
|
["Pallidus", "Pallida", "Pallidum", "Ashen"],
|
|
["Barbaricus", "Barbarica", "Barbaricum", "Barbaric"],
|
|
["Clarus", "Clara", "Clarum", "Brilliant"],
|
|
["Coccineus", "Coccinea", "Coccineum", "Crimson"],
|
|
["Elementarius", "Elementaria", "Elementarium", "Elemental"],
|
|
["Aeternus", "Aeterna", "Aeternu", "Eternal"],
|
|
["Elatus", "Elata", "Elatum", "Eternal"],
|
|
["Destitutus", "Destituta", "Destitutum", "Forlorn"],
|
|
["Glacialis", "Glacialis", "Glaciale", "Frozen"],
|
|
["Ardens", "Ardens", "Ardentis", "Glowing"],
|
|
["Decorus", "Decora", "Decorum", "Graceful"],
|
|
["Magnificus", "Magnifica", "Magnificum", "Grand"],
|
|
["Truculentus", "Truculenta", "Truculentum", "Grim"],
|
|
["Caelestis", "Caelestis", "Caeleste", "Heavenly"],
|
|
["Infernus", "Inferna", "Infernum", "Hellish"],
|
|
["Fabulosus", "Fabolusa", "Fabolusum", "Legendary"],
|
|
["Fortunatus", "Fortunata", "Fortunatum", "Lucky"],
|
|
["Fidelis", "Fidelis", "Fidele", "Loyal"],
|
|
["Lunaris", "Lunaris", "Lunare", "Lunar"],
|
|
["Insanus", "Insana", "Insanum", "Mad"],
|
|
["Imperiosus", "Imperiosa", "Imperiosum", "Masterful"],
|
|
["Potens", "Potens", "Potentis", "Mighty"],
|
|
["Mysticus", "Mystica", "Mysticum", "Mystic"],
|
|
["Obscurus", "Obscura", "Obscurum", "Obscure"],
|
|
["Primus", "Prima", "Primum", "Prime"],
|
|
["Regius", "Regia", "Regium", "Regal"],
|
|
["Lactus", "Lacta", "Lactum", "Sanguine"],
|
|
["Saevus", "Saeva", "Saevum", "Savage"],
|
|
["Umbrosus", "Umbrosa", "Umbrosum", "Shady"],
|
|
["Quietus", "Quieta", "Quietum", "Sleeping"],
|
|
["Laetus", "Laeta", "Laetum", "Smiling"],
|
|
["Solaris", "Solaris", "Solare", "Solar"],
|
|
["Summus", "Summa", "Summum", "Supreme"],
|
|
["Tranquillus", "Tranquilla", "Tranquillum", "Tranquil"],
|
|
["Protervus", "Proterva", "Protervum", "Wayward"],
|
|
["Alatus", "Alata", "Alatum", "Winged"],
|
|
["Ligneus", "Lignea", "Ligneum", "Wooden"],
|
|
["Ferus", "Fera", "Ferum", "Wild"],
|
|
["Aquatilis", "Aquatilis", "Aquatile", "Aquatic"],
|
|
["Fragrans", "Fragrans", "Frangantis", "Fragrant"],
|
|
["Caecus", "Caeca", "Caecum", "Invisible"],
|
|
["Invictus", "Invicta", "Invictum", "Invincible"],
|
|
["Divinus", "Divina", "Divinum", "Divine"]
|
|
];
|
|
var br = "";
|
|
|
|
function nameGen() {
|
|
$('#placeholder').css('textTransform', 'capitalize');
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
for (i = 0; i < 10; i++) {
|
|
nTp = Math.random() * 6 | 0;
|
|
rnd = Math.random() * nm1.length | 0;
|
|
if (nTp < 2) {
|
|
nMs = nm1[rnd][0] + " (" + nm1[rnd][1] + ")"
|
|
} else {
|
|
if (nTp < 4) {
|
|
rnd2 = Math.random() * nm2.length | 0;
|
|
while (nm2[rnd2][0] === nm1[rnd][0]) {
|
|
rnd2 = Math.random() * nm2.length | 0;
|
|
}
|
|
nMs = nm1[rnd][0] + " " + nm2[rnd2][0] + " (" + nm2[rnd2][1] + " " + nm1[rnd][1] + ")"
|
|
} else {
|
|
rnd2 = Math.random() * nm3.length | 0;
|
|
if (rnd < 47) {
|
|
nMs = nm1[rnd][0] + " " + nm3[rnd2][1] + " (" + nm3[rnd2][3] + " " + nm1[rnd][1] + ")"
|
|
} else if (rnd < 101) {
|
|
nMs = nm1[rnd][0] + " " + nm3[rnd2][0] + " (" + nm3[rnd2][3] + " " + nm1[rnd][1] + ")"
|
|
} else {
|
|
nMs = nm1[rnd][0] + " " + nm3[rnd2][2] + " (" + nm3[rnd2][3] + " " + nm1[rnd][1] + ")"
|
|
}
|
|
}
|
|
}
|
|
br = document.createElement('br');
|
|
element.appendChild(document.createTextNode(nMs));
|
|
element.appendChild(br);
|
|
}
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|