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.
41 lines
9.9 KiB
JavaScript
41 lines
9.9 KiB
JavaScript
var nm1 = ["As soon as", "It shall be on the day that", "It shall be then, when", "Once", "The day", "There comes a day when", "Upon the day", "When", "When the day comes that", "When the moment comes that", "When the time comes that"];
|
|
var nm2 = ["myth becomes truth", "all is celebrated", "legend becomes history", "a dry rain descends upon us", "a red child is born", "air turns to dust", "air turns to fire", "animals rain from the sky", "ash rains from the sky", "brothers clash", "clouds roar with fury", "dogs bark and birds flee", "fire burns blue", "ice rains from the sky", "impurity is born", "kingdoms collide", "land flows like water", "lightning strikes twice", "lion and bear live together", "mountains move and rivers shiver", "one becomes many and many becomes one", "prey kills predator", "rivers run dry", "rivers run salty", "rocks will rain from the sky", "siblings rival", "silver turns to gold", "sisters reunite", "snow and thunder collide", "stars fall from the sky", "steel turns to rust", "summer ends", "temptation is too strong", "the air turns white and gray", "the blind man sees once more", "the brother becomes the father", "the dark one returns", "the darkness rises once more", "the day is longest", "the day is shortest", "the dead rise", "the first one is reborn", "the forest shrinks", "the gray man returns", "the ground shifts", "the ground turns liquid", "the horned one returns", "the last one dies", "the last one is reborn", "the lion is king no longer", "the lost heir returns", "the mark is revealed", "the mark of the one becomes the mark of many", "the moon doesn't fall", "the moon turns blue", "the moon turns bright", "the mountain shrinks", "the mountain weeps with molten fury", "the new becomes the old", "the prey kills its predator", "the rain returns", "the red lady reveals her true self", "the rivers turn green", "the sea swallows the earth", "the seas turn to ice", "the sister becomes the mother", "the sky burns with fire", "the sky falls", "the sky is colored brightly", "the sky is colored brightly at night", "the sky is thick with water", "the sky turns a different blue", "the sky turns red", "the sky turns to ice", "the sun doesn't rise", "the sun turns dark", "the true one reveals herself", "the true one reveals himself", "the wind freezes water", "the winds show their true power", "the world becomes shrouded in shadows", "the world turns to summer", "the world turns to winter", "trees shed their leaves", "water rises to the sky", "what is blue turns red", "what is false seems real", "what is green turns red", "what's shrouded is revealed", "white smoke rises", "winter turns to summer", "wolves howl together"];
|
|
var nm3 = ["a betrayal", "a breakdown", "a broken bone", "a broken heart", "a broken man", "a broken promise", "a challenge", "a child in red", "a confession", "a contract", "a deadly duel", "a defeat", "a drunk", "a drunken fight", "a duel", "a fall", "a foolish choice", "a forbidden relationship", "a forced marriage", "a golden haired man", "a man clad in green", "a man of gold", "a marked child", "a marriage", "a meeting", "a miscommunication", "a new bond", "a promise", "a proposition", "a pure blood", "a random act of kindness", "a refusal", "a secret meeting", "a secret woman", "a silver haired woman", "a sudden death", "a surrender", "a suspicious accident", "a suspicious death", "a suspicious malfunction", "a terrible act of cruelty", "a vicious act", "a victory", "a woman clad in blue", "a woman of grey", "an assassination", "an embarrassing defeat", "an exchange of coin", "an overheard conversation", "an unfortunate accident", "children of darkness", "the accused", "the banished one", "the chosen one", "the elder one", "the elder sister", "the exiled one", "the false leader", "the false prophet", "the false sister", "the foreign one", "the graceful woman", "the guilty", "the innocent", "the lost one", "the new brother", "the newcomer", "the prophet", "the scarred man", "the stranger", "the true leader", "the two faced one", "the young brother", "the young one", "three siblings", "two brothers", "two enemies", "two friends", "two siblings", "two sisters"];
|
|
var nm4 = ["bring", "mark", "bring forth", "usher forth", "cause"];
|
|
var nm5 = ["a change of leadership", "a country's doom", "a country's new rise", "a cursed age", "a destruction of power", "a generation of health", "a new fury", "a new life", "a new unity", "a reunion of enemies", "a reunion of friends", "a rise in immorality", "a rise of a new god", "a rise of faith", "a shift in power", "a strengthening of bonds", "a time of peace", "a time of prosperity", "a time of serenity", "a time of war", "a vicious war", "a world of darkness", "a world of light", "an aeon of brutality", "an aeon of fortune", "an age of abundance", "an age of anarchy", "an age of bliss", "an age of death", "an age of failing crops", "an age of fury", "an age of growth", "an age of hunger", "an age of inhumanity", "an age of justice", "an age of kinship", "an age of lawlessness", "an age of magic", "an age of misfortune", "an age of pain", "an age of sin", "an age of temptation", "an age of tranquility", "an age of warlords", "an end to enemies", "an end to hunger", "an end to our suffering", "an end to the gods", "an end to the monarchy", "an era of favorable crop yields", "an era of harmony", "an era of honor", "an era of love", "an era of sorrow", "an eternal night", "bloodshed of blue blood", "broken friendships", "depravity", "new aggressions", "technological advancement", "the beginning of a better future", "the clash of titans", "the dawn of evil", "the dawn of mankind", "the dawn of men", "the deaths of a million", "the destruction of culture", "the destruction of nature", "the downfall of an empire", "the downfall of two kingdoms", "the end of history", "the end of leadership", "the end of peace", "the end of wealth", "the fall of a false god", "the fall of the rich", "the overthrowing of royalty", "the restoration of balance", "the return of dragons", "the return of monsters", "the rise of a kingdom", "the rise of a new evil", "the rise of education", "the rise of grandeur", "the rise of hope", "the rise of mankind", "the rise of nature", "the rise of the poor", "the rise of two empires", "the rise of what was forgotten", "the toppling of leaders"];
|
|
var nm6 = ["a change of leadership", "a country's doom", "a country's new rise", "a cursed age", "a destruction of power", "a generation of health", "a new fury", "a new life", "a new unity", "a reunion of enemies", "a reunion of friends", "a rise in immorality", "a rise of a new god", "a rise of faith", "a shift in power", "a strengthening of bonds", "a time of peace", "a time of prosperity", "a time of serenity", "a time of war", "a vicious war", "a world of darkness", "a world of light", "an aeon of brutality", "an aeon of fortune", "an age of abundance", "an age of anarchy", "an age of bliss", "an age of death", "an age of failing crops", "an age of fury", "an age of growth", "an age of hunger", "an age of inhumanity", "an age of justice", "an age of kinship", "an age of lawlessness", "an age of magic", "an age of misfortune", "an age of pain", "an age of sin", "an age of temptation", "an age of tranquility", "an age of warlords", "an end to enemies", "an end to hunger", "an end to our suffering", "an end to the gods", "an end to the monarchy", "an era of favorable crop yields", "an era of harmony", "an era of honor", "an era of love", "an era of sorrow", "an eternal night", "bloodshed of blue blood", "broken friendships", "depravity", "new aggressions", "technological advancement", "the beginning of a better future", "the clash of titans", "the dawn of evil", "the dawn of mankind", "the dawn of men", "the deaths of a million", "the destruction of culture", "the destruction of nature", "the downfall of an empire", "the downfall of two kingdoms", "the end of history", "the end of leadership", "the end of peace", "the end of wealth", "the fall of a false god", "the fall of the rich", "the overthrowing of royalty", "the restoration of balance", "the return of dragons", "the return of monsters", "the rise of a kingdom", "the rise of a new evil", "the rise of education", "the rise of grandeur", "the rise of hope", "the rise of mankind", "the rise of nature", "the rise of the poor", "the rise of two empires", "the rise of what was forgotten", "the toppling of leaders", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""];
|
|
var br = "";
|
|
var br2 = "";
|
|
|
|
function nameGen() {
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
for (i = 0; i < 4; i++) {
|
|
rnd = Math.floor(Math.random() * nm1.length);
|
|
rnd2 = Math.floor(Math.random() * nm2.length);
|
|
rnd3 = Math.floor(Math.random() * nm3.length);
|
|
rnd4 = Math.floor(Math.random() * nm4.length);
|
|
rnd5 = Math.floor(Math.random() * nm5.length);
|
|
rnd6 = Math.floor(Math.random() * nm6.length);
|
|
if (rnd6 < 90) {
|
|
names = nm1[rnd] + " " + nm2[rnd2] + ", " + nm3[rnd3] + " shall " + nm4[rnd4] + " " + nm5[rnd5] + " and " + nm6[rnd6] + ".";
|
|
} else {
|
|
names = nm1[rnd] + " " + nm2[rnd2] + ", " + nm3[rnd3] + " shall " + nm4[rnd4] + " " + nm5[rnd5] + ".";
|
|
}
|
|
names2 = "-------------------"
|
|
if (i === 3) {
|
|
names2 = "";
|
|
}
|
|
br = document.createElement('br');
|
|
br2 = document.createElement('br');
|
|
element.appendChild(document.createTextNode(names));
|
|
element.appendChild(br);
|
|
element.appendChild(document.createTextNode(names2));
|
|
element.appendChild(br2);
|
|
}
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|