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.

19 lines
3.4 KiB
JavaScript

function nameGen() {
var nm1 = ["A Steel", "Adore Ore", "Anvil Crafts", "Anvil Mastery", "Anvil Works", "Anything Metal", "Arms of Steel", "Ball of Fire", "Balls of Fire", "Baptisms of Fire", "Bars of Steel", "Beat the Heat", "Beats of Fire", "Belly Fires", "Between Hammer and Anvil", "Blackstone Forge", "Blazing Blacksmiths", "Blazing Glory", "Blazing Trails", "Bloodbath & Beyond", "Blue Blazes", "Blue Steel", "Breathing Fire", "By Hammer and Hand", "By Hammer and Tongs", "Clamor Glamor", "Clamorize", "Clink 'n Clank", "Clobbering Time", "Curious Forge", "Dame of Flame", "Fame of Flame", "Fire & Brimstone", "Fire It Up", "Flame of Fame", "Flux Crux", "Flux Deluxe", "Forge and Fabricate", "Forge away", "Forging Ahead", "Forging Matters", "George's Forge", "Gorge 'n Forge", "Hammer 'n Anvil", "Hammer Clamor", "Hammer Down", "Hammer Glamor", "Hammer Home", "Hammer It Hot", "Hammer Out", "Hammer Time", "Hammer and Metal", "Hammer and Tongs", "Hammer in Hand", "He Who Smelt It", "Heat Up", "Heat of the Moment", "Heavy Metal Works", "Heavy Metals", "Hot Hammer", "Hot Hot Hot", "Hot Iron", "Hot Rod", "Hot Spot", "Hot Stuff", "Hot diggety dog!", "Hot diggety!", "Hot-Shot", "In Flux", "Ingot This", "Iron Designs", "Iron Man", "Iron Woman", "Iron in the Fire", "Ironclad", "Just Enough Irons", "Like Moths", "Making It Hot", "Matter of Metal", "Metal Accent", "Metal Arts", "Metal Expertise", "Metal Fabrications", "Metal Mania", "Metal Maniac", "Metal Mastery", "Metal Pandemonium", "Metal Trades", "Metal Works", "Metallurgy", "Metalworks", "Metalworks of Art", "Mind Over Matter", "Mind Over Metal", "Mineral Minded", "Mineral Works", "Mr Smith", "Mrs Smith", "Nerves of Steel", "Nice Ring To It", "Ore Decor", "Ore Else", "Ore Galore", "Ore Really", "Ore Restore", "Ore Store", "Parent Rock", "Phoenix Fire", "Pound World", "Real Steel", "Ring to It", "Rings True", "Smelt Art", "Smelt My Hearth", "Smelt in my Arms", "Smelting Pot", "Smelts of Heaven", "Smelts of Roses", "Smite Thee", "Smith Thee", "Smithen", "Smitten", "Sparks and Flames", "Squeal of Steel", "Steel Appeal", "Steel Arms", "Steel Base", "Steel Fabrications", "Steel Ideal", "Steel Show", "Steel Thunder", "Steel Wings", "Stop! Hammer Time", "Striking Hot", "Sword in the Forge", "Sword in the Stone", "The Ancient Anvil", "The Blacksmith's Forge", "The Clamor Shop", "The Clank Tank", "The Clinker Shop", "The Cobalt Forge", "The Eternal Flame", "The Fire Spire", "The Fire Squire", "The Flame Game", "The Gorge Forge", "The Heat is On", "The Hot Forge", "The Hot Ticket", "The Inferno Forge", "The Iron's Hot", "The Metal Petal", "The Phoenix Forge", "The Right Clank", "The Smelt Belt", "The Smelt Celt", "The Smith Myth", "The Smithy", "The Storm Forge", "The Tilted Anvil", "The Unbreakable Anvil", "There Be Smoke", "True as Steel", "Under Construction", "While the Iron's Hot", "Young Flames"];
var br = "";
var element = document.createElement("div");
element.setAttribute("id", "result");
for (i = 0; i < 10; i++) {
rnd = Math.random() * nm1.length | 0;
names = nm1[rnd];
nm1.splice(rnd, 1);
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);
}