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.
47 lines
11 KiB
JavaScript
47 lines
11 KiB
JavaScript
var names1 = ["Albatross", "Berserker", "Black Bandanna", "Black Crow", "Black Parrot", "Black Rose", "Black Skull", "Black Snake", "Black Tooth", "Black Tooth Grin", "Blackbeard", "Bloodsail", "Blue Whale", "Bone Dry", "Brass Knuckle", "Broken Heart", "Bullseye", "Catamaran", "Chaos", "Crazy Eyed", "Crossbone", "Cutlass", "Cyclone", "Daydream", "Dead", "Defiant", "Dread", "Drifting", "Driftwood", "East Sea", "Filibuster", "Filthy Frigate", "Forsaken", "Full Sail", "Giant Turtle", "Golden Grin", "Golden Tooth", "Goldtooth", "Hydra", "Jolly", "Keel Haul", "Kraken", "Land Shark", "Lost", "Lost Rum", "Mad Man", "Maelstrom", "Maroon", "Masked", "Mermaid", "Merpeople", "Mirage", "Neptune", "Nightmare", "North Sea", "Octo", "Octopus", "One Eyed", "One Legged", "Painted", "Pegleg", "Phantom", "Poseidon", "Rat Grin", "Rattail", "Red Bandanna", "Red Hair", "Red Rose", "Rickety", "River", "Rusty", "Sanguine", "Scarlet", "Sea Lurker", "Sea Serpent", "Sea Siren", "Seagull", "Seashell", "Serpent", "Seven Sails", "Seven Seas", "Shadow", "Sharkfin", "Sharktooth", "Silent Whisper", "Silver Crow", "Smiling", "South Sea", "Specter", "Talking Parrot", "Tankard", "Tooth Grin", "Undead", "Vortex", "West Sea", "Whirlpool", "White Shark", "Whitebeard", "Black Squid", "White Squid", "Silver Hydra", "Leviathan", "Silver Wave", "Golden Cannon", "Silver Cannon", "Hollow", "Gilded"];
|
|
var names2 = ["Pirates", "Raiders", "Buccaneers", "Corsairs", "Rovers", "Pillagers", "Plunderers", "Pirates", "Bandits", "Buccaneers"];
|
|
var names3 = ["Black Diamond", "Black Fog", "Black Hydra", "Black Lagoon", "Black Sea", "Black Skull", "Black Squid", "Black Turtle", "Bloodied Flag", "Blue Lagoon", "Blue Moon", "Blue Whale", "Broken Harbor", "Broken Islands", "Coin", "Crossbones", "Curse", "Cursed Doubloon", "Dark Waters", "Dead Sea", "Depths", "East", "East Coast", "Eternal Raid", "Flintlock", "Fog", "Forsaken Captain", "Frozen North", "Frozen Ocean", "Frozen Sea", "Gilded Cannon", "Golden Banner", "Golden Cannonball", "Golden Cutlass", "Golden Mermaid", "Great Lake", "Hidden Cove", "Hidden Monster", "High Seas", "Hollow", "Horizon", "Infernal Depths", "Inner Sea", "Leviathan", "Lost Kraken", "Lost Mermaid", "Lost Ocean", "Lost Shores", "Lost Treasure", "Lurker in the Depths", "Maelstrom", "Monster Shark", "Nether", "New Horizon", "New World", "North", "North Sea", "Open Seas", "Plague", "Plank", "Promised Lands", "Promised Treasure", "Rum", "Sanguine Flag", "Scarlet Flag", "Sea Serpent", "Sea Wolf", "Seven Sails", "Seven Seas", "Seven Shores", "Shade", "Shallows", "Shores", "Silent Bay", "Silent Sea", "Silver Cannon", "Silver Cove", "Silver Eye", "Silver Moon", "Silver Serpent", "Silver Sword", "Silver Wave", "Siren's Call", "Siren's Song", "South", "South Sea", "Squid", "Sword", "Tempest", "Thunder", "Thunderstorm", "Tide", "Void", "Vortex", "West", "West Coast", "Wicked Seas", "Unleashed Kraken", "Eternal Curse", "Stolen Years"];
|
|
var names4 = ["Barnacles", "Black Bandanna Buccaneers", "Black Bandannas", "Black Sails", "Black Skulls", "Black Tooth Grins", "Blackbeards", "Bloody Bandits", "Broken Bandits", "Broken bones", "Cannon Balls", "Cannonball Bandits", "Crazy Eyes", "Cutlasses", "Dividers", "Drifters", "Driftwood Divers", "Eternal Smiles", "Filibusters", "Fishguts", "Flintlocks", "Floaters", "Golden Guns", "Grand Cannoneers", "High 'n Dry", "Hired Guns", "Hired Swords", "Hydras", "Keel Haulers", "Landlocked", "Lost Souls", "Mad Marauders", "Nautical Navigators", "Ocean Shadows", "Ocean Wanderers", "Odd Jobs", "Peg Legs", "Peglegs", "Pelicans", "Pieces of Eight", "Plagued Pillagers", "Plank Walkers", "Plunderers and Pillagers", "Rattails", "Red Raiders", "Red Sails", "Red Scarves", "Rusty Rustlers", "Salty Dogs", "Salty Swabbers", "Sea Angels", "Sea Devils", "Sea Dogs", "Sea Foxes", "Sea Monsters", "Sea Sharks", "Sea Terrors", "Sea Wolves", "Seagulls", "Shellbacks", "Silver Eyes", "Silver Sailors", "Silver Swords", "Siren's Song", "Sirens", "Skull and Crossbones", "Sons of the Sea", "South Sea Sailors", "Squids", "Stray Dogs", "Talking Parrots", "Thirsty Thieves", "Thunder Waves", "Water Walkers", "Wild Windjammers", "Daughters of the Sea"];
|
|
var nm1 = ["Pirates", "Raiders", "Boucaniers", "Corsaires", "Vagabondes", "Pillards", "Pilleurs", "Bandits", "Pirates", "Boucaniers"];
|
|
var nm2 = ["Écarlates", "Abandonnés", "Craintes", "Creux", "Délaissés", "Dorés", "Fantômes", "Joviaux", "Masqués", "Morts", "Morts-Vivants", "Peints", "Perdus", "Rachitiques", "Redoutables", "Rouillés", "Sanguins", "Souriants", "Terribles", "Vides", "à la Dérive", "aux Yeux Fous", "d'Albatros", "d'Eaux Sombres", "d'Obstruction", "d'Ombre", "d'Os Croisés", "d'Un Œil", "d'Une Jambe", "de Bannière d'Or", "de Barbe Blanche", "de Barbe Noire", "de Berserker", "de Bois Flotté", "de Brouillard", "de Bullseye", "de Catamarans", "de Cauchemar", "de Chaos", "de Coquillage", "de Défi", "de Dérive", "de Dents de Requin", "de Drapeau Ensanglanté", "de Filibustier", "de Mouettes", "de Pétards", "de Pièces", "de Port Cassé", "de Poseidon", "de Rêverie", "de Sept Mers", "de Sept Rivages", "de Sept Voiles", "de Trésor Promis", "de Voile de Sang", "de l'Épée", "de l'Épée d'Argent", "de l'Épée d'Or", "de l'Île Cassé", "de l'Œil d'Argent", "de l'Œil d'Or", "de l'Anse Cachée", "de l'Anse d'Argent", "de l'Appel de la Sirène", "de l'Est", "de l'Homme Fou", "de l'Horizon", "de l'Hydre", "de l'Hydre Noire", "de l'Hydre d'Argent", "de l'Océan Gelé", "de l'Océan Perdu", "de l'Orage", "de l'Ouest", "de la Baie Silencieuse", "de la Baleine Bleue", "de la Bandana Noire", "de la Bandana Rouge", "de la Côte de l'Est", "de la Chanson de la Sirène", "de la Dent Noir", "de la Dent d'Or", "de la Frigate Folle", "de la Haute Mer", "de la Lagune Bleue", "de la Lagune Noire", "de la Lune Bleue", "de la Lune d'Argent", "de la Lune d'Or", "de la Malédiction", "de la Malédiction Éternelle", "de la Marée", "de la Marée Sauvage", "de la Mer Gelée", "de la Mer Intérieure", "de la Mer Noire", "de la Mer Silencieuse", "de la Mer de l'Est", "de la Mer de l'Ouest", "de la Mer du Nord", "de la Mer du Sud", "de la Peste", "de la Pieuvre", "de la Planche", "de la Rivière", "de la Rose Noire", "de la Rose Rouge", "de la Rose de Sang", "de la Sirène", "de la Sirène Perdue", "de la Sirène d'Or", "de la Sirène de Mer", "de la Tempête", "de la Tortue", "de la Tortue Géante", "de la Tortue Noir", "de la Vague d'Argent", "de la Vague d'Or", "de la Voile Cassée", "des Années Volées", "des Chopes", "des Jambes de Bois", "des Mer Ouvertes", "des Mers Méchantes", "des Ondins", "des Os", "des Os Noirs", "des Profondeurs", "des Profondeurs Infernales", "des Rivages", "des Rivages Perdus", "des Rives", "des Terres Promises", "du Brouillard Noir", "du Cœur Brisé", "du Cœur Noir", "du Calamar", "du Calmar Blanc", "du Calmar Noir", "du Canon Doré", "du Canon d'Argent", "du Capitaine Abandonné", "du Corbeau Noir", "du Corbeau d'Argent", "du Coutelas", "du Coutelas d'Or", "du Crâne Noir", "du Cyclone", "du Diamant Noir", "du Doublon Maudit", "du Drapeau Écarlate", "du Drapeau Sanguin", "du Fléau", "du Grand Lac", "du Kraken", "du Kraken Déchaîné", "du Kraken Perdu", "du Léviathan", "du Loup de Mer", "du Maelstrom", "du Mirage", "du Monstre Caché", "du Monstre des Mers", "du Murmure Silencieux", "du Neptune", "du Nord", "du Nord Gelé", "du Nouveau Monde", "du Nouvel Horizon", "du Perroquet Noir", "du Perroquet Parlant", "du Poulpe", "du Raid Éternel", "du Rat", "du Requin", "du Requin Blanc", "du Requin Monstrueux", "du Requin Terrestre", "du Rhum", "du Rhum Perdu", "du Serpent", "du Serpent Noir", "du Serpent d'Argent", "du Serpent d'Or", "du Serpent de Mer", "du Silex", "du Sourire d'Or", "du Sourire de Rat", "du Spectre", "du Sud", "du Tonnerre", "du Tourbillon", "du Trésor Perdu", "du Vide", "du Voile"];
|
|
var nm3 = ["Âmes Amères", "Âmes Perdues", "Épées Louées", "Épées d'Argent", "Épées d'Or", "Albatros", "Anges de la Mer", "Bandanas Barbares", "Bandits Éternels", "Bandits Cassés", "Bandits Sanglants", "Bandits de Bois Flotté", "Bandits de Canons", "Barbres Noires", "Bernacles", "Boucaniers Barbares", "Bouches Salées", "Boulets de Canon", "Calmars", "Chalutiers", "Chansons de Sirène", "Chiens Errants", "Chiens de Mer", "Coquillages", "Coutelas", "Crânes", "Crânes Noirs", "Crânes et Os Croisés", "Démons de la Mer", "Dents Noires", "Enclavés", "Filibustiers", "Filles de la Mer", "Fils de la Mer", "Flotteurs", "Grands Canonniers", "Hydres", "Jambes de Bois", "Loups de Mer", "Maraudeurs Maniaques", "Marcheurs d'Eau", "Marcheurs de Planches", "Marins Maniaques", "Marins d'Argent", "Marins de la Mer Maniaque", "Mollusques", "Montres de la Mer", "Mouettes", "Navigateurs Nautiques", "Ombres de l'Océan", "Os Cassés", "Pélicans", "Perroquets Parlants", "Petits Boulots", "Pièces de Huit", "Pillards en Proie", "Pilleurs et Pillards", "Pistolets Dorés", "Pistolets Loués", "Raiders Rouges", "Raiders Rouillés", "Roquins", "Roquins Errants", "Sauvages", "Silex", "Sirènes", "Sourires Éternels", "Terreurs de la Mer", "Tripes de Poissons", "Vagabonds", "Vagabonds de l'Océan", "Vagues de Tonnerre", "Visages Salés", "Voiles Cassées", "Voiles Noires", "Voiles Rouges", "Voiles d'Or", "Yeux Fous", "Yeux d'Argent", "Yeux d'Or"];
|
|
var br = "";
|
|
|
|
function nameGen(type) {
|
|
var tp = type;
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
for (i = 0; i < 10; i++) {
|
|
if (tp === 1) {
|
|
if (i < 7) {
|
|
rnd = Math.random() * nm1.length | 0;
|
|
rnd2 = Math.random() * nm2.length | 0;
|
|
names = "Les " + nm1[rnd] + " " + nm2[rnd2];
|
|
} else {
|
|
rnd = Math.random() * nm3.length | 0;
|
|
names = "Les " + nm3[rnd];
|
|
}
|
|
} else {
|
|
if (i < 4) {
|
|
rnd = Math.random() * names1.length | 0;
|
|
rnd2 = Math.random() * names2.length | 0;
|
|
names = "The " + names1[rnd] + " " + names2[rnd2];
|
|
} else if (i < 7) {
|
|
rnd = Math.random() * names2.length | 0;
|
|
rnd2 = Math.random() * names3.length | 0;
|
|
names = "The " + names2[rnd] + " of the " + names3[rnd2];
|
|
} else {
|
|
rnd = Math.random() * names4.length | 0;
|
|
names = "The " + names4[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);
|
|
}
|