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.

20 lines
7.2 KiB
JavaScript

var nm1 = ["A.I. Developer", "A.I. Supervisor", "Academic", "Accountant", "Acolyte", "Acrobat", "Actor", "Actuary", "Administrative Worker", "Administrator", "Adventurer", "Advisor", "Advocate", "Air Traffic Controller", "Alchemist", "Alien Life Expert", "Almoner", "Ambassador", "Animal Breeder", "Animal Handler", "Animal Trainer", "Anthropologist", "Apothecary", "Archaeologist", "Archer", "Architect", "Archivist", "Armorer", "Arms Merchant", "Artisan", "Artist", "Ascetic", "Assassin", "Asteroid Miner", "Astrologist", "Astronaut", "Astronomist", "Athlete", "Audiologist", "Baker", "Bandit", "Banker", "Barber", "Bard", "Barkeeper", "Barmaid", "Barrister", "Bather", "Beastmaster", "Beautician", "Beekeeper", "Beer Seller", "Beggar", "Big Data Analyst", "Biologist", "Blacksmith", "Bleacher", "Board Member", "Boatman", "Body Enhancer", "Bodyguard", "Book Store", "Bookbinder", "Bookseller", "Botanist", "Bottler", "Bounty Hunter", "Brewer", "Brick Maker", "Bricklayer", "Bridge Builder", "Brigand", "Broadcaster", "Buccaneer", "Buckle Maker", "Builder", "Bureaucrat", "Burglar", "Butcher", "Butler", "Cannoneer", "Caravan Leader", "Carder", "Carpenter", "Carter", "Cartographer", "Cartwright", "Chamberlain", "Chandler", "Charioteer", "Chauffeur", "Cheesemaker", "Chef", "Chemist", "Chicken Butcher", "Chirurgeon", "Civil Engineer", "Cleaner", "Cleric", "Clerk", "Climatologist", "Clock Maker", "Cloner", "Clothes Washer", "Clothier", "Clown", "Coachman", "Coinsmith", "Colonist", "Commander", "Communications Officer", "Con Artist", "Conjurer", "Conservator", "Cook", "Cooper", "Copyist", "Counselor", "Courtesan", "Courtier", "Cowherd", "Craftsman", "Crossbowman", "Crusader", "Cryogenics Worker", "Cutler", "Cutpurse", "Cyber Security Expert", "Cyberneticist", "DNA Surgeon", "Dairymaid", "Dancer", "Debt Collector", "Deepsea Vessel Operator", "Demonologist", "Dentist", "Designer", "Detective", "Digger", "Diplomat", "Disaster Analyst", "Distiller", "Diver", "Doctor", "Drayman", "Dresser", "Driver", "Drone Operator", "Druid", "Duchess", "Duelist", "Duke", "Dyer", "Ecologist", "Economist", "Editor", "Electrician", "Emergency Responder", "Enchanter", "Energy Engineer", "Energy Worker", "Engineer", "Engraver", "Entertainer", "Estate Agent", "Executioner", "Explorer", "Factory Worker", "Falconer", "Farmer", "Farrier", "Ferryman", "Financial Officer", "Firefighter", "Firemaker", "First Contact Officer", "Fisher", "Fishmonger", "Fletcher", "Food Worker", "Forester", "Fortune Teller", "Friar", "Furrier", "Gambler", "Gardener", "Gatekeeper", "Gemsmith", "Geneticist", "Geologist", "Geomancer", "Gladiator", "Glassblower", "Glassworker", "Glazier", "Glovemaker", "Goldsmith", "Gravedigger", "Groom", "Guard", "Guildmaster", "Hacker", "Handmaiden", "Harness Maker", "Hatter", "Hay Merchant", "Hayward", "Healer", "Herald", "Herbalist", "Herder", "Highwayman", "Historian", "Hologram Designer", "Horse Breeder", "Horse Trainer", "Hotel", "Hounds Master", "Hunter", "Illuminator", "Innkeeper", "Innovation Developer", "Inscriptionist", "Inspector", "Instructor", "Interpreter", "Inventor", "Investor", "Jailer", "Jester", "Jewelcrafter", "Jeweler", "Judge", "Juggler", "King", "Knight", "Lady", "Lady in Waiting", "Lantern Maker", "Laser Operator", "Lawyer", "Leatherworker", "Librarian", "Life Support Engineer", "Lighthouse Keeper", "Limner", "Linguist", "Loanshark", "Locksmith", "Longbowman", "Lord", "Loremaster", "Lumberjack", "Machinist", "Magician", "Maid", "Maidservant", "Man at Arms", "Management Analyst", "Marine", "Marketing Worker", "Marksman", "Mason", "Mayor", "Mecha Operator", "Mechanic", "Mediator", "Medical Officer", "Medical Worker", "Memory Surgeon", "Mercenary", "Mercer", "Merchant", "Messenger", "Metal Worker", "Meteorologist", "Midwife", "Milkmaid", "Miller", "Milliner", "Mine Owner", "Miner", "Minion", "Minister", "Minstrel", "Mirror Maker", "Moneylender", "Monk", "Monster Slayer", "Mortician", "Mourner", "Mugger", "Mule Driver", "Musician", "Mutation Scientist", "Nannie", "Nanotechnician", "Navigator", "Necromancer", "Negotiator", "News Worker", "Nuclear Physicist", "Nun", "Nurse", "Nutritionist", "Officer", "Optician", "Page", "Painter", "Paladin", "Paper Maker", "Paratrooper", "Pastor", "Pastry Cook", "Pawnbroker", "Peasant", "Peddler", "Perfumer", "Pest Controller", "Pet Breeder", "Pet Trainer", "Pharmacist", "Philosopher", "Photographer", "Physician", "Physicist", "Pickpocket", "Pigkeeper", "Pilgrim", "Pilot", "Pirate", "Pit Fighter", "Planetologist", "Plasterer", "Plumber", "Poet", "Police Officer", "Politician", "Postal Worker", "Postman", "Potter", "Preacher", "Priest", "Prince", "Princess", "Prison Guard", "Privacy Officer", "Procurer", "Productivity Officer", "Professor", "Programmer", "Prophet", "Psychiatrist", "Psychologist", "Publisher", "Pursemaker", "Pyromancer", "Pyrotechnician", "Quartermaster", "Queen", "Raider", "Ranger", "Rat Catcher", "Restaurant Owner", "Riflesmith", "Robotics Engineer", "Robotics Officer", "Rogue", "Roofer", "Rope Maker", "Royal Advisor", "Rugmaker", "Runecrafter", "Saddler", "Sage", "Sailor", "Salter", "Sapper", "Scabbard Maker", "Scaffolder", "Scavenger", "Scholar", "Scientist", "Scout", "Scribe", "Scrivener", "Sculptor", "Seamaster", "Seamstress", "Secretary", "Security Guard", "Seer", "Servant", "Shaman", "Shepherd", "Sheriff", "Shielding Engineer", "Ship Builder", "Ship's Captain", "Ship's Mate", "Shipwright", "Shoemaker", "Shrubber", "Silversmith", "Simulations Specialist", "Singer", "Skinner", "Slave", "Slave Master", "Slave Trader", "Smith", "Smuggler", "Social Worker", "Soldier", "Songwriter", "Sorcerer", "Space Communications Officer", "Space Geologist", "Space Threat Mediator", "Space Traffic Controller", "Spaceship Operator", "Special Force", "Spice Merchant", "Spiritual Healer", "Sportsman", "Spy", "Squire", "Stablehand", "Stabler", "Stevedore", "Steward", "Storekeeper", "Storyteller", "Student", "Summoner", "Surgeon", "Surveyor", "Sustainability Officer", "Sword Smith", "Swordsman", "Synthesist", "Systems Developer", "Tailor", "Tanner", "Tavernkeep", "Tax Collector", "Tax Worker", "Teacher", "Technician", "Teleportation Operator", "Templar", "Terraformer", "Thatcher", "Therapist", "Thief", "Timelord", "Tinker", "Toll Keeper", "Torturer", "Tour Operator", "Tourism Worker", "Town Counselor", "Town Crier", "Tracker", "Trader", "Trainer", "Translator", "Trapper", "Trash Engineer", "Treasure Hunter", "Tunneller", "Undertaker", "Vendor", "Veterinarian", "Village Idiot", "Warlock", "Warrior", "Watchman", "Water Carrier", "Weaver", "Web Developer", "Wellness Worker", "Wetnurse", "Wheelwright", "Wine Merchant", "Witch", "Wizard", "Wood Merchant", "Woodcarver", "Woodcutter", "Woodworker", "Zookeeper", "Zoologist"];
var br = "";
function nameGen() {
$('#placeholder').css('textTransform', 'capitalize');
var element = document.createElement("div");
element.setAttribute("id", "result");
for (i = 0; i < 10; i++) {
rnd = Math.floor(Math.random() * nm1.length);
names = nm1[rnd];
br = document.createElement('br');
element.appendChild(document.createTextNode(names));
element.appendChild(br);
}
if (document.getElementById("result")) {
document.getElementById("placeholder").removeChild(document.getElementById("result"));
}
document.getElementById("placeholder").appendChild(element);
}