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
7.6 KiB
JavaScript
47 lines
7.6 KiB
JavaScript
var nm1 = ["A", "Ar", "Al", "B", "Br", "Bl", "C", "Cr", "Cl", "D", "Dl", "Dr", "E", "Er", "El", "F", "Fl", "G", "Gl", "Gr", "H", "I", "Il", "J", "K", "Kl", "Kr", "L", "M", "N", "O", "Or", "Ol", "P", "Pl", "Ph", "Pr", "R", "S", "Sl", "Str", "T", "Tr", "U", "Ur", "Ul", "V", "Vr", "W", "Wr", "X", "Z"];
|
|
var nm2 = ["a", "e", "i", "o", "u", "y"];
|
|
var nm3 = ["b", "br", "bl", "c", "cr", "cl", "d", "dl", "dr", "f", "fl", "g", "gl", "gr", "h", "j", "k", "kl", "kr", "l", "m", "n", "p", "pl", "ph", "pr", "r", "s", "sl", "str", "t", "tr", "v", "vr", "w", "wr", "x", "z", "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "v", "w", "z", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""];
|
|
var nm4 = ["a", "e", "i", "o", "u", "", "", "", "", ""];
|
|
var nm5 = ["cism", "do", "fis", "gar", "hin", "khi", "kyo", "lly", "ndo", "ng", "ni", "nis", "nity", "ns", "phy", "qir", "rity", "sha", "shi", "sm", "sni", "sy", "thos", "thy", "tism", "to", "ty", "was", "zen", "zor"];
|
|
var nm6 = ["Healers", "Wanderers", "Children", "Emissaries", "Harbingers", "Messengers", "Angels", "Chosen Ones", "Oracles", "Paragons", "Band", "Creed", "Cult", "Cult", "Cult", "Cult", "Followers", "Gathering", "Order", "Sect", "Divinity"];
|
|
var nm7 = ["of Ancestral Spirits", "of the Holy Light", "of Answers", "of Atonement", "of Awe", "of Balance", "of Brothers", "of Clarity", "of Cooperation", "of Darkness", "of Dawn", "of Defiance", "of Devotion", "of Dragons", "of Dreams", "of Dusk", "of Eternal Doom", "of Eternal Rain", "of Eventuality", "of Fire", "of Fortune", "of Gold", "of Harmony", "of Honor", "of Hope", "of Humanity", "of Illumination", "of Insight", "of Iron", "of Kinship", "of Light", "of Luck", "of Men", "of Nature", "of New Hope", "of Order", "of Origins", "of Our Origins", "of Parallels", "of Perfection", "of Piety", "of Purity", "of Radiance", "of Redemption", "of Reparations", "of Revelations", "of Sacrifice", "of Secrets", "of Shadows", "of Silence", "of Silver", "of Steel", "of Symmetry", "of Sympathy", "of Tranquility", "of Truth", "of Twilight", "of Unity", "of Valor", "of Virtue", "of Visions", "of Water", "of Whispers", "of Women", "of World Balance", "of our New Lord", "of the Accord", "of the All Seeing Eye", "of the Alpha", "of the Ancestors", "of the Apocalypse", "of the Attuned", "of the Aurora", "of the Black Bear", "of the Black Hand", "of the Black Sign", "of the Burning Crown", "of the Celestials", "of the Chosen", "of the Clean", "of the Comet", "of the Conqueror", "of the Crown", "of the Damned", "of the Divine", "of the Dragon", "of the Eight Divines", "of the Eight Gods", "of the Elements", "of the Emperor", "of the End", "of the Enigma", "of the Enlightened", "of the Eye", "of the False Prophet", "of the Five Divines", "of the Five Gods", "of the Flaming Sword", "of the Four Divines", "of the Four Gods", "of the Free", "of the Glorious One", "of the Illuminated", "of the Innocent", "of the King", "of the Light", "of the Martyr", "of the Messiah", "of the Mind", "of the Moon", "of the Mutants", "of the New Order", "of the Night", "of the Nine Divines", "of the Nine Gods", "of the Obscure", "of the Omega", "of the One", "of the One God", "of the Oracle", "of the Paragon", "of the Paragons", "of the Prodigy", "of the Prophecy", "of the Prophet", "of the Rapture", "of the Red Dog", "of the Sacrifice", "of the Sacrificed", "of the Serpent", "of the Seven Divines", "of the Seven Gods", "of the Sinless", "of the Six Divines", "of the Six Gods", "of the Son", "of the Soothsayer", "of the Spirits", "of the Stars", "of the Studied", "of the Sun", "of the Three Divines", "of the Three Gods", "of the Titans", "of the True Emperor", "of the True King", "of the True Prophet", "of the Two Divines", "of the Two Gods", "of the United", "of the Unsullied", "of the Virgin", "of the White Sign", "of the White Wolf", "of the Wilds", "of the World", "the Aeon", "of Annihilation", "of Balance", "of Beyond", "of Blood", "of Brimstone", "of Chaos", "of Curses", "of Darkness", "of Death", "of Demise", "of the Demise", "of Dissolution", "of Doom", "of the Dying", "of Echoes", "of Endings", "of Eternity", "of Existence", "of Faith", "of Fatality", "of Fiends", "of Forever", "of Ghosts", "of Gods", "of Graves", "of Heaven", "of Hell", "of Horrors", "of Immortality", "of Immortals", "of Life", "of Light", "of Limbo", "of Loss", "of Misery", "of Mortality", "of Mortals", "of Necrosis", "of Nightmares", "of Nothingness", "of Oblivion", "of Phantoms", "of Purgatory", "of Reapers", "of Regret", "of Our Requiem", "of Our Return", "of His Return", "of Her Return", "of Their Return", "of Revival", "of Our Revival", "of Their Revival", "of His Revival", "of Her Revival", "of Ruin", "of Sadness", "of Shadows", "of Slumber", "of Sorrow", "of Souls", "of Spirits", "of Suffering", "of Survival", "of Our Survival", "of Tombs", "of Twilight", "of Undeath", "of Undying", "of the Undying", "of Vitality", "of the Abyss", "of the Afterlife", "of the Ancient", "of the Ancients", "of the Beyond", "of the Dead", "of the Deceased", "of the Dying", "of the End", "of the Gods", "of the Grave", "of the Inevitable", "of the Inferno", "of the Living", "of the Lost", "of the Primals", "of the Reaper", "of the Spirits", "of the Undead", "of the Underworld", "of the Void"];
|
|
var nm8 = ["Ancient", "Angelic", "Beautiful", "Beloved", "Blind", "Bloody", "Sanguine", "Bright", "Brilliant", "Broken", "Bronze", "Chosen", "Craven", "Crimson", "Cruel", "Dead", "Defiant", "Diligent", "Disfigured", "Emerald", "Enchanted", "Eternal", "Ethereal", "Evanescent", "Faded", "False", "Fearless", "First", "Forsaken", "Gifted", "Golden", "Hallowed", "High", "Honest", "Humble", "Hungry", "Impure", "Diabolical", "Infernal", "Innocent", "Learned", "Light", "Little", "Lone", "Lucky", "Lying", "Macabre", "Mad", "Marked", "Anonymous", "Mighty", "Mindless", "Mysterious", "Old", "Original", "Perfumed", "Phony", "Prime", "Primeval", "Pure", "Quiet", "Radiant", "Scaly", "Silent", "Silver", "Sinless", "Sinned", "Skeletal", "Sleeping", "Storm", "Supreme", "Tempest", "True", "Twin", "Unknown", "Unnamed", "Whispering", "Wicked"];
|
|
var nm9 = ["Children", "Chosen", "Paragons", "Oracles", "Creed", "Cult", "Order", "Harbingers", "Emissaries", "Divine"];
|
|
var br = "";
|
|
|
|
function nameGen() {
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
for (i = 0; i < 10; i++) {
|
|
if (i < 3) {
|
|
rnd0 = Math.random() * nm6.length | 0;
|
|
rnd1 = Math.random() * nm7.length | 0;
|
|
names = nm6[rnd0] + " " + nm7[rnd1];
|
|
} else if (i < 6) {
|
|
rnd0 = Math.random() * nm8.length | 0;
|
|
rnd1 = Math.random() * nm9.length | 0;
|
|
names = "The " + nm8[rnd0] + " " + nm9[rnd1];
|
|
} else {
|
|
rnd0 = Math.random() * nm1.length | 0;
|
|
rnd1 = Math.random() * nm2.length | 0;
|
|
rnd2 = Math.random() * nm3.length | 0;
|
|
rnd3 = Math.random() * nm4.length | 0;
|
|
if (rnd2 < 57) {
|
|
while (rnd3 > 4) {
|
|
rnd3 = Math.random() * nm4.length | 0;
|
|
}
|
|
}
|
|
rnd4 = Math.random() * nm5.length | 0;
|
|
rnd5 = Math.random() * nm6.length | 0;
|
|
names = nm6[rnd5] + " of " + nm1[rnd0] + nm2[rnd1] + nm3[rnd2] + nm4[rnd3] + nm5[rnd4];
|
|
}
|
|
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);
|
|
}
|