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.
94 lines
5.9 KiB
JavaScript
94 lines
5.9 KiB
JavaScript
var br = "";
|
|
|
|
function nameGen() {
|
|
var nm1 = ["Ave", "Civi", "Denni", "Gen", "Genner", "Gennie", "Habbie", "Nary", "Norm", "Norma", "Norman", "Ordie", "Reg", "Reggie", "Ressie", "Settler", "Sitti", "Sity", "Stan", "Standa", "Unem", "Urbie", "Verage"];
|
|
var nm2 = ["Aegis", "Armsworth", "Bell", "Boots", "Bootsmith", "Buckle", "Buckler", "Bullwark", "Busby", "Chains", "Chestington", "Coal", "Cole", "Diamonds", "Feaver", "Gow", "Guard", "Helms", "Helmut", "Ingot", "Irons", "Koval", "Kowal", "Lava", "Magma", "Mails", "Schmits", "Shieldrick", "Shields", "Ward"];
|
|
var nm3 = ["Barry", "Beefs", "Berry", "Bones", "Boucher", "Brawn", "Brawnworth", "Brew", "Butch", "Chows", "Cole", "Fleischer", "Grubs", "Hash", "Kelps", "Metzner", "Porkington", "Rabbits", "Rations", "Slager", "Stewie", "Stews"];
|
|
var nm4 = ["Atlas", "Banner", "Bannerman", "Banners", "Compass", "Discovery", "Entrepid", "Explorer", "Geo", "Glaser", "Glass", "Glazer", "Globetrots", "Globetrotter", "Journeyman", "Journeys", "Path", "Paths", "Pioneer", "Roamer", "Strider", "Tracer", "Trailer", "Trails", "Trekker", "Treks", "Trips", "Voyage", "Voyager", "Wander", "Wayfare"];
|
|
var nm5 = ["Chapman", "Clark", "Docs", "Ender", "Enders", "Foot", "Foots", "Glaser", "Glass", "Glazer", "Glow", "Heals", "Ingot", "Ingots", "Lapis", "Lazuli", "Mendings", "Mends", "Patches", "Rot", "Rott", "Salve", "Scute", "Scutes", "Soothe", "Warts"];
|
|
var nm6 = ["Akkerman", "Apple", "Appleton", "Beetington", "Beets", "Boer", "Carrots", "Cookie", "Cowman", "Crops", "Gorter", "Grows", "Harrow", "Harvester", "Harvests", "Koeman", "Landman", "Miller", "Morar", "Moraru", "Mulder", "Plants", "Plower", "Plowright", "Pumpkin", "Pumpking", "Ranch", "Rancher", "Reaper", "Seeds", "Sow", "Tater", "Taters", "Tender", "Till", "Tiller", "Tots", "Wheats"];
|
|
var nm7 = ["Angle", "Angler", "Angles", "Baits", "Baitsman", "Boatman", "Boatwright", "Bob", "Cast", "Casts", "Chum", "Coal", "Cod", "Cole", "Fisch", "Fisher", "Haul", "Lure", "Marin", "Marine", "Net", "Nets", "Piscator", "Pisces", "Puff", "Puffer", "Rod", "Rodman", "Rods", "Strings", "Trawler", "Trawlie", "Waters", "Wave"];
|
|
var nm8 = ["Archer", "Arrowsmith", "Bo", "Bolt", "Bowman", "Bows", "Bowyer", "Bullseye", "Dart", "Feathers", "Flint", "Hook", "Hooks", "Plume", "Quiver", "Sticks", "Trips"];
|
|
var nm9 = ["Attire", "Boots", "Cap", "Caps", "Flint", "Garb", "Glover", "Hide", "Hides", "Hyde", "Leatherman", "Pantington", "Raggers", "Rags", "Riggings", "Sadler", "Sandler", "Scute", "Shoemaker", "Skinner", "Skins", "Tailor", "Tan", "Tanner", "Threads", "Tunics"];
|
|
var nm10 = ["Book", "Books", "Clocks", "Compass", "Dinter", "Glass", "Ink", "Inkworth", "Lerner", "Page", "Papers", "Quill", "Quills", "Reads", "Scriver", "Shriver"];
|
|
var nm11 = ["Andy", "Baumann", "Boulder", "Brick", "Bricks", "Brock", "Chisel", "Chisels", "Clay", "Claye", "Cotta", "Dio", "Granite", "Mason", "Pebble", "Pillars", "Quartz", "Rock", "Rocky", "Stone", "Terra", "Tyler"];
|
|
var nm12 = ["Blockhead", "Bonehead", "Dimdim", "Dimwit", "Dingbat", "Dolt", "Doofus", "Dope", "Dumbbell", "Dummydum", "Dummydumdum", "Dunce", "Ignoramus", "Loony", "Muttonhead", "Nincompoop", "Nitty", "Nutters", "Pinhead", "Simpleton", "Simpleton II", "Slowpoke", "Tomfool"];
|
|
var nm13 = ["Beds", "Color", "Dye", "Dyer", "Fuller", "Paint", "Paints", "Pigment", "Shear", "Shears", "Sleep", "Sleeps", "Wool", "Wools", "Woolsworth"];
|
|
var nm14 = ["Apparatus", "Ax", "Axington", "Carpenter", "Flint", "Gizmo", "Hammer", "Hammers", "Hatchet", "Ingot", "Ingots", "Iron", "Irons", "Pick", "Steels", "Tools", "Toolsworth"];
|
|
var nm15 = ["Arm", "Arming", "Arms", "Axe", "Bell", "Blade", "Blades", "Brand", "Claymore", "Coal", "Cole", "Dirk", "Edge", "Epee", "Falchio", "Falchion", "Glaive", "Glaives", "Hatchet", "Ingot", "Kris", "Saber", "Shank", "Swords", "Swordsmith"];
|
|
var nmR = [""];
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
nTp = Math.random() * 50 | 0;
|
|
if (nTp === 0 && first !== 0 && triggered === 0) {
|
|
nTp = Math.random() * 5 | 0;
|
|
if (nTp === 0) {
|
|
creeper();
|
|
} else if (nTp < 3) {
|
|
herobrine();
|
|
} else {
|
|
enderman();
|
|
}
|
|
} else {
|
|
for (i = 0; i < 15; i++) {
|
|
switch (i) {
|
|
case 0:
|
|
nMr = nm1;
|
|
break;
|
|
case 1:
|
|
nMr = nm2;
|
|
break;
|
|
case 2:
|
|
nMr = nm3;
|
|
break;
|
|
case 3:
|
|
nMr = nm4;
|
|
break;
|
|
case 4:
|
|
nMr = nm5;
|
|
break;
|
|
case 5:
|
|
nMr = nm6;
|
|
break;
|
|
case 6:
|
|
nMr = nm7;
|
|
break;
|
|
case 7:
|
|
nMr = nm8;
|
|
break;
|
|
case 8:
|
|
nMr = nm9;
|
|
break;
|
|
case 9:
|
|
nMr = nm10;
|
|
break;
|
|
case 10:
|
|
nMr = nm11;
|
|
break;
|
|
case 11:
|
|
nMr = nm12;
|
|
break;
|
|
case 12:
|
|
nMr = nm13;
|
|
break;
|
|
case 13:
|
|
nMr = nm14;
|
|
break;
|
|
case 14:
|
|
nMr = nm15;
|
|
break;
|
|
}
|
|
rnd = Math.random() * nMr.length | 0;
|
|
nMs = nMr[rnd];
|
|
br = document.createElement('br');
|
|
element.appendChild(document.createTextNode(nMs));
|
|
element.appendChild(br);
|
|
}
|
|
first++;
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|
|
}
|