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

roegadynNames.js (15425B)


      1 var nm1 = [
      2     ["Abar", "Lone"],
      3     ["Aerg", "Ambitious"],
      4     ["Aerm", "Poor"],
      5     ["Aerst", "First"],
      6     ["Agat", "Amber"],
      7     ["Ahld", "Old"],
      8     ["Awyr", "Absent"],
      9     ["Bara", "Bare"],
     10     ["Bhald", "Brave"],
     11     ["Blan", "Dark"],
     12     ["Blau", "Lead"],
     13     ["Blei", "Pale"],
     14     ["Bloe", "Blue"],
     15     ["Blyn", "Blind"],
     16     ["Broen", "Brown"],
     17     ["Caepf", "Slate"],
     18     ["Caer", "Sad"],
     19     ["Dani", "Narrow"],
     20     ["Denn", "Thin"],
     21     ["Doer", "Dry"],
     22     ["Does", "Two"],
     23     ["Eifa", "Bitter"],
     24     ["Elil", "Foreign"],
     25     ["Erna", "Earnest"],
     26     ["Eyn", "One"],
     27     ["Eyri", "Wandering"],
     28     ["Faez", "Fat"],
     29     ["Fhil", "Yellow"],
     30     ["Fhruh", "Early"],
     31     ["Flaz", "Flat"],
     32     ["Flekk", "Spotted"],
     33     ["Frae", "Free"],
     34     ["Fryd", "Peaceful"],
     35     ["Fyril", "Lost"],
     36     ["Ganz", "Perfect"],
     37     ["Ghim", "Modest"],
     38     ["Glaz", "Glass"],
     39     ["Greh", "Calm"],
     40     ["Grein", "Bronze"],
     41     ["Grym", "Cruel"],
     42     ["Gryne", "Green"],
     43     ["Guht", "Good"],
     44     ["Guld", "Gold"],
     45     ["Guol", "Glorious"],
     46     ["Hael", "Healthy"],
     47     ["Haer", "Grand"],
     48     ["Hald", "Kind"],
     49     ["Hart", "Hard"],
     50     ["Hast", "Hazel"],
     51     ["Helb", "Half"],
     52     ["Herl", "Elder"],
     53     ["Hezz", "Hot"],
     54     ["Holas", "Bald"],
     55     ["Holl", "Hollow"],
     56     ["Holsk", "Fast"],
     57     ["Horsk", "Obedient"],
     58     ["Iyrn", "Iron"],
     59     ["Jungh", "Young"],
     60     ["Keim", "Violet"],
     61     ["Kelt", "Cold"],
     62     ["Keten", "Chained"],
     63     ["Klyn", "Small"],
     64     ["Kryd", "Chalk"],
     65     ["Kryst", "Crystal"],
     66     ["Kupf", "Copper"],
     67     ["Kympf", "Champion"],
     68     ["Lamm", "Injured"],
     69     ["Loet", "Loud"],
     70     ["Loetr", "Pure"],
     71     ["Loez", "Short"],
     72     ["Lydir", "Leather"],
     73     ["Lyna", "Linen"],
     74     ["Lyng", "Long"],
     75     ["Maeti", "Mighty"],
     76     ["Marm", "Marble"],
     77     ["Myte", "Middle"],
     78     ["Nedyr", "Low"],
     79     ["Ofan", "Clear"],
     80     ["Pfar", "Walking"],
     81     ["Rhen", "Clean"],
     82     ["Rheti", "Lawful"],
     83     ["Rhit", "Right"],
     84     ["Rhot", "Red"],
     85     ["Roeh", "Rough"],
     86     ["Rostn", "Rusty"],
     87     ["Skaen", "Beautiful"],
     88     ["Skarn", "Horrible"],
     89     ["Skoen", "Shining"],
     90     ["Slae", "Dull"],
     91     ["Slaf", "Sleeping"],
     92     ["Slett", "Plain"],
     93     ["Solk", "Blessed"],
     94     ["Sterr", "Strong"],
     95     ["Swar", "Black"],
     96     ["Swoz", "Sweet"],
     97     ["Swyg", "Silent"],
     98     ["Swyn", "Round"],
     99     ["Swyr", "Big"],
    100     ["Syhr", "Fearless"],
    101     ["Sylb", "Silver"],
    102     ["Syngi", "Singing"],
    103     ["Syzn", "Sitting"],
    104     ["Thor", "Torn"],
    105     ["Thosin", "Grey"],
    106     ["Thubyr", "Magic"],
    107     ["Toeg", "Secret"],
    108     ["Toff", "Deep"],
    109     ["Trachyn", "Dragon"],
    110     ["Tragg", "Slow"],
    111     ["Trahg", "Lazy"],
    112     ["Troe", "Confused"],
    113     ["Tymb", "Dumb"],
    114     ["Ubyl", "Evil"],
    115     ["Unsyn", "Innocent"],
    116     ["Unta", "Other"],
    117     ["Usyn", "Ashen"],
    118     ["Waem", "Warm"],
    119     ["Wakk", "Woken"],
    120     ["Wann", "Empty"],
    121     ["Wast", "Sharp"],
    122     ["Webb", "Silk"],
    123     ["Whei", "Soft"],
    124     ["Wilt", "Wild"],
    125     ["Wuot", "Berserk"],
    126     ["Wyss", "Wise"],
    127     ["Wyzn", "White"],
    128     ["Ybolg", "Enraged"],
    129     ["Zirn", "Furious"],
    130     ["Zwyn", "Twin"]
    131 ];
    132 var nm2 = [
    133     ["abyl", "Rage"],
    134     ["aent", "Duck"],
    135     ["agynn", "Beginning"],
    136     ["ahct", "River"],
    137     ["ahl", "Eel"],
    138     ["ahr", "Eagle"],
    139     ["ahrm", "Arm"],
    140     ["ahtyn", "Judge"],
    141     ["ais", "Ice"],
    142     ["alyr", "Alder"],
    143     ["anka", "Anchor"],
    144     ["ansa", "Scythe"],
    145     ["aren", "Harvest"],
    146     ["ask", "Ash"],
    147     ["baen", "Bone"],
    148     ["benn", "Leg"],
    149     ["bera", "Berry"],
    150     ["berk", "Mountain"],
    151     ["bhar", "Bear"],
    152     ["bhir", "Ale"],
    153     ["bhrat", "Meat"],
    154     ["blaet", "Blood"],
    155     ["bluom", "Flower"],
    156     ["blyss", "Blossom"],
    157     ["born", "Boar"],
    158     ["brem", "Bramble"],
    159     ["bryn", "Spring"],
    160     ["bylda", "Maker"],
    161     ["byrm", "Tree"],
    162     ["byrt", "Axe"],
    163     ["ceig", "Sail"],
    164     ["daeg", "Soldier"],
    165     ["dhem", "Dusk"],
    166     ["doen", "Thunder"],
    167     ["dornn", "Thorn"],
    168     ["draga", "Carrier"],
    169     ["eidin", "Oath"],
    170     ["elak", "Elk"],
    171     ["ent", "End"],
    172     ["eyha", "Oak"],
    173     ["eyhil", "Acorn"],
    174     ["falk", "Falcon"],
    175     ["farr", "Bull"],
    176     ["fedar", "Feather"],
    177     ["fhis", "Fish"],
    178     ["fohc", "Fox"],
    179     ["folg", "Bird"],
    180     ["fryd", "Peace"],
    181     ["fryn", "Friend"],
    182     ["fyr", "Fire"],
    183     ["fyst", "Fist"],
    184     ["geiss", "Ghost"],
    185     ["glac", "Bell"],
    186     ["gybal", "Skull"],
    187     ["gybet", "Prayer"],
    188     ["haemr", "Hammer"],
    189     ["haerz", "Heart"],
    190     ["hanth", "Hand"],
    191     ["harr", "Hair"],
    192     ["himal", "Sky"],
    193     ["hort", "Treasure"],
    194     ["hund", "Dog"],
    195     ["hwab", "Hawk"],
    196     ["hyrt", "Autumn"],
    197     ["ingil", "Angel"],
    198     ["itar", "Knight"],
    199     ["jarr", "Year"],
    200     ["khra", "Crane"],
    201     ["kirz", "Candle"],
    202     ["klyng", "Brook"],
    203     ["krepf", "Claw"],
    204     ["kympf", "Champion"],
    205     ["lahz", "Salmon"],
    206     ["laent", "Land"],
    207     ["leita", "Bringer"],
    208     ["liht", "Light"],
    209     ["loef", "Leaf"],
    210     ["lorh", "Rabbit"],
    211     ["merl", "Sea"],
    212     ["mhar", "Horse"],
    213     ["mhas", "Scar"],
    214     ["mhus", "Mouse"],
    215     ["moen", "Moon"],
    216     ["moht", "Mind"],
    217     ["myna", "Love"],
    218     ["myrgan", "Morning"],
    219     ["nagl", "Nail"],
    220     ["nahct", "Night"],
    221     ["nebb", "Fog"],
    222     ["nyst", "Nest"],
    223     ["oeya", "Eye"],
    224     ["opyl", "Apple"],
    225     ["orn", "Maple"],
    226     ["pfef", "Pepper"],
    227     ["pfrew", "Joy"],
    228     ["ramm", "Ram"],
    229     ["ruht", "Smoke"],
    230     ["rymm", "Frost"],
    231     ["ryss", "Giant"],
    232     ["saelb", "Sage"],
    233     ["sald", "Luck"],
    234     ["sath", "Knife"],
    235     ["satz", "Dance"],
    236     ["skaet", "Shadow"],
    237     ["skapf", "Sheep"],
    238     ["skylt", "Shield"],
    239     ["smyd", "Smith"],
    240     ["snoe", "Snow"],
    241     ["some", "Summer"],
    242     ["spaer", "Sparrow"],
    243     ["spyr", "Spear"],
    244     ["stral", "Arrow"],
    245     ["stymm", "Voice"],
    246     ["styr", "Star"],
    247     ["styrm", "Storm"],
    248     ["sunn", "Sun"],
    249     ["swerd", "Sword"],
    250     ["sygg", "Victory"],
    251     ["syng", "Song"],
    252     ["synt", "Sand"],
    253     ["thuba", "Mage"],
    254     ["thubyr", "Magic"],
    255     ["thuv", "Dove"],
    256     ["toum", "Dream"],
    257     ["trach", "Dragon"],
    258     ["troeg", "Monster"],
    259     ["tu", "Dew"],
    260     ["twyr", "Dwarf"],
    261     ["ulm", "Elm"],
    262     ["und", "Wave"],
    263     ["uwil", "Owl"],
    264     ["waek", "Battle"],
    265     ["waen", "Wind"],
    266     ["waht", "Guard"],
    267     ["ward", "Watch"],
    268     ["wilf", "Wolf"],
    269     ["wint", "Winter"],
    270     ["wolk", "Cloud"],
    271     ["wurt", "Herb"],
    272     ["wyrka", "Worker"],
    273     ["wyrn", "Snake"],
    274     ["wyta", "Water"],
    275     ["zant", "Tooth"],
    276     ["zedy", "Cedar"],
    277     ["zirn", "Fury"],
    278     ["zwyn", "Twin"]
    279 ];
    280 var nm3 = [
    281     ["swys", "Sister"],
    282     ["thota", "Daughter"],
    283     ["wyda", "Willow"],
    284     ["geim", "Jewel"],
    285     ["wyb", "Woman"],
    286     ["rael", "Doe"],
    287     ["lona", "Gatherer"],
    288     ["bryda", "Bride"]
    289 ];
    290 var nm4 = ["Active", "Adept", "Admired", "Adored", "Ages", "Aggressive", "Agile", "Alert", "Amazing", "Amused", "Amusing", "Ancient", "Angry", "Anxious", "Arctic", "Austere", "Aware", "Awesome", "Awkward", "Bad", "Bare", "Basic", "Beautiful", "Beloved", "Big", "Bitter", "Black", "Blue", "Bold", "Brave", "Bright", "Brilliant", "Broken", "Bronze", "Busy", "Calm", "Careful", "Careless", "Cheerful", "Cleaan", "Clever", "Clumsy", "Cold", "Colossal", "Complex", "Composed", "Crafty", "Cruel", "Damaged", "Dangerous", "Dapper", "Daring", "Dark", "Defiant", "Dependable", "Devoted", "Difficult", "Diligent", "Dirt", "Distant", "Dull", "Eager", "Earnest", "Elderly", "Enchanted", "Enormous", "Enraged", "Exalted", "Excellent", "Excited", "Exotic", "Expert", "Faithful", "Famous", "Fancy", "Fast", "Fatal", "Fearless", "Firm", "Fixed", "Flawed", "Flawless", "Forsaken", "Free", "Friendly", "Frozen", "Gentle", "Giant", "Gifted", "Giving", "Glamorous", "Glorious", "Golden", "Graceful", "Gracious", "Grand", "Grateful", "Gray", "Great", "Grim", "Harmless", "Hasty", "Heavy", "Helpful", "Hidden", "Hollow", "Honest", "Honorable", "Humble", "Hungry", "Joyful", "Keen", "Kind", "Large", "Lazy", "Light", "Little", "Lone", "Loud", "Loyal", "Lucky", "Majestic", "Major", "Massive", "Mellow", "Mild", "Minor", "Modest", "Nervous", "Nifty", "Nimble", "Obedient", "Odd", "Old", "Orange", "Ordinary", "Ornate", "Pale", "Perfect", "Plain", "Pleasant", "Powerful", "Prime", "Pristine", "Proud", "Pure", "Quick", "Quiet", "Rapid", "Rare", "Reckless", "Red", "Regular", "Rough", "Scary", "Second", "Secret", "Serene", "Serious", "Sharp", "Shiny", "Shy", "Silent", "Silver", "Simple", "Skinny", "Sleepy", "Slow", "Small", "Smart", "Sneaky", "Spotted", "Stable", "Stark", "Strange", "Strong", "Sturdy", "Subtle", "Surprised", "Swift", "Tall", "Tame", "Thin", "Tough", "Useful", "Vibrant", "Vicious", "Warm", "Weak", "Weird", "White", "Wide", "Wild", "Wise", "Witty", "Worthy", "Yellow", "Young", "Youthful"];
    291 var nm5 = ["Air", "Ant", "Autumn", "Badger", "Bat", "Horizon", "Bear", "Beetle", "Bird", "Bison", "Blade", "Blizzard", "Boar", "Bog", "Boulder", "Brood", "Brook", "Bush", "Buzzard", "Cave", "Cavern", "Claw", "Cliff", "Cloud", "Cougar", "Coyote", "Cricket", "Crow", "Deer", "Desert", "Dingo", "Dune", "Eagle", "Earth", "Elk", "Emu", "Falcon", "Field", "Fir", "Flower", "Forest", "Fox", "Frog", "Fungus", "Gale", "Glacier", "Grass", "Hare", "Hawk", "Hedgehog", "Hill", "Hog", "Hollow", "Ice", "Iron", "Island", "Isle", "Jasper", "Juniper", "Kelp", "Lake", "Lava", "Lichen", "Lion", "Magma", "Mane", "Mantle", "Maple", "Moon", "Moose", "Mountain", "Mouse", "Mushroom", "Nest", "Nettle", "Oak", "Ocen", "Ore", "Owl", "Park", "Peak", "Pine", "Pinnacle", "Plant", "Raccoon", "Rain", "Raven", "River", "Roach", "Rock", "Salmon", "Sand", "Sea", "Serpent", "Shrub", "Snake", "Snow", "Stag", "Stone", "Storm", "Summit", "Sun", "Talon", "Thunder", "Tide", "Tiger", "Toad", "Torrent", "Tortoise", "Track", "Tree", "Turtle", "Typhoon", "Valley", "Wasp", "Water", "Waterfall", "Wave", "Weasel", "Willow", "Wind", "Wolf", "Wombat", "Wood", "Yew"];
    292 var nm6 = ["Active", "Adept", "Admired", "Adorable", "Adored", "Aged", "Agile", "Amused", "Amusing", "Angelic", "Aromatic", "Attractive", "Average", "Awkward", "Beautiful", "Beloved", "Black", "Blissful", "Blue", "Blushing", "Bold", "Bouncy", "Brave", "Bright", "Brilliant", "Bronze", "Brown", "Bubbly", "Carefree", "Careful", "Careless", "Caring", "Charming", "Cheerful", "Cheery", "Clever", "Cloudy", "Clumsy", "Creative", "Cuddly", "Curly", "Cute", "Darling", "Delightful", "Dependable", "Devoted", "Eager", "Elderly", "Elegant", "Emotional", "Enchanted", "Energetic", "Euphoric", "Excited", "Fair", "Faithful", "Fancy", "Fearless", "Feline", "Flawed", "Flawless", "Flustered", "Frail", "Frozen", "Funny", "Fuzzy", "Generous", "Gentle", "Gifted", "Giving", "Glittering", "Golden", "Gorgeous", "Graceful", "Gracious", "Gray", "Green", "Grim", "Grumpy", "Happy", "Harmless", "Heavenly", "Helpful", "Helpless", "Hidden", "Hollow", "Honest", "Honored", "Hopeful", "Humble", "Idle", "Innocent", "Jealous", "Jolly", "Joyful", "Joyous", "Keen", "Kind", "Lavish", "Lazy", "Lean", "Light", "Likable", "Little", "Lively", "Lone", "Lonely", "Lost", "Loud", "Lovable", "Lovely", "Loving", "Mad", "Majestic", "Mellow", "Merry", "Mild", "Minor", "Misty", "Motherly", "Mysterious", "Naive", "Naughty", "Nervous", "Nimble", "Obedient", "Odd", "Old", "Optimistic", "Orange", "Ordinary", "Pale", "Peaceful", "Perfect", "Pink", "Plain", "Playful", "Pleasant", "Pleased", "Pleasing", "Powerful", "Precious", "Pretty", "Pristine", "Proud", "Pure", "Purple", "Quick", "Quiet", "Quirky", "Rare", "Reckless", "Scared", "Scary", "Secret", "Serene", "Serious", "Short", "Shy", "Silent", "Silly", "Silver", "Simple", "Skinny", "Sleepy", "Slim", "Slow", "Small", "Smart", "Sneaky", "Soft", "Strange", "Striped", "Surprised", "Sweet", "Swift", "Tall", "Terrific", "Thick", "Thin", "Tidy", "Tiny", "Tough", "Trusting", "Trusty", "Twin", "Warm", "Watchful", "Weak", "Weird", "Whimsical", "White", "Wicked", "Wild", "Wise", "Worried", "Yellow", "Young", "Youthful"];
    293 var nm7 = ["Air", "Allium", "Alyssum", "Amarath", "Amazon", "Anemone", "Apple", "Aura", "Aurora", "Autumn", "Bee", "Bell", "Berry", "Bird", "Bloom", "Blossom", "Bunny", "Bush", "Butterfly", "Cherry", "Chive", "Clematis", "Cloud", "Clover", "Cosmos", "Crocus", "Daffodil", "Daisy", "Dandelion", "Deer", "Dew", "Dill", "Dove", "Dream", "Droplet", "Earth", "Eclipse", "Feather", "Flower", "Fog", "Forest", "Frost", "Fruit", "Fuchsia", "Fur", "Gilly", "Ginger", "Grain", "Grass", "Heliconia", "Hibiscus", "Holly", "Horizon", "Hyacinth", "Ice", "Iris", "Juniper", "Lavender", "Leaf", "Lilac", "Lily", "Locust", "Lotus", "Magnolia", "Mantle", "Maple", "Marigold", "Mist", "Moon", "Moss", "Mouse", "Mushroom", "Myrtle", "Narcissus", "Oleander", "Orchid", "Pad", "Pea", "Peach", "Peony", "Petal", "Petunia", "Plume", "Poinsetta", "Poppy", "Rabbit", "Rain", "Robin", "Root", "Rose", "Safflower", "Sage", "Sapling", "Sheep", "Snow", "Snowflake", "Sparrow", "Spring", "Sprout", "Star", "Summer", "Sun", "Sunflower", "Tulip", "Vapor", "Vine", "Willow", "Winter"];
    294 var vowels = ["a", "e", "i", "o", "u"];
    295 var br = "";
    296 
    297 function nameGen(type) {
    298     $('#placeholder').css('textTransform', 'capitalize');
    299     var tp = type;
    300     var element = document.createElement("div");
    301     element.setAttribute("id", "result");
    302     for (i = 0; i < 10; i++) {
    303         if (type === 1) {
    304             if (i < 5) {
    305                 rnd = Math.random() * nm1.length | 0;
    306                 rnd2 = Math.random() * nm3.length | 0;
    307                 if ($.inArray(nm1[rnd][0].charAt(nm1[rnd][0].length - 1), vowels) === -1) {
    308                     if (nm1[rnd][0].charAt(nm1[rnd].length - 1) === nm3[rnd2][0].charAt(0)) {
    309                         names = nm1[rnd][0].slice(0, -1) + nm3[rnd2][0] + " (" + nm1[rnd][1] + " " + nm3[rnd2][1] + ")";;
    310                     } else {
    311                         names = nm1[rnd][0] + nm3[rnd2][0] + " (" + nm1[rnd][1] + " " + nm3[rnd2][1] + ")";;
    312                     }
    313                 } else {
    314                     names = nm1[rnd][0] + nm3[rnd2][0] + " (" + nm1[rnd][1] + " " + nm3[rnd2][1] + ")";;
    315                 }
    316             } else {
    317                 rnd = Math.random() * nm6.length | 0;
    318                 rnd2 = Math.random() * nm7.length | 0;
    319                 names = nm6[rnd] + " " + nm7[rnd2];
    320             }
    321         } else {
    322             if (i < 5) {
    323                 rnd = Math.random() * nm1.length | 0;
    324                 rnd2 = Math.random() * nm2.length | 0;
    325                 if ($.inArray(nm1[rnd][0].charAt(nm1[rnd][0].length - 1), vowels) === -1) {
    326                     if (nm1[rnd][0].charAt(nm1[rnd][0].length - 1) === nm2[rnd2][0].charAt(0)) {
    327                         names = nm1[rnd][0].slice(0, -1) + nm2[rnd2][0] + " (" + nm1[rnd][1] + " " + nm2[rnd2][1] + ")";;
    328                     } else {
    329                         names = nm1[rnd][0] + nm2[rnd2][0] + " (" + nm1[rnd][1] + " " + nm2[rnd2][1] + ")";;
    330                     }
    331                 } else {
    332                     names = nm1[rnd][0] + nm2[rnd2][0] + " (" + nm1[rnd][1] + " " + nm2[rnd2][1] + ")";;
    333                 }
    334             } else {
    335                 rnd = Math.random() * nm4.length | 0;
    336                 rnd2 = Math.random() * nm5.length | 0;
    337                 names = nm4[rnd] + " " + nm5[rnd2];
    338             }
    339         }
    340         br = document.createElement('br');
    341         element.appendChild(document.createTextNode(names));
    342         element.appendChild(br);
    343     }
    344     if (document.getElementById("result")) {
    345         document.getElementById("placeholder").removeChild(document.getElementById("result"));
    346     }
    347     document.getElementById("placeholder").appendChild(element);
    348 }