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.
151 lines
16 KiB
JavaScript
151 lines
16 KiB
JavaScript
var nm1 = ["Two", "Two", "Two", "Three", "Four", "Two"];
|
|
var nm2 = ["beady", "broad", "bug-eyed", "clear", "close-set", "dead", "doe-eyed", "enormous", "giant", "glassy", "glowing", "heavy", "hollow", "hooded", "large", "narrow", "shiny", "shuttered", "small", "sunken", "thin", "tiny", "wide"];
|
|
var nm3 = ["observe", "study", "watch", "inspect", "examine", "monitor", "survey", "look at", "view"];
|
|
var nm4 = ["narrow", "wide", "broad", "large", "thin", "deep", "huge", "bony"];
|
|
var nm5 = ["big", "broad", "crooked", "flat", "gentle", "large", "narrow", "pig-like", "pointy", "round", "short", "small", "tiny", "wide"];
|
|
var nm6 = ["narrow", "large", "wide", "long", "shallow", "deep", "average", "normal", "ordinary", "small"];
|
|
var nm7 = ["sly", "shy", "wide", "happy", "gentle", "creepy", "brittle", "gummy", "lazy", "sardonic", "thin"];
|
|
var nm8 = ["sharp", "long", "pointy", "short", "small", "stubby", "dull", "thin", "crooked", "large", "creepy", "eerie"];
|
|
var nm9 = ["flat", "broad", "thin", "long", "wide", "small", "large"];
|
|
var nm10 = ["Short", "Long", "Narrow", "Wide", "Broad", "Large", "Small", "Thin"];
|
|
var nm11 = ["pointy", "round", "bent", "squared"];
|
|
var nm12 = ["long", "short", "average", "small", "large"];
|
|
var nm13 = ["narrow", "wide", "thin", "broad", "rounded", "squared", "pointy"];
|
|
var nm14 = ["thick", "curly", "thin", "long", "short", "wavy", "coarse", "soft", "very long", "silken"];
|
|
var nm15 = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", " and has two small horns protruding from the top", " and has two small horns protruding from the sides", " and has two curved horns protruding from the top", " and has two curved horns protruding from the sides", " and has two stubby horns protruding from the top", " and has two stubby horns protruding from the sides", " and has two thin horns protruding from the top", " and has two thin horns protruding from the sides", " and has two broad horns protruding from the top", " and has two broad horns protruding from the sides"];
|
|
var nm16 = ["short", "long", "tall", "small", "low", "average"];
|
|
var nm17 = ["muscular", "broad", "thin", "skinny", "lean", "fat", "slender", "bulky", "chunky", "hefty", "athletic", "stout", "brawny"];
|
|
var nm18 = ["stands straight", "is slightly hunched over", "is hunched over", "stands straight"];
|
|
var nm19 = ["long", "thick", "short", "broad", "average", "thin", "lean"];
|
|
var nm20 = ["dangle", "hang", "rest"];
|
|
var nm21 = ["small", "gentle", "graceful", "large", "thin", "narrow", "wide", "broad"];
|
|
var nm22 = ["long", "thick", "thin", "short", "stubby", "small", "curvy"];
|
|
var nm23 = ["normal", "long", "sharp", "claw-like", "dull", "thin", "pointy", "broad"];
|
|
var nm24 = ["long", "muscular", "broad", "short", "small", "tall", "wide", "lean", "thin", "skinny"];
|
|
var nm25 = ["stand straight", "are slightly bent", "are bent", "stand straight"];
|
|
var nm26 = ["large", "broad", "small", "short", "wide", "big", "hairy", "flat"];
|
|
var nm27 = ["short fur", "coarse skin", "smooth skin", "soft skin", "delicate skin", "coarse fur", "thick fur", "coarse skin", "smooth skin", "soft skin", "delicate skin", "small scales", "thick skin", "thick scales"];
|
|
var nm28 = ["broader than", "narrower than", "about the same width as"];
|
|
var nm29 = ["", "", "", "", "", "", "", "", "", "", "", "", ", from which a long tail sways back and forth", ", from which a short tail sways back and forth", ", from which a broad tail sways back and forth", ", from which a thin tail sways back and forth", ", from which a small tail sways back and forth", ", from which a large tail sways back and forth", ", from which a narrow tail sways back and forth"];
|
|
var nm34 = ["narrow", "wide", "broad", "large", "thin", "deep", "huge", "bony", "scaly", "eerie", "slimy", "bulging", "enormous", "giant", "tiny"];
|
|
var nm35 = ["big", "broad", "crooked", "flat", "gentle", "large", "narrow", "pig-like", "pointy", "round", "short", "small", "tiny", "wide", "barely existing", "snake-like", "reptilian", "bony", "spiky", "hollow", "bent", "sharp", "hooked", "thin", "narrow"];
|
|
var nm36 = ["narrow", "large", "wide", "long", "shallow", "deep", "normal", "small", "huge", "massive", "tiny", "giant", "overbite", "underbite", "enormous"];
|
|
var nm37 = ["sly", "shy", "wide", "happy", "gentle", "creepy", "brittle", "gummy", "lazy", "sardonic", "thin"];
|
|
var nm38 = ["rows upon rows of small teeth", "rows upon rows of teeth", "two large fangs", "two small fangs", "two large canines", "two small canines", "rows of eerie looking teeth", "several rows of sharp teeth", "monstrous teeth", "curved fangs", "rows of crooked teeth", "rows of dull teeth", "only a few teeth here and there", "rows of huge teeth", "several huge dull teeth", "several huge sharp teeth", "several large broken teeth", "rows of broken teeth", "rows of shark-like teeth"];
|
|
var nm39 = ["flat", "broad", "thin", "long", "wide", "small", "large", "very long", "forked", "huge", "coarse", "slimy"];
|
|
var nm40 = ["Short", "Long", "Narrow", "Wide", "Broad", "Large", "Small", "Thin", "Huge", "Enormous", "Tiny", "Massive"];
|
|
var nm41 = ["pointy", "round", "bent", "squared", "fan-like", "spiky", "bony", "warped", "hanging", "flappy", "stubby", "wrinkled", "jagged"];
|
|
var nm42 = ["long", "short", "average", "small", "large", "huge", "tiny", "massive"];
|
|
var nm43 = ["narrow", "wide", "thin", "broad", "rounded", "squared", "pointy", "oval", "angular", "wrinkled", "lean", "bony", "triangular"];
|
|
var nm44 = ["long hairs", "coarse hairs", "short hairs", "rows of small horns", "rows of small spikes", "small tentacles", "thin hair-like tentacles", "bony ridges", "bony spikes", "web-like fans", "tiny hairs", "tattoo-like markings", "scar-like carvings", "soft hair", "scaly ridges"];
|
|
var nm45 = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", " and has two small horns protruding from the top", " and has two small horns protruding from the sides", " and has two curved horns protruding from the top", " and has two curved horns protruding from the sides", " and has two stubby horns protruding from the top", " and has two stubby horns protruding from the sides", " and has two thin horns protruding from the top", " and has two thin horns protruding from the sides", " and has two broad horns protruding from the top", " and has two broad horns protruding from the sides", " and has two large tentacles protruding from the top", " and has two large tentacles protruding from the sides", " and has two large antlers protruding from the top", " and has two large antlers protruding from the sides", " and has two bony spikes protruding from the top", " and has two bony spikes protruding from the sides", " and has two huge horns protruding from the top", " and has two huge horns protruding from the sides", " and has two small tentacles protruding from the top", " and has two small tentacles protruding from the sides", " and has two small antlers protruding from the top", " and has two small antlers protruding from the sides", " and has several bony spikes protruding from the top", " and has several bony spikes protruding from the sides", " and has several large tentacles protruding from the top", " and has several large tentacles protruding from the sides"];
|
|
var nm49 = ["long", "thick", "short", "broad", "average", "thin", "lean"];
|
|
var nm50 = ["arms", "tentacle-like arms", "bony arms", "almost branch-like arms", "stone-like arms", "fleshy arms", "warping arms", "crooked arms"];
|
|
var nm51 = ["small", "large", "thin", "narrow", "wide", "broad", "bony", "webbed", "tentacle-like", "claw-like", "bent", "crooked", "massive", "huge", "tiny", "stone-like"];
|
|
var nm52 = ["long", "thick", "thin", "short", "stubby", "small", "curvy", "bent", "very long", "sharp nailed", "long nailed", "claw-like"];
|
|
var nm53 = ["6", "8", "10", "12"];
|
|
var nm54 = ["long", "muscular", "broad", "short", "small", "wide", "lean", "thin", "skinny", "crooked"];
|
|
var nm55 = ["feet", "hooves", "feet", "paws"];
|
|
var nm56 = ["large", "broad", "small", "short", "wide", "big", "hairy", "flat", "webbed", "enormous", "massive", "bony", "scaly", "spiky"];
|
|
var nm57 = ["short fur", "coarse skin", "smooth skin", "soft skin", "delicate skin", "coarse fur", "thick fur", "coarse skin", "smooth skin", "soft skin", "delicate skin", "small scales", "thick skin", "thick scales", "slime", "slimy scales", "large scales", "rock-like scales", "fluffy fur", "nasty skin", "wood-like skin", "small feathers", "large feathers", "feathers", "oily skin", "armor-like scales", "large armor-like scales"];
|
|
var nm59 = ["", "", "", "", "", "", "", "", "", "", "", "", ", from which a long tail sways back and forth", ", from which a short tail sways back and forth", ", from which a broad tail sways back and forth", ", from which a thin tail sways back and forth", ", from which a small tail sways back and forth", ", from which a large tail sways back and forth", ", from which a narrow tail sways back and forth", ", from which a massive tail sways back and forth", ", from which a bony tail sways back and forth", ", from which a spiked tail sways back and forth", ", from which a tentacle-like tail grows", ", from which a coarse tail sways back and forth", ", from which a split tail sways back and forth", ", from which a forked tail sways back and forth", ", from which a bladed tail sways back and forth", ", from which a fanned tail sways back and forth"];
|
|
|
|
function nameGen(type) {
|
|
var tp = type;
|
|
if (tp === 1) {
|
|
var rnd1 = parseInt(Math.floor(Math.random() * nm1.length));
|
|
var rnd2 = parseInt(Math.floor(Math.random() * nm2.length));
|
|
var rnd3 = parseInt(Math.floor(Math.random() * nm3.length));
|
|
var rnd34 = parseInt(Math.floor(Math.random() * nm34.length));
|
|
var rnd35 = parseInt(Math.floor(Math.random() * nm35.length));
|
|
var rnd36 = parseInt(Math.floor(Math.random() * nm36.length));
|
|
var rnd37 = parseInt(Math.floor(Math.random() * nm37.length));
|
|
var rnd38 = parseInt(Math.floor(Math.random() * nm38.length));
|
|
var rnd39 = parseInt(Math.floor(Math.random() * nm39.length));
|
|
var rnd40 = parseInt(Math.floor(Math.random() * nm40.length));
|
|
var rnd41 = parseInt(Math.floor(Math.random() * nm41.length));
|
|
var rnd42 = parseInt(Math.floor(Math.random() * nm42.length));
|
|
var rnd43 = parseInt(Math.floor(Math.random() * nm43.length));
|
|
var rnd44 = parseInt(Math.floor(Math.random() * nm44.length));
|
|
var rnd45 = parseInt(Math.floor(Math.random() * nm45.length));
|
|
var rnd16 = parseInt(Math.floor(Math.random() * nm16.length));
|
|
var rnd17 = parseInt(Math.floor(Math.random() * nm17.length));
|
|
var rnd18 = parseInt(Math.floor(Math.random() * nm18.length));
|
|
var rnd49 = parseInt(Math.floor(Math.random() * nm49.length));
|
|
var rnd50 = parseInt(Math.floor(Math.random() * nm50.length));
|
|
var rnd20 = parseInt(Math.floor(Math.random() * nm20.length));
|
|
var rnd51 = parseInt(Math.floor(Math.random() * nm51.length));
|
|
var rnd52 = parseInt(Math.floor(Math.random() * nm52.length));
|
|
var rnd53 = parseInt(Math.floor(Math.random() * nm53.length));
|
|
var rnd54 = parseInt(Math.floor(Math.random() * nm54.length));
|
|
var rnd24 = parseInt(Math.floor(Math.random() * nm24.length));
|
|
var rnd25 = parseInt(Math.floor(Math.random() * nm25.length));
|
|
var rnd55 = parseInt(Math.floor(Math.random() * nm55.length));
|
|
var rnd56 = parseInt(Math.floor(Math.random() * nm56.length));
|
|
var rnd57 = parseInt(Math.floor(Math.random() * nm57.length));
|
|
var rnd28 = parseInt(Math.floor(Math.random() * nm28.length));
|
|
var rnd59 = parseInt(Math.floor(Math.random() * nm59.length));
|
|
var name = nm1[rnd1] + " " + nm2[rnd2] + " eyes " + nm3[rnd3] + " their surroundings from their " + nm34[rnd34] + " sockets. A " + nm35[rnd35] + " nose rests below, but it's the " + nm36[rnd36] + " mouth below that takes all the attention. A " + nm37[rnd37] + " smile reveals " + nm38[rnd38] + " and a " + nm39[rnd39] + " tongue.";
|
|
var name2 = nm40[rnd40] + " " + nm41[rnd41] + " ears sit on each side of its " + nm42[rnd42] + ", " + nm43[rnd43] + " head, which itself is covered in " + nm44[rnd44] + nm45[rnd45] + ".";
|
|
var name3 = "Its " + nm16[rnd16] + " " + nm17[rnd17] + " body " + nm18[rnd18] + ". Two " + nm49[rnd49] + " " + nm50[rnd50] + " " + nm20[rnd20] + " at its sides and end in " + nm51[rnd51] + " hands with " + nm52[rnd52] + " fingers, of which it has " + nm53[rnd53] + " in total.";
|
|
var name4 = "Its legs are " + nm24[rnd24] + " and " + nm25[rnd25] + ", each ending in " + nm54[rnd54] + " " + nm55[rnd55] + ".";
|
|
var name5 = "Its body is covered in " + nm57[rnd57] + " and its shoulders are " + nm28[rnd28] + " its pelvis" + nm59[rnd59] + ".";
|
|
} else {
|
|
var rnd1 = parseInt(Math.floor(Math.random() * nm1.length));
|
|
var rnd2 = parseInt(Math.floor(Math.random() * nm2.length));
|
|
var rnd3 = parseInt(Math.floor(Math.random() * nm3.length));
|
|
var rnd4 = parseInt(Math.floor(Math.random() * nm4.length));
|
|
var rnd5 = parseInt(Math.floor(Math.random() * nm5.length));
|
|
var rnd6 = parseInt(Math.floor(Math.random() * nm6.length));
|
|
var rnd7 = parseInt(Math.floor(Math.random() * nm7.length));
|
|
var rnd8 = parseInt(Math.floor(Math.random() * nm8.length));
|
|
var rnd9 = parseInt(Math.floor(Math.random() * nm9.length));
|
|
var rnd10 = parseInt(Math.floor(Math.random() * nm10.length));
|
|
var rnd11 = parseInt(Math.floor(Math.random() * nm11.length));
|
|
var rnd12 = parseInt(Math.floor(Math.random() * nm12.length));
|
|
var rnd13 = parseInt(Math.floor(Math.random() * nm13.length));
|
|
var rnd14 = parseInt(Math.floor(Math.random() * nm14.length));
|
|
var rnd15 = parseInt(Math.floor(Math.random() * nm15.length));
|
|
var rnd16 = parseInt(Math.floor(Math.random() * nm16.length));
|
|
var rnd17 = parseInt(Math.floor(Math.random() * nm17.length));
|
|
var rnd18 = parseInt(Math.floor(Math.random() * nm18.length));
|
|
var rnd19 = parseInt(Math.floor(Math.random() * nm19.length));
|
|
var rnd20 = parseInt(Math.floor(Math.random() * nm20.length));
|
|
var rnd21 = parseInt(Math.floor(Math.random() * nm21.length));
|
|
var rnd22 = parseInt(Math.floor(Math.random() * nm22.length));
|
|
var rnd23 = parseInt(Math.floor(Math.random() * nm23.length));
|
|
var rnd24 = parseInt(Math.floor(Math.random() * nm24.length));
|
|
var rnd25 = parseInt(Math.floor(Math.random() * nm25.length));
|
|
var rnd26 = parseInt(Math.floor(Math.random() * nm26.length));
|
|
var rnd27 = parseInt(Math.floor(Math.random() * nm27.length));
|
|
var rnd28 = parseInt(Math.floor(Math.random() * nm28.length));
|
|
var rnd29 = parseInt(Math.floor(Math.random() * nm29.length));
|
|
var name = nm1[rnd1] + " " + nm2[rnd2] + " eyes " + nm3[rnd3] + " their surroundings from their " + nm4[rnd4] + " sockets. A " + nm5[rnd5] + " nose rests below, but it's the " + nm6[rnd6] + " mouth below that takes all the attention. A " + nm7[rnd7] + " smile reveals two " + nm8[rnd8] + " canines and a " + nm9[rnd9] + " tongue.";
|
|
var name2 = nm10[rnd10] + " " + nm11[rnd11] + " ears sit on each side of its " + nm12[rnd12] + ", " + nm13[rnd13] + " head, which itself is covered in " + nm14[rnd14] + nm15[rnd15] + " hair.";
|
|
var name3 = "Its " + nm16[rnd16] + " " + nm17[rnd17] + " body " + nm18[rnd18] + ". Two " + nm19[rnd19] + " arms " + nm20[rnd20] + " at its sides and end in " + nm21[rnd21] + " hands with " + nm22[rnd22] + " fingers, each with " + nm23[rnd23] + " nails.";
|
|
var name4 = "Its legs are " + nm24[rnd24] + " and " + nm25[rnd25] + ", each ending in " + nm26[rnd26] + " feet.";
|
|
var name5 = "Its body is covered in " + nm27[rnd27] + " and its shoulders are " + nm28[rnd28] + " its pelvis" + nm29[rnd29] + ".";
|
|
}
|
|
var br = [];
|
|
for (i = 0; i < 6; i++) {
|
|
br[i] = document.createElement('br');
|
|
}
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
element.appendChild(document.createTextNode(name));
|
|
element.appendChild(br[0]);
|
|
element.appendChild(document.createTextNode(name2));
|
|
element.appendChild(br[1]);
|
|
element.appendChild(br[2]);
|
|
element.appendChild(document.createTextNode(name3));
|
|
element.appendChild(br[3]);
|
|
element.appendChild(document.createTextNode(name4));
|
|
element.appendChild(br[4]);
|
|
element.appendChild(br[5]);
|
|
element.appendChild(document.createTextNode(name5));
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|