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

darkEyeMaraskan.js (7339B)


      1 var nm1 = ["", "", "", "", "b", "br", "c", "d", "dj", "f", "fr", "g", "h", "j", "k", "l", "m", "p", "pr", "q", "r", "sh", "th", "v", "w", "x", "z"];
      2 var nm2 = ["ui", "ei", "au", "a", "e", "i", "o", "u", "a", "e", "i", "o", "u", "a", "e", "i", "o", "u", "a", "e", "i", "o", "u", "a", "e", "i", "o", "u"];
      3 var nm3 = ["chm", "d", "dr", "f", "l", "ld", "lr", "m", "nd", "ng", "nj", "nr", "phr", "r", "rb", "rj", "rn", "rr", "sk", "tz"];
      4 var nm4 = ["a", "e", "i", "o"];
      5 var nm5 = ["", "", "b", "b", "d", "d", "l", "l", "ld", "lf", "n", "n", "r", "r"];
      6 var nm6 = ["eran", "jian", "jin", "oran", "rech", "rik", "det", "ziber"];
      7 var nm7 = ["", "", "", "", "b", "br", "c", "d", "f", "fr", "g", "gl", "h", "j", "k", "m", "n", "p", "ph", "pr", "r", "s", "sh", "tr", "ts", "v", "wl", "x", "y", "z"];
      8 var nm8 = ["a", "e", "i", "o", "u"];
      9 var nm9 = ["br", "ch", "cht", "d", "f", "h", "hj", "l", "lg", "lr", "m", "mr", "nd", "ndr", "nn", "r", "rr", "rs", "sm", "sn", "ss", "t", "z"];
     10 var nm10 = ["a", "e", "i", "o", "u"];
     11 var nm11 = ["", "", "", "", "d", "h", "j", "k", "l", "ld", "lr", "n", "r", "th", "v"];
     12 var nm12 = ["jid", "jida", "sab", "sabu", "yscha"];
     13 var nm23 = ["Academic", "Acclaimed", "Accurate", "Acrobat", "Adept", "Admirable", "Admired", "Adorable", "Adored", "Affectionate", "Agile", "Alert", "Ambitious", "Amused", "Ancient", "Angel", "Angelic", "Aromatic", "Arrow", "Artist", "Artistic", "Athletic", "Austere", "Authentic", "Awkward", "Baby", "Babyface", "Bald", "Bear", "Bearclaw", "Beast", "Beautiful", "Behemoth", "Beloved", "Big Spender", "Blessed", "Blind", "Blind Visionary", "Blissful", "Blond", "Blushing", "Bold", "Brave", "Bright", "Brilliant", "Brilliant Mind", "Bronze", "Bull", "Bullet", "Calm", "Carefree", "Careless", "Cautious", "Celebrated", "Charming", "Chaste", "Chubby", "Clean", "Clever", "Cloud", "Colorful", "Common", "Commoner", "Competent", "Complex", "Composed", "Concerned", "Content", "Crafty", "Cuddle", "Cuddly", "Cuddly Bear", "Cunning", "Cute", "Dapper", "Deaf", "Decent", "Defiant", "Devoted", "Devotee", "Digital", "Diligent", "Dirty", "Discrete", "Disfigured", "Disguised", "Duke", "Eager", "Eagle Eyes", "Early", "Earnest", "Easy-going", "Ecstatic", "Edge", "Educated", "Elegant", "Emotional", "Enchanted", "Enchanting", "Enigma", "Enlightened", "Enormous", "Equal", "Eternal Hunger", "Euphoric", "Exalted", "Example", "Expert", "Fair", "Fairy", "Famous", "Fancy", "Fearless", "Feisty", "Feline", "Feminine", "Flamboyant", "Flawed", "Flawless", "Forgiving", "Free", "Friend", "Frozen", "Funny", "Fury", "Fuzzy", "Generous", "Gentle", "Gentle Giant", "Gentle Heart", "Genuine", "Giant", "Gifted", "Giving", "Glorious", "Good", "Graceful", "Grand", "Gray", "Great", "Guardian", "Handsome", "Harmless", "Hermit", "Holy", "Honest", "Honorable", "Honored", "Hospitable", "Humble", "Hungry", "Idealist", "Illustrious", "Immortal", "Incredible", "Infamous", "Infant", "Infinite", "Innocent", "Ironclad", "Jester", "Jolly", "Just", "Juvenile", "Keen", "Kind", "Knowing", "Last", "Late", "Lawful", "Lean", "Learned", "Light", "Light Lord", "Lion", "Lionheart", "Lionroar", "Little", "Lone Wolf", "Loud", "Love Fool", "Loving", "Loyal", "Loyal Heart", "Luxurious", "Magnificent", "Majestic", "Mammoth", "Marked", "Marvelous", "Masculine", "Massive", "Mellow", "Merciful", "Merry", "Mighty", "Mild", "Mind Bender", "Modern", "Modest", "Moral", "Mouse", "Muse", "Mute", "Naughty", "Nightowl", "Nimble", "Nimble Mind", "Nocturnal", "Nurse", "Old", "Oracle", "Ornate", "Paladin", "Paragon", "Passionate", "Patient", "Peaceful", "Perfumed", "Pious", "Plain", "Pleasant", "Powerful", "Precious", "Prestigious", "Prime", "Proud", "Quaint", "Quick", "Quiet", "Quirky", "Realist", "Rebellious", "Red", "Reliable", "Rich", "Risen Commoner", "Rose", "Round", "Saint", "Scented", "Secret", "Secret Master", "Serene", "Shield", "Short", "Shy", "Silent", "Sinless", "Sleepy", "Small", "Sneaky", "Sophisticated", "Spider", "Stark", "Stout", "Strict", "Strong", "Swift", "Sympathetic", "Tall", "Terrific", "Thirsty", "Thoughtful", "Tiny", "Treasure", "Treasured", "Turbulent", "Tyrant", "Unfortunate", "Unlucky", "Unsung Hero", "Valiant", "Vengeful", "Victorious", "Vigilant", "Virgin", "Warrior", "Weird", "Whisper", "White", "Wild", "Wise", "Wolf", "Wonderful", "Wrathful", "Young", "Youthful", "Zealous", "Actor", "Animal", "Architect", "Artist", "Assassin", "Baker", "Beard", "Boar", "Bodyguard", "Butcher", "Butterfly", "Conjurer", "Cook", "Cub", "Dancer", "Doctor", "Enforcer", "Executioner", "Falconer", "Fang", "Fish", "Fox", "Grasshopper", "Guest", "Hawk", "Hawker", "Hen", "Hound", "Hunter", "Inventor", "Jigsaw", "Judge", "Kid", "Kitten", "Lamb", "Mage", "Master", "Medic", "Mole", "Nightingale", "Ox", "Physician", "Prophet", "Razor", "Scar", "Scientist", "Snowflake", "Soothsayer", "Speaker", "Specialist", "Stalker", "Student", "Surgeon", "Warlock", "Watcher", "White Knight", "Wizard"];
     14 var br = "";
     15 
     16 function nameGen(type) {
     17     var tp = type;
     18     var element = document.createElement("div");
     19     element.setAttribute("id", "result");
     20     for (i = 0; i < 10; i++) {
     21         if (tp === 1) {
     22             nameFem();
     23             while (nMs === "") {
     24                 nameFem();
     25             }
     26         } else {
     27             nameMas();
     28             while (nMs === "") {
     29                 nameMas();
     30             }
     31         }
     32         rnd = Math.random() * nm23.length | 0;
     33         names = nMs.charAt(0).toUpperCase() + nMs.slice(1) + " the " + nm23[rnd];
     34         br = document.createElement('br');
     35         element.appendChild(document.createTextNode(names));
     36         element.appendChild(br);
     37     }
     38     if (document.getElementById("result")) {
     39         document.getElementById("placeholder").removeChild(document.getElementById("result"));
     40     }
     41     document.getElementById("placeholder").appendChild(element);
     42 }
     43 
     44 function nameFem() {
     45     nTp = Math.random() * 2 | 0;
     46     rnd = Math.random() * nm7.length | 0;
     47     rnd2 = Math.random() * nm8.length | 0;
     48     rnd3 = Math.random() * nm11.length | 0;
     49     rnd4 = Math.random() * nm12.length | 0;
     50     if (nTp === 0) {
     51         while (nm11[rnd3] === "") {
     52             rnd3 = Math.random() * nm11.length | 0;
     53         }
     54         nMs = nm7[rnd] + nm8[rnd2] + nm11[rnd3] + nm12[rnd4];
     55     } else {
     56         rnd5 = Math.random() * nm9.length | 0;
     57         rnd6 = Math.random() * nm10.length | 0;
     58         while (nm9[rnd5] === nm11[rnd3] && nm9[rnd5] === nm7[rnd]) {
     59             rnd5 = Math.random() * nm9.length | 0;
     60         }
     61         nMs = nm7[rnd] + nm8[rnd2] + nm9[rnd5] + nm10[rnd6] + nm11[rnd3] + nm12[rnd4];
     62     }
     63     testSwear(nMs);
     64 }
     65 
     66 function nameMas() {
     67     nTp = Math.random() * 2 | 0;
     68     rnd = Math.random() * nm1.length | 0;
     69     rnd2 = Math.random() * nm2.length | 0;
     70     rnd3 = Math.random() * nm5.length | 0;
     71     rnd4 = Math.random() * nm6.length | 0;
     72     if (nTp === 0) {
     73         while (nm5[rnd3] === "") {
     74             rnd3 = Math.random() * nm5.length | 0;
     75         }
     76         nMs = nm1[rnd] + nm2[rnd2] + nm5[rnd3] + nm6[rnd4];
     77     } else {
     78         rnd5 = Math.random() * nm3.length | 0;
     79         rnd6 = Math.random() * nm4.length | 0;
     80         while (nm3[rnd5] === nm5[rnd3] && nm3[rnd5] === nm1[rnd]) {
     81             rnd5 = Math.random() * nm3.length | 0;
     82         }
     83         nMs = nm1[rnd] + nm2[rnd2] + nm3[rnd5] + nm4[rnd6] + nm5[rnd3] + nm6[rnd4];
     84     }
     85     testSwear(nMs);
     86 }