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

recordNames.js (3990B)


      1 var br = "";
      2 var nm2 = ["Audio", "Distribution", "Entertainment", "Entertainment Group", "International", "Music", "Music Group", "Recordings", "Records", "Records, Inc.", "Records", "Records", "Music", "Records", "Records", "Music", "Records", "Records", "Music", "Records", "Records", "Music"];
      3 
      4 function nameGen() {
      5     var nm1 = ["Aberrant", "Adoration", "Adventure", "Afternoon", "Alloy", "Ambition", "Animal", "Animation", "Anybody", "Apparatus", "Appeal", "Applause", "Artistry", "Attitude", "Awakening", "Beacon", "Big Break", "Big Chance", "Big Dreams", "Bird of Paradise", "Black Crow", "Blessing", "Blossom", "Blue Flame", "Blue Moon", "Brilliance", "Broadcast", "Bull", "Burning Flame", "Cannonball", "Capture", "Catapult", "Celebration", "Chaperon", "Chariot", "Cherish", "Cherry", "Clamor", "Clarity", "Classic", "Clockwork", "Cloud Nine", "Community", "Courage", "Crane", "Crimson Crown", "Crossroad", "Crown", "Curiosity", "Daydream", "Definition", "Delight", "Delivery", "Desire", "Diamond", "Discovery", "District", "Doodle", "Double Plat", "Downtown", "Dragonfire", "Drumbeat", "Echo", "Eclipse", "Elegance", "Elephant", "Enchanted", "Enchanting", "Energy", "Enigma", "Enthralling", "Envision", "Estate", "Exclamation", "Exploration", "Expression", "Extreme", "Fascination", "Fiddlestick", "Figurine", "Flock", "Fortune", "Fourth Dimension", "Freedom", "Frontier", "Full Moon", "Future", "Generosity", "Ghost", "Ghostwork", "Gilded", "Golden Canary", "Good Fortune", "Good Grace", "Grace", "Green Grass", "Griffin", "Harmonize", "Harmony", "Heart", "Hearth", "Herald", "Highlight", "Hummingbird", "Hypnotize", "Illustrate", "Illustrious", "Image", "Imagination", "Imagine", "Impact", "Impulse", "Independence", "Ink", "Inkwork", "Invention", "Ivory", "Jellyfish", "Jewel", "Justice", "Keyline", "Kickback", "Languish", "Liberty", "Lightbulb", "Lightning", "Lightningbolt", "Limitless", "Little Fiddle", "Little Light", "Lodestar", "Lucky Clover", "Lucky Streak", "Lumber", "Magpie", "Mama Bear", "Mammoth", "Marble", "Mask", "Masquerade", "Matron", "Meadow", "Memento", "Memory", "Midnight", "Miracle", "Mixture", "Mockingbird", "Monolith", "Nebula", "New Bloom", "New Harbor", "New Leaf", "Nightingale", "Nightowl", "North Star", "Nova", "Oaken", "Obelisk", "Oceanview", "Omen", "Opportunity", "Ornament", "Paradise", "Passion", "Passionwork", "Patriot", "Patron", "Phantom", "Phoenix", "Picture Perfect", "Pinnacle", "Pitch Perfect", "Platinum", "Platinum Songbird", "Playground", "Power Chord", "Principle", "Prism", "Prophecy", "Purple Flower", "Quail", "Quicksilver", "Rainbow", "Reality", "Red Robin", "Relish", "Resolve", "Rhinoceros", "Ribbon", "Right Note", "Rosebud", "Royal", "Scarecrow", "Scorpion", "Selection", "Serenade", "Serenity", "Shroud", "Sidewalk", "Signal", "Signature", "Smile", "Smiling", "Snowflake", "Solstice", "Somersault", "Sonata", "Songbird", "Soundwave", "Spark", "Sparkle", "Sparrow", "Spectrum", "Spellbound", "Spirit", "Stallion", "Starling", "Status", "Strength", "Summersong", "Sunshine", "Supernova", "Third Dimension", "Thrill", "Throne", "Thunderwave", "Tinkerer", "Tomorrow", "Track", "Treasure", "Triumph", "Unchained", "Vagabond", "Veil", "Victory", "Visage", "Vision", "Visionary", "Voice", "Weeping Willow", "White Feather", "White Rabbit", "White Wolf", "Witness", "Wonder", "World"];
      6     var element = document.createElement("div");
      7     element.setAttribute("id", "result");
      8     for (i = 0; i < 10; i++) {
      9         rnd = Math.random() * nm1.length | 0;
     10         rnd2 = Math.random() * nm2.length | 0;
     11         nMs = nm1[rnd] + " " + nm2[rnd2];
     12         nm1.splice(rnd, 1);
     13         br = document.createElement('br');
     14         element.appendChild(document.createTextNode(nMs));
     15         element.appendChild(br);
     16     }
     17     if (document.getElementById("result")) {
     18         document.getElementById("placeholder").removeChild(document.getElementById("result"));
     19     }
     20     document.getElementById("placeholder").appendChild(element);
     21 }