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.
29 lines
7.0 KiB
JavaScript
29 lines
7.0 KiB
JavaScript
var nm2 = ["Alliance", "Bond", "Coalition", "League", "Nations", "Treaty", "Union", "Federation", "Confederation", "Syndicate", "Alliance", "Bond", "Coalition", "League", "Nations", "Treaty", "Union", "Federation", "Confederation", "Syndicate", "Accord", "Confederacy", "Pact", "Ascendancy", "Concord", "Conglomerate", "Entente"];
|
|
var br = "";
|
|
|
|
function nameGen() {
|
|
var nm1 = ["Aegis", "Aerospace", "Air Space Independence", "Allied", "Amalgamation", "Amity", "Ancestral", "Angelic", "Anti-Terror", "Arcane", "Archangel", "Archetype", "Armament", "Armistice", "Ashed", "Assembled", "Assisted", "Axis", "Bastion", "Blessed", "Bulwark", "Cardinal", "Celestial", "Central", "Cerberus", "Champion", "Citadel", "Commanding", "Confederated", "Confederation", "Cooperation", "Cosmic", "Cosmos", "Counter Terror", "Crimson", "Curator", "Custodian", "Custody", "Defenders", "Defending", "Diplomatic", "Divine", "Domination", "Dread", "Dual", "Earthen", "Ebon", "Empire", "Environment Defense", "Epitome", "Equilibrium", "Eternal", "Faithful", "First", "First Aid", "Fortification", "Freedom", "Fundamental", "Galactic", "Galactic Security", "Galaxy Supervision", "Galaxy Watch", "Ghost", "Global Authority", "Global Combat", "Global Economic", "Global Financial", "Global Food", "Global Immunity", "Global Industry", "Global Inquisition", "Global Insurance", "Global Integrity", "Global Intelligence", "Global Jurisdiction", "Global Justice", "Global Prosperity", "Global Protection", "Global Sanctuary", "Global Shield", "Global Support", "Global Surveillance", "Global War", "Global Watch", "Global Welfare", "Golden", "Good Will", "Grand", "Guardian", "Guardianship", "Hallowed", "Harmony", "Harvest", "Heavenly", "Highborn", "Holy", "Immunity", "Imperial", "Independent", "Industry", "Inquisition", "Integration", "Integrity", "Intercontinental Security", "Interference", "Intergalactic", "International Security", "Interstellar Administration", "Interstellar Domination", "Intimidation", "Invulnerability", "Ivory", "Jewel", "Kinship", "Liberated", "Little", "Magistracy", "Mutual Defense", "Mutual Support", "Mystic", "Mythic", "Nature", "Nature Preservation", "Next World", "Noble", "Nonaggression", "Nuclear", "Nuclear Protection", "Obsidian", "Occult", "Onyx", "Oracle", "Pacifist", "Paladin", "Paragon", "Paramount", "Peace", "Peacekeeper", "Peacemonger", "Phantom", "Phoenix", "Pious", "Preservation", "Prime", "Primeval", "Primordial", "Prophecy", "Protection", "Quadruple", "Radical", "Rampart", "Redemption", "Regal", "Reincarnation", "Reinforcement", "Resistance", "Resurrection", "Retribution", "Revelation", "Revitalization", "Righteous", "Royal", "Sacred", "Sacred World", "Salvation", "Sanctified", "Sanctuary", "Sanguine", "Scientific Progress", "Security", "Self-Defense", "Sentinel", "Seraphic", "Shepherd", "Silver", "Sovereign", "Space Combat", "Space Command", "Stabilization", "Steward", "Strike Force", "Supreme", "Surveillance", "Terror Defiance", "Terror Opposition", "Terror Response", "Terror Supervision", "Triple", "Truce", "Undivided", "Unified", "United", "Unity", "Utopian", "Vigilante", "Vortex", "Watchdog", "Wildlife Conservation", "Wildlife Preservation", "Wildlife Shelter", "World Aid", "World Authority", "World Equilibrium", "World Freedom", "World Health", "World Keeper", "World Peace", "World Preservation", "World Provision", "World Supervision", "World Sustenance"];
|
|
var nm3 = ["Aerospace", "Air Space Independence", "Amalgamation", "Amity", "Angels", "Ancestry", "the Arcane", "the Archangel", "Armistice", "Armaments", "Ash", "Assistance", "the Axis", "the Blessed", "Cardinals", "the Centre", "Cerberus", "Champions", "the Citadel", "Cooperation", "the Cosmos", "Counter Terror", "Crimson", "Curators", "Custodians", "Custody", "Defenders", "Defense", "Diplomacy", "the Divine", "Domination", "Dread", "the Earth", "Ebon", "Environmental Defense", "the Equilibrium", "Eternity", "the Eternal", "the Faith", "the Faithful", "Faith", "First Aid", "Fortification", "Freedom", "Liberty", "the Fundamentals", "Galactic Security", "Galaxy Supervision", "the Galaxy", "Ghosts", "Global Authority", "Global Combat", "Global Economics", "Global Finances", "Global Food", "Global Immunity", "Global Industry", "Global Inquisitions", "Global Insurance", "Global Integrity", "Global Intelligence", "Global Jurisdiction", "Global Justice", "Global Prosperity", "Global Protection", "Global Sanctuary", "Global Shielding", "Global Support", "Global Surveillance", "Global War Prevention", "Global Watching", "Global Welfare", "Gold", "Good Will", "Guardians", "Guardianship", "the Hallowed", "Harmony", "the Heavens", "the Highborn", "the Holy", "Immunity", "Independence", "Industry", "Inquisition", "Integration", "Integrity", "Intercontinental Security", "Interference", "International Security", "Interstellar Administration", "Interstellar Domination", "Intimidation", "Invulnerability", "Ivory", "Kinship", "the Liberated", "Liberation", "Magistracy", "Mutual Defense", "Mutual Support", "the Mystic", "the Mythic", "Nature", "Nature Preservation", "the Next World", "the Noble", "Nonaggression", "Nuclear Protection", "the Occult", "the Oracle", "Pacifism", "Pacifists", "the Paragon", "Paragons", "Peace", "Peacekeeping", "Phantoms", "the Phoenix", "the Pious", "Preservation", "the Primordial", "the Primeval", "the Prophecy", "Protection", "the Radical", "Radicalism", "Redemption", "Reincarnation", "Reinforcement", "Resistance", "Resurrection", "Retribution", "Revelations", "the Revelation", "Revitalization", "the Righteous", "the Sacred", "the Sacred World", "Salvation", "Sanctuaries", "Sanctification", "the Sanguine", "Scientific Progress", "Security", "Self-Defense", "Sentinels", "the Sentinel", "Shepherds", "the Shepherd", "Silver", "the Sovereign", "Space Combat", "Space Command", "Stabilization", "Supremacy", "Surveillance", "Terror Defiance", "Terror Opposition", "Terror Response", "Terror Supervision", "the Undivided", "the Unified", "Unification", "Unity", "Utopia", "Vigilantes", "Watchdogs", "Wildlife Conservation", "Wildlife Preservation", "Wildlife Shelters", "World Aid", "World Authority", "World Equilibrium", "World Freedom", "World Health", "World Peace", "World Preservation", "World Provision", "World Supervision", "World Sustenance"];
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
for (i = 0; i < 10; i++) {
|
|
rnd2 = Math.floor(Math.random() * nm2.length);
|
|
if (i < 5) {
|
|
rnd = Math.floor(Math.random() * nm1.length);
|
|
names = "The " + nm1[rnd] + " " + nm2[rnd2];
|
|
nm1.splice(rnd, 1);
|
|
} else {
|
|
rnd = Math.floor(Math.random() * nm3.length);
|
|
names = "The " + nm2[rnd2] + " of " + nm3[rnd];
|
|
nm3.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);
|
|
}
|