offline-fantasy-name-generators

Offline version of www.fantasynamegenerators.com
git clone https://git.neptards.moe/neptards/offline-fantasy-name-generators.git
Log | Files | Refs | README

humanoidDescriptions.js (16819B)


      1 var nm1 = ["Two", "Two", "Two", "Three", "Four", "Two"];
      2 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"];
      3 var nm3 = ["observe", "study", "watch", "inspect", "examine", "monitor", "survey", "look at", "view"];
      4 var nm4 = ["narrow", "wide", "broad", "large", "thin", "deep", "huge", "bony"];
      5 var nm5 = ["big", "broad", "crooked", "flat", "gentle", "large", "narrow", "pig-like", "pointy", "round", "short", "small", "tiny", "wide"];
      6 var nm6 = ["narrow", "large", "wide", "long", "shallow", "deep", "average", "normal", "ordinary", "small"];
      7 var nm7 = ["sly", "shy", "wide", "happy", "gentle", "creepy", "brittle", "gummy", "lazy", "sardonic", "thin"];
      8 var nm8 = ["sharp", "long", "pointy", "short", "small", "stubby", "dull", "thin", "crooked", "large", "creepy", "eerie"];
      9 var nm9 = ["flat", "broad", "thin", "long", "wide", "small", "large"];
     10 var nm10 = ["Short", "Long", "Narrow", "Wide", "Broad", "Large", "Small", "Thin"];
     11 var nm11 = ["pointy", "round", "bent", "squared"];
     12 var nm12 = ["long", "short", "average", "small", "large"];
     13 var nm13 = ["narrow", "wide", "thin", "broad", "rounded", "squared", "pointy"];
     14 var nm14 = ["thick", "curly", "thin", "long", "short", "wavy", "coarse", "soft", "very long", "silken"];
     15 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"];
     16 var nm16 = ["short", "long", "tall", "small", "low", "average"];
     17 var nm17 = ["muscular", "broad", "thin", "skinny", "lean", "fat", "slender", "bulky", "chunky", "hefty", "athletic", "stout", "brawny"];
     18 var nm18 = ["stands straight", "is slightly hunched over", "is hunched over", "stands straight"];
     19 var nm19 = ["long", "thick", "short", "broad", "average", "thin", "lean"];
     20 var nm20 = ["dangle", "hang", "rest"];
     21 var nm21 = ["small", "gentle", "graceful", "large", "thin", "narrow", "wide", "broad"];
     22 var nm22 = ["long", "thick", "thin", "short", "stubby", "small", "curvy"];
     23 var nm23 = ["normal", "long", "sharp", "claw-like", "dull", "thin", "pointy", "broad"];
     24 var nm24 = ["long", "muscular", "broad", "short", "small", "tall", "wide", "lean", "thin", "skinny"];
     25 var nm25 = ["stand straight", "are slightly bent", "are bent", "stand straight"];
     26 var nm26 = ["large", "broad", "small", "short", "wide", "big", "hairy", "flat"];
     27 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"];
     28 var nm28 = ["broader than", "narrower than", "about the same width as"];
     29 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"];
     30 var nm34 = ["narrow", "wide", "broad", "large", "thin", "deep", "huge", "bony", "scaly", "eerie", "slimy", "bulging", "enormous", "giant", "tiny"];
     31 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"];
     32 var nm36 = ["narrow", "large", "wide", "long", "shallow", "deep", "normal", "small", "huge", "massive", "tiny", "giant", "overbite", "underbite", "enormous"];
     33 var nm37 = ["sly", "shy", "wide", "happy", "gentle", "creepy", "brittle", "gummy", "lazy", "sardonic", "thin"];
     34 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"];
     35 var nm39 = ["flat", "broad", "thin", "long", "wide", "small", "large", "very long", "forked", "huge", "coarse", "slimy"];
     36 var nm40 = ["Short", "Long", "Narrow", "Wide", "Broad", "Large", "Small", "Thin", "Huge", "Enormous", "Tiny", "Massive"];
     37 var nm41 = ["pointy", "round", "bent", "squared", "fan-like", "spiky", "bony", "warped", "hanging", "flappy", "stubby", "wrinkled", "jagged"];
     38 var nm42 = ["long", "short", "average", "small", "large", "huge", "tiny", "massive"];
     39 var nm43 = ["narrow", "wide", "thin", "broad", "rounded", "squared", "pointy", "oval", "angular", "wrinkled", "lean", "bony", "triangular"];
     40 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"];
     41 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"];
     42 var nm49 = ["long", "thick", "short", "broad", "average", "thin", "lean"];
     43 var nm50 = ["arms", "tentacle-like arms", "bony arms", "almost branch-like arms", "stone-like arms", "fleshy arms", "warping arms", "crooked arms"];
     44 var nm51 = ["small", "large", "thin", "narrow", "wide", "broad", "bony", "webbed", "tentacle-like", "claw-like", "bent", "crooked", "massive", "huge", "tiny", "stone-like"];
     45 var nm52 = ["long", "thick", "thin", "short", "stubby", "small", "curvy", "bent", "very long", "sharp nailed", "long nailed", "claw-like"];
     46 var nm53 = ["6", "8", "10", "12"];
     47 var nm54 = ["long", "muscular", "broad", "short", "small", "wide", "lean", "thin", "skinny", "crooked"];
     48 var nm55 = ["feet", "hooves", "feet", "paws"];
     49 var nm56 = ["large", "broad", "small", "short", "wide", "big", "hairy", "flat", "webbed", "enormous", "massive", "bony", "scaly", "spiky"];
     50 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"];
     51 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"];
     52 
     53 function nameGen(type) {
     54     var tp = type;
     55     if (tp === 1) {
     56         var rnd1 = parseInt(Math.floor(Math.random() * nm1.length));
     57         var rnd2 = parseInt(Math.floor(Math.random() * nm2.length));
     58         var rnd3 = parseInt(Math.floor(Math.random() * nm3.length));
     59         var rnd34 = parseInt(Math.floor(Math.random() * nm34.length));
     60         var rnd35 = parseInt(Math.floor(Math.random() * nm35.length));
     61         var rnd36 = parseInt(Math.floor(Math.random() * nm36.length));
     62         var rnd37 = parseInt(Math.floor(Math.random() * nm37.length));
     63         var rnd38 = parseInt(Math.floor(Math.random() * nm38.length));
     64         var rnd39 = parseInt(Math.floor(Math.random() * nm39.length));
     65         var rnd40 = parseInt(Math.floor(Math.random() * nm40.length));
     66         var rnd41 = parseInt(Math.floor(Math.random() * nm41.length));
     67         var rnd42 = parseInt(Math.floor(Math.random() * nm42.length));
     68         var rnd43 = parseInt(Math.floor(Math.random() * nm43.length));
     69         var rnd44 = parseInt(Math.floor(Math.random() * nm44.length));
     70         var rnd45 = parseInt(Math.floor(Math.random() * nm45.length));
     71         var rnd16 = parseInt(Math.floor(Math.random() * nm16.length));
     72         var rnd17 = parseInt(Math.floor(Math.random() * nm17.length));
     73         var rnd18 = parseInt(Math.floor(Math.random() * nm18.length));
     74         var rnd49 = parseInt(Math.floor(Math.random() * nm49.length));
     75         var rnd50 = parseInt(Math.floor(Math.random() * nm50.length));
     76         var rnd20 = parseInt(Math.floor(Math.random() * nm20.length));
     77         var rnd51 = parseInt(Math.floor(Math.random() * nm51.length));
     78         var rnd52 = parseInt(Math.floor(Math.random() * nm52.length));
     79         var rnd53 = parseInt(Math.floor(Math.random() * nm53.length));
     80         var rnd54 = parseInt(Math.floor(Math.random() * nm54.length));
     81         var rnd24 = parseInt(Math.floor(Math.random() * nm24.length));
     82         var rnd25 = parseInt(Math.floor(Math.random() * nm25.length));
     83         var rnd55 = parseInt(Math.floor(Math.random() * nm55.length));
     84         var rnd56 = parseInt(Math.floor(Math.random() * nm56.length));
     85         var rnd57 = parseInt(Math.floor(Math.random() * nm57.length));
     86         var rnd28 = parseInt(Math.floor(Math.random() * nm28.length));
     87         var rnd59 = parseInt(Math.floor(Math.random() * nm59.length));
     88         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.";
     89         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] + ".";
     90         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.";
     91         var name4 = "Its legs are " + nm24[rnd24] + " and " + nm25[rnd25] + ", each ending in " + nm54[rnd54] + " " + nm55[rnd55] + ".";
     92         var name5 = "Its body is covered in " + nm57[rnd57] + " and its shoulders are " + nm28[rnd28] + " its pelvis" + nm59[rnd59] + ".";
     93     } else {
     94         var rnd1 = parseInt(Math.floor(Math.random() * nm1.length));
     95         var rnd2 = parseInt(Math.floor(Math.random() * nm2.length));
     96         var rnd3 = parseInt(Math.floor(Math.random() * nm3.length));
     97         var rnd4 = parseInt(Math.floor(Math.random() * nm4.length));
     98         var rnd5 = parseInt(Math.floor(Math.random() * nm5.length));
     99         var rnd6 = parseInt(Math.floor(Math.random() * nm6.length));
    100         var rnd7 = parseInt(Math.floor(Math.random() * nm7.length));
    101         var rnd8 = parseInt(Math.floor(Math.random() * nm8.length));
    102         var rnd9 = parseInt(Math.floor(Math.random() * nm9.length));
    103         var rnd10 = parseInt(Math.floor(Math.random() * nm10.length));
    104         var rnd11 = parseInt(Math.floor(Math.random() * nm11.length));
    105         var rnd12 = parseInt(Math.floor(Math.random() * nm12.length));
    106         var rnd13 = parseInt(Math.floor(Math.random() * nm13.length));
    107         var rnd14 = parseInt(Math.floor(Math.random() * nm14.length));
    108         var rnd15 = parseInt(Math.floor(Math.random() * nm15.length));
    109         var rnd16 = parseInt(Math.floor(Math.random() * nm16.length));
    110         var rnd17 = parseInt(Math.floor(Math.random() * nm17.length));
    111         var rnd18 = parseInt(Math.floor(Math.random() * nm18.length));
    112         var rnd19 = parseInt(Math.floor(Math.random() * nm19.length));
    113         var rnd20 = parseInt(Math.floor(Math.random() * nm20.length));
    114         var rnd21 = parseInt(Math.floor(Math.random() * nm21.length));
    115         var rnd22 = parseInt(Math.floor(Math.random() * nm22.length));
    116         var rnd23 = parseInt(Math.floor(Math.random() * nm23.length));
    117         var rnd24 = parseInt(Math.floor(Math.random() * nm24.length));
    118         var rnd25 = parseInt(Math.floor(Math.random() * nm25.length));
    119         var rnd26 = parseInt(Math.floor(Math.random() * nm26.length));
    120         var rnd27 = parseInt(Math.floor(Math.random() * nm27.length));
    121         var rnd28 = parseInt(Math.floor(Math.random() * nm28.length));
    122         var rnd29 = parseInt(Math.floor(Math.random() * nm29.length));
    123         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.";
    124         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.";
    125         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.";
    126         var name4 = "Its legs are " + nm24[rnd24] + " and " + nm25[rnd25] + ", each ending in " + nm26[rnd26] + " feet.";
    127         var name5 = "Its body is covered in " + nm27[rnd27] + " and its shoulders are " + nm28[rnd28] + " its pelvis" + nm29[rnd29] + ".";
    128     }
    129     var br = [];
    130     for (i = 0; i < 6; i++) {
    131         br[i] = document.createElement('br');
    132     }
    133     if (document.getElementById("result")) {
    134         document.getElementById("placeholder").removeChild(document.getElementById("result"));
    135     }
    136     var element = document.createElement("div");
    137     element.setAttribute("id", "result");
    138     element.appendChild(document.createTextNode(name));
    139     element.appendChild(br[0]);
    140     element.appendChild(document.createTextNode(name2));
    141     element.appendChild(br[1]);
    142     element.appendChild(br[2]);
    143     element.appendChild(document.createTextNode(name3));
    144     element.appendChild(br[3]);
    145     element.appendChild(document.createTextNode(name4));
    146     element.appendChild(br[4]);
    147     element.appendChild(br[5]);
    148     element.appendChild(document.createTextNode(name5));
    149     document.getElementById("placeholder").appendChild(element);
    150 }