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.
26 lines
7.7 KiB
JavaScript
26 lines
7.7 KiB
JavaScript
var names1 = ["Abdication", "Abuse", "Amalgamation", "Ambitions", "Anarchy", "Angels", "Ashes", "Assassinations", "Autarchy", "Autonomy", "Awakening", "Backdoors", "Backstabs", "Betrayal", "Blackmail", "Blessings", "Bliss", "Blood", "Bloodshed", "Blunders", "Bowing", "Broken Armies", "Broken Souls", "Brutalities", "Burning Flags", "Carnage", "Certain Demise", "Certain Doom", "Charity", "Clean Hands", "Cleansing Rains", "Coalitions", "Comrades", "Condemnation", "Control", "Corruption", "Covert Affairs", "Cowards", "Crooks", "Damnation", "Darkness", "Death", "Deaths", "Deceit", "Deception", "Defamation", "Delusion", "Demands", "Democracy", "Denial", "Desire", "Destruction", "Devotion", "Dilemmas", "Disgrace", "Disguises", "Dishonor", "Disloyalty", "Disorder", "Disruption", "Disunion", "Domination", "Duality", "Duplicity", "Duty", "Eradication", "Essence", "Evaded War", "Executions", "Exiles", "Expansion", "Extermination", "Extortion", "Faith", "Favor", "Flying Colors", "Fortune", "Fraud", "Freedom", "Fusions", "Gluttony", "Greed", "Growth", "Guilt", "Harmony", "Heart", "Heaven", "Hidden Goals", "Hoaxes", "Honesty", "Honor", "Hope", "Humiliation", "Humility", "Hypocrisy", "Ignorance", "Illusions", "Impostors", "Independence", "Individuality", "Innocent Victims", "Innocents", "Integrity", "Intelligence", "Interruption", "Justice", "Kindness", "Law", "Legitimacy", "Liberty", "Lies", "Life", "Loyalty", "Luxury", "Magic", "Malignance", "Martial Law", "Mergers", "Miracles", "Mistakes", "Mysteries", "Mystics", "Necrosis", "Neglect", "New Hope", "Nothing", "Obedience", "Obscurity", "Oppression", "Oversights", "Pacifism", "Patriots", "Perfection", "Persecution", "Pressure", "Privacy", "Promises", "Promotions", "Prosperity", "Protection", "Public Order", "Public Unrest", "Purity", "Rebirth", "Recovery", "Reincarnation", "Rejuvenation", "Reparation", "Resignation", "Respect", "Restoration", "Resurgence", "Revelations", "Revival", "Riches", "Righteousness", "Sanctification", "Sanctions", "Scams", "Scarred Lands", "Secrets", "Security", "Separation", "Severance", "Shams", "Shrouded Lies", "Shrouded Truths", "Silence", "Slander", "Slavery", "Slaves", "Solutions", "Sovereignty", "Stagnation", "Submission", "Subterfuge", "Support", "Surrender", "Survival", "Terminality", "The Bastard", "The Brotherhood", "The Burning City", "The Curse", "The Dictator", "The False King", "The Forest", "The Forsaken", "The Greater Good", "The Grim Reaper", "The Impasse", "The Iron Hand", "The Lands", "The Light", "The Massacre", "The Meek", "The Mountains", "The Occult", "The Oracle", "The Pure", "The Silver Angel", "The Trojan Horse", "The True King", "Theft", "Thieves", "Torment", "Torture", "Traitors", "Treachery", "Triumph", "Truth", "Unanimity", "Unification", "Unions", "Unison", "Utopia", "Vetos", "Victims", "Victory", "Vigor", "Virtues", "Vitality", "Wealth", "Welfare", "Wonder"];
|
|
var nm1 = ["Mystique", "d'Énergie", "d'Équité", "d'Éradication", "d'Éternité", "d'Éveil", "d'Évolution", "d'Abandon", "d'Abdication", "d'Abus", "d'Amalgamation", "d'Ambition", "d'Anarchie", "d'Assassinats", "d'Augmentation", "d'Aumônes", "d'Autarcie", "d'Autonomie", "d'Avidité", "d'Enchantement", "d'Erreur", "d'Esclavage", "d'Espérance", "d'Espoir", "d'Exil", "d'Existence", "d'Expansion", "d'Extermination", "d'Extorsion", "d'Harmonie", "d'Honnêteté", "d'Honneur", "d'Humiliation", "d'Humilité", "d'Hypocrisie", "d'Ignorance", "d'Illusion", "d'Imitation", "d'Imposteurs", "d'Indépendance", "d'Individualité", "d'Infamie", "d'Infidélité", "d'Intégrité", "d'Intelligence", "d'Interruption", "d'Intimité", "d'Obéissance", "d'Obligation", "d'Obscurité", "d'Oppression", "d'Ordre Publique", "d'Unanimité", "d'Unification", "d'Unisson", "d'Utopie", "de Bénédiction", "de Bienveillance", "de Brutalité", "de Calomnie", "de Camarades", "de Carnage", "de Cendre", "de Chance", "de Chantage", "de Charité", "de Complaisance", "de Concorde", "de Condamnation", "de Confort", "de Confusion", "de Contrôle", "de Corruption", "de Croissance", "de Croyance", "de Culpabilité", "de Déguisements", "de Déloyauté", "de Démission", "de Déshonneur", "de Désordre", "de Désunion", "de Dévotion", "de Dévouement", "de Damnation", "de Destin", "de Destruction", "de Deux Guerres", "de Diffamation", "de Disgrâce", "de Domination", "de Dualité", "de Duplicité", "de Félicité", "de Fausseté", "de Fidélité", "de Foi", "de Fondation", "de Forestiers", "de Fortune", "de Fraude", "de Fusion", "de Fusionnement", "de Gentillesse", "de Gourmandise", "de Grâce", "de Guérison", "de Guerre", "de Justice", "de Légitmité", "de Libération", "de Liberté", "de Loyauté", "de Lumière", "de Luxe", "de Mémoires", "de Mérite", "de Maîtrise", "de Magie", "de Main de Fer", "de Massacre", "de Merveille", "de Miracle", "de Mort", "de Mort Certaine", "de Mystère", "de Nécrose", "de Négligence", "de Naissance", "de Nouvel Espoir", "de Paradis", "de Patronage", "de Perfection", "de Persécution", "de Perturbation", "de Poignards", "de Pourriture", "de Prévenance", "de Pression", "de Privilège", "de Prodige", "de Promesse", "de Promotion", "de Prospérité", "de Protection", "de Pureté", "de Réapparition", "de Récupération", "de Régulation", "de Réincarnation", "de Réparation", "de Révélation", "de Rajeunissement", "de Relance", "de Remise", "de Renaissance", "de Respect", "de Restauration", "de Richesse", "de Rien", "de Rupture", "de Sécurité", "de Séparation", "de Sanctification", "de Sang", "de Silence", "de Solitude", "de Solution", "de Sorcellerie", "de Soumission", "de Soutien", "de Souveraineté", "de Stagnation", "de Stupeur", "de Subterfuge", "de Supplice", "de Surveillance", "de Survie", "de Ténèbres", "de Tendresse", "de Terminalité", "de Terre Marquée", "de Tourment", "de Traîtrise", "de Trahison", "de Triomphe", "de Tromperie", "de Tuerie", "de Vénération", "de Vérité", "de Vertu", "de Veto", "de Victoire", "de Vigueur", "de Vitalité", "de Vol", "de l'Ange d'Argent", "de l'Impasse", "de l'Oracle", "de l'Utopie", "de la Faucheuse", "de la Fin", "de la Foi", "de la Forêt", "de la Fraternité", "de la Loi Martiale", "de la Malédiction", "de la Nuit", "de la Terre", "de la Vie", "de la Ville en Flammes", "des Âmes", "des Âmes Brisées", "des Affaires Secrètes", "des Ambitions", "des Anges", "des Arcs", "des Armées Brisées", "des Blagues", "des Cœurs", "des Coalitions", "des Couleurs", "des Dilemmes", "des Drapeaux en Feu", "des Esclaves", "des Escrocs", "des Exécutions", "des Exilés", "des Faveurs", "des Froussards", "des Gaffes", "des Lâches", "des Lois", "des Mains Propres", "des Masques", "des Massacres", "des Mensonges", "des Montagnes", "des Patriotes", "des Sanctions", "des Secrets", "des Traîtres", "des Troubles Publics", "des Victimes", "des Victimes Innocentes", "des Voleurs", "du Bâtard", "du Cartel", "du Cheval de Troie", "du Ciel", "du Dictateur", "du Dilemme", "du Faux Roi", "du Filou", "du Fléau", "du Scandale", "du Syndicat"];
|
|
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) {
|
|
rnd = Math.random() * nm1.length | 0;
|
|
names = "le Traité " + nm1[rnd];
|
|
} else {
|
|
rnd = Math.random() * names1.length | 0;
|
|
names = "Treaty of " + names1[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);
|
|
}
|