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.

897 lines
12 KiB
JavaScript

var nm1 = [
[
["Nigri"],
["Black"]
],
[
["Cyano"],
["Blue"]
],
[
["Chloro"],
["Green"]
],
[
["Leuco"],
["White"]
],
[
["Xantho"],
["Yellow"]
],
[
["Acro"],
["High"]
],
[
["Alectro"],
["Eagle"]
],
[
["Amygdalo"],
["Almond"]
],
[
["Ankylo"],
["Stiff"]
],
[
["Apato"],
["Deceptive"]
],
[
["Archaeo"],
["Ancient"]
],
[
["Avi"],
["Bird"]
],
[
["Baga"],
["Small"]
],
[
["Baro"],
["Heavy"]
],
[
["Bellu"],
["Fine"]
],
[
["Brachy"],
["Short"]
],
[
["Callio"],
["Beautiful"]
],
[
["Campto"],
["Bent"]
],
[
["Centro"],
["Sharp Pointed"]
],
[
["Cerato"],
["Horned"]
],
[
["Coelo"],
["Hollow"]
],
[
["Colosso"],
["Gigantic"]
],
[
["Cyrto"],
["Curved"]
],
[
["Gampso"],
["Curved"]
],
[
["Cerato"],
["Horn"]
],
[
["Cyclo"],
["Round"]
],
[
["Gyro"],
["Round"]
],
[
["Gymno"],
["Bare"]
],
[
["Trachy"],
["Rough"]
],
[
["Acantho"],
["Spiny"]
],
[
["Rugos"],
["Wrinkled"]
],
[
["Di"],
["Two"]
],
[
["Macro"],
["Large"]
],
[
["Mega"],
["Large"]
],
[
["Aepy"],
["Tall"]
],
[
["Decan"],
["Pointed"]
],
[
["Deino"],
["Terrible"]
],
[
["Di"],
["Two"]
],
[
["Dicraeo"],
["Forked"]
],
[
["Dilipho"],
["Two Ridged"]
],
[
["Draco"],
["Dragon"]
],
[
["Elaphro"],
["Fleet"]
],
[
["Eu"],
["Well"]
],
[
["Gorgo"],
["Fierce"]
],
[
["Hadro"],
["Big"]
],
[
["Haplo"],
["Simple"]
],
[
["Hetero"],
["Different"]
],
[
["Homo"],
["Same"]
],
[
["Kentro"],
["Spiky"]
],
[
["Krito"],
["Noble"]
],
[
["Lepto"],
["Slim"]
],
[
["Lurdu"],
["Heavy"]
],
[
["Masso"],
["Massive"]
],
[
["Megalo"],
["Big"]
],
[
["Metria"],
["Moderately"]
],
[
["Micro"],
["Tiny"]
],
[
["Nano"],
["Tiny"]
],
[
["Neo"],
["New"]
],
[
["Pachy"],
["Thick"]
],
[
["Pano"],
["Fully"]
],
[
["Peloro"],
["Monstrous"]
],
[
["Plateo"],
["Flat"]
],
[
["Platy"],
["Flat"]
],
[
["Preno"],
["Sloping"]
],
[
["Rhab"],
["Rod"]
],
[
["Spino"],
["Thorn"]
],
[
["Steno"],
["Narrow"]
],
[
["Styraco"],
["Spiked"]
],
[
["Super"],
["Super"]
],
[
["Theco"],
["Socket"]
],
[
["Therizino"],
["Scythe"]
],
[
["Thescelo"],
["Wonderful"]
],
[
["Toro"],
["Bull"]
],
[
["Torvo"],
["Savage"]
]
];
var nm2 = [
[
["rhyncho"],
["Beak"]
],
[
["chelo"],
["Claw"]
],
[
["podo"],
["Foot"]
],
[
["cerco"],
["Tail"]
],
[
["canto"],
["Spined"]
],
[
["cephalo"],
["Headed"]
],
[
["donto"],
["Teeth"]
],
[
["don"],
["Tooth"]
],
[
["lopho"],
["Crested"]
],
[
["ploce"],
["Armored"]
],
[
["plo"],
["Armored"]
],
[
["rhino"],
["Nosed"]
],
[
["trachelo"],
["Necked"]
]
];
var nm4 = [
[
["Acantho"],
["Spiny"]
],
[
["Acro"],
["High"]
],
[
["Aegypto"],
["Egyptian"]
],
[
["Aepy"],
["Tall"]
],
[
["Afro"],
["African"]
],
[
["Agili"],
["Agile"]
],
[
["Alectro"],
["Eagle"]
],
[
["Ammo"],
["Sand"]
],
[
["Anchi"],
["Near"]
],
[
["Ankylo"],
["Stiff"]
],
[
["Antarcto"],
["Antarctic"]
],
[
["Apato"],
["Deceptive"]
],
[
["Archaeo"],
["Ancient"]
],
[
["Arrhino"],
["Without Nose"]
],
[
["Austro"],
["South"]
],
[
["Avi"],
["Bird"]
],
[
["Baga"],
["Small"]
],
[
["Baro"],
["Heavy"]
],
[
["Bellu"],
["Fine"]
],
[
["Brachio"],
["Arm"]
],
[
["Brachy"],
["Short"]
],
[
["Callio"],
["Beautiful"]
],
[
["Campto"],
["Bent"]
],
[
["Carno"],
["Carnivorous"]
],
[
["Cerato"],
["Horned"]
],
[
["Chloro"],
["Green"]
],
[
["Coelo"],
["Hollow"]
],
[
["Colosso"],
["Giant"]
],
[
["Cyano"],
["Blue"]
],
[
["Cyclo"],
["Round"]
],
[
["Cyrto"],
["Curved"]
],
[
["Daspleto"],
["Frightful"]
],
[
["Deino"],
["Terrible"]
],
[
["Di"],
["Two"]
],
[
["Dicraeo"],
["Forked"]
],
[
["Dilipho"],
["Two Ridged"]
],
[
["Draco"],
["Dragon"]
],
[
["Dromaeo"],
["Running"]
],
[
["Drypto"],
["Tearing"]
],
[
["Echino"],
["Spiny"]
],
[
["Elaphro"],
["Fleet"]
],
[
["Eo"],
["Dawn"]
],
[
["Eu"],
["Well"]
],
[
["Gampso"],
["Curved"]
],
[
["Gorgo"],
["Fierce"]
],
[
["Gymno"],
["Bare"]
],
[
["Gyro"],
["Round"]
],
[
["Hadro"],
["Big"]
],
[
["Haplo"],
["Simple"]
],
[
["Hespero"],
["Western"]
],
[
["Hetero"],
["Different"]
],
[
["Hylaeo"],
["Woodland"]
],
[
["Kentro"],
["Spiky"]
],
[
["Krito"],
["Noble"]
],
[
["Lasio"],
["Hairy"]
],
[
["Lepto"],
["Slim"]
],
[
["Leuco"],
["White"]
],
[
["Lopho"],
["Crested"]
],
[
["Lurdu"],
["Heavy"]
],
[
["Macro"],
["Large"]
],
[
["Masso"],
["Massive"]
],
[
["Mega"],
["Large"]
],
[
["Megalo"],
["Big"]
],
[
["Metria"],
["Moderately"]
],
[
["Micro"],
["Tiny"]
],
[
["Mono"],
["Single"]
],
[
["Nano"],
["Dwarf"]
],
[
["Nano"],
["Tiny"]
],
[
["Neo"],
["New"]
],
[
["Nigri"],
["Black"]
],
[
["Oro"],
["Mountain"]
],
[
["Orycto"],
["Digging"]
],
[
["Ovi"],
["Egg"]
],
[
["Pachy"],
["Thick"]
],
[
["Parali"],
["Tidal"]
],
[
["Peloro"],
["Monstrous"]
],
[
["Plateo"],
["Flat"]
],
[
["Platy"],
["Flat"]
],
[
["Pogono"],
["Bearded"]
],
[
["Preno"],
["Sloping"]
],
[
["Prenoce"],
["Sloping"]
],
[
["Pro"],
["Before"]
],
[
["Proto"],
["Before"]
],
[
["Rhab"],
["Rod"]
],
[
["Rugos"],
["Wrinkled"]
],
[
["Salto"],
["Hopping"]
],
[
["Sarco"],
["Flesh"]
],
[
["Segno"],
["Slow"]
],
[
["Silvi"],
["Forest"]
],
[
["Sino"],
["Chinese"]
],
[
["Spino"],
["Thorn"]
],
[
["Stego"],
["Roof"]
],
[
["Steno"],
["Narrow"]
],
[
["Styraco"],
["Spiked"]
],
[
["Super"],
["Super"]
],
[
["Theco"],
["Socket"]
],
[
["Therizino"],
["Scythe"]
],
[
["Thescelo"],
["Wonderful"]
],
[
["Toro"],
["Bull"]
],
[
["Torvo"],
["Savage"]
],
[
["Trachy"],
["Rough"]
],
[
["Trichodo"],
["Hairy"]
],
[
["Troo"],
["Wounding"]
],
[
["Tyloce"],
["Swelling"]
],
[
["Tyranno"],
["Tyrant"]
],
[
["Veloci"],
["Quick"]
],
[
["Xantho"],
["Yellow"]
]
];
var nm5 = [
[
["don"],
["Tooth"]
],
[
["bator"],
["Hero"]
],
[
["canthus"],
["Spine"]
],
[
["ceras"],
["Roof"]
],
[
["docus"],
["Neck"]
],
[
["dromeus"],
["Runner"]
],
[
["lestes"],
["Stealer"]
],
[
["lodon"],
["Tooth"]
],
[
["mimus"],
["Mimic"]
],
[
["moloch"],
["Demon"]
],
[
["nychus"],
["Claw"]
],
[
["pelix"],
["Pelvis"]
],
[
["pelta"],
["Shield"]
],
[
["cephalus"],
["Head"]
],
[
["pteryx"],
["Wing"]
],
[
["pus"],
["Foot"]
],
[
["rhinus"],
["Snout"]
],
[
["rhothon"],
["Nose"]
],
[
["tholus"],
["Dome"]
],
[
["titan"],
["Giant"]
],
[
["tyrannus"],
["Tyrant"]
],
[
["venator"],
["Hunter"]
]
];
var br = "";
function nameGen() {
var element = document.createElement("div");
element.setAttribute("id", "result");
for (i = 0; i < 10; i++) {
if (i < 5) {
rnd = Math.floor(Math.random() * nm4.length);
rnd2 = Math.floor(Math.random() * nm5.length);
names = "Draco " + nm4[rnd][0] + nm5[rnd2][0] + " (" + nm4[rnd][1] + " " + nm5[rnd2][1] + " Dragon)";
} else {
rnd = Math.floor(Math.random() * nm1.length);
rnd2 = Math.floor(Math.random() * nm2.length);
names = nm1[rnd][0] + nm2[rnd2][0] + "draco (" + nm1[rnd][1] + " " + nm2[rnd2][1] + " Dragon)";
}
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);
}