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.
108 lines
24 KiB
JavaScript
108 lines
24 KiB
JavaScript
var nm0 = ["Adrepia", "Aekaryn", "Alevia", "Alidolon", "Arcadia", "Azeris", "Baelogia", "Binyth", "Brerith", "Chasan", "Choris", "Drundar", "Echurid", "Edrasos", "Gromor", "Hinia", "Ibretia", "Idradora", "Ikrenad", "Irathra", "Islirith", "Kolyra", "Kunada", "Liathil", "Miteron", "Nexover", "Nizar", "Odasite", "Olympa", "Prasiane", "Prixa", "Pruntis", "Shuntis", "Thelsia", "Thiranis", "Vemor", "Vetisan", "Wolrantis", "Xacradal", "Xania"];
|
|
var nm1 = ["within", "life itself", "the force of life", "a force within"];
|
|
var nm2 = ["Power flows through every living thing", "Magic is part of everyone and everything", "Magical powers connect everything to everything", "All living beings possess magical energies within themselves", "Magical energies radiate throughout the entire world"];
|
|
var nm3 = [", but only a select few are able to tap into these energies", ", but despite this, not everybody is able to control these powers", ", but only a portion of people are able to bend these magical energies to their will", ", but despite having magical powers within them, not all beings are able to utilize them", ", unfortunately this doesn't mean all beings are able to utilize these magical energies", " and, as a result, everyone has magical abilities", " and this grants all beings incredible abilities", ", so all life possesses magical abilities in some shape or form", ", which in turn instills all life with the ability to use magic in various forms", " and all sentient beings possess the ability to utilize these energies"];
|
|
var nm4 = ["Fortunately there are many training facilities to make sure those who are able to wield magic wield it responsibly", "So far no conflict has sprung from these differences and there are no tensions between either side", "These differences could easily create conflict, but so far it has done the opposite by creating specialized jobs and teamwork", "In the past these magical energies have caused more destructive warfare, but with more knowledge being gained every day, wars are becoming less common and less destructive", "For better or worse, life has changed drastically as a result of all these magical energies and the limits are far from discovered", "Some are able to gain more power than others simply by being able to train better, but overall there's a balance of power", "Life has changed drastically ever since training became the norm and magical knowledge began to spread quickly across the world", "Since the beginning of magic, life has changed to become far more diverse, specialized and fantastical, but also more dangerous in specific parts of the world", "This spread of magic has created better ways to defend against the element, but also better ways for predators to hunt their prey", "Magic has become an integral part of evolution, in may cases even the primary driving force of it"];
|
|
var nm5 = ["More and more research is being put into discovering what the limits of magic are and what the most efficient ways of using magic are", "Traditions are holding back magical research and creativity, so there's a world of knowledge yet to be discovered", "There are some who are looking into ways to expand the magical potential within each being, so far with only small successes", "It is unclear how exactly magic works and little research is being done to find out, many see it as sacrilege to do so", "Storing and spreading magic is at the forefront of magical research in order to utilize it better in difficult times", "Much is known about the workings of magic in scientific terms, but far more is yet to be discovered. Plenty of research is being put into it though", "Experiments and research are becoming more and more common in an attempt to better understand magic and make use of its full potential", "Like the universe itself, magic remains a great mystery to even the wisest in this world, but many are quite content with this for now", "Training and dedication have proved to allow for greater utilization of magic, but the full potential of it has yet to be discovered", "For better or worse, magic remains a mysterious force to many despite using it on a daily basis"];
|
|
var nm6 = ["the gods", "the gods themselves", "powerful deities", "unseen deities", "powerful gods", "a variety of deities", "a pantheon of gods"];
|
|
var nm7 = ["They grant everyone powers to aid themselves in their lives", "Their gifts helped humankind overcome many obstacles", "It is their gift to mankind and a testament to their divine powers", "As if bestowing mankind with godly powers as well, each human is granted magical powers", "In a show of their magnificent power, the gods bestowed mankind with powers of their own", "All those they deem worthy are granted magical abilities", "Their devout followers are gifted incredible powers", "The best and brightest in the eyes of the gods are rewarded with powers the gods see fit", "Both as an aid and reward, the gods bestow powers upon all those who have proved themselves in their eyes", "The chosen few who are granted these powers become champions of the gods"];
|
|
var nm8 = [" and more powers may be granted if mankind proves themselves to be worthy enough", " and it is a power that can be taken away should mankind fail in the eyes of the gods", " and it acts as a warning to not cross the gods for there's far more power beyond what mankind has given", " and shows a mere shimmer of the powers the gods themselves possess", " and at the same time acts as a deterrent to all those who'd dare to defy them", "; the more devoted they follow the more power they're granted", "; if they prove themselves even further, more powers may be granted", " and more power awaits all those who continue to prove themselves", " and could continue to rise further in the approval of individual gods", " and the gods have promised there's more to be gained for those who prove themselves further"];
|
|
var nm9 = ["Not all gods are the same, however, and some seek to destroy others by granting their own followers more powers to fight the followers of other gods", "Unfortunately gods can be cruel; from time to time the gods will pit their own followers against each other by whispering promises of greater powers should their followers overthrow those of a different god", "It was the gods' intention to make everyone equal by granting mankind powers to be able to be more self-reliable", "By granting everybody powers to take care of themselves, the gods tried to prevent a power imbalance some humans would surely abuse", "But what the gods give, they can also take away. It's a cruel game the gods play from time to time", "Sadly some gods are bloodthirsty and will grant powers only to those who kill and spread chaos, something some groups have become devoted to", "This power imbalance leads to strife in the human world, all according to the gods' plans", "The most devoted see themselves as greater in the eyes of their gods and will use this as an excuse to destroy those who oppose one god or another", "This power imbalance is obviously dangerous, something all according to plan of the gods who revel in causing mayhem", "This is an attempt by the gods to keep mankind in check through rewards for good behavior, so far it seems to work"];
|
|
var nm10 = ["Some are looking for ways to please the gods in an attempt to gain more powers, but so far none have managed beyond the main characters in myths and legends", "Little research has been put into magic for it is seen as sacrilege to research a gift of the gods", "While the limits of magic have been tested in battle over and over again, other limits have yet to be put to the test", "Magic itself is being used to try and please the gods as well as show gratitude through festivals, statues and other offerings", "The gift of magic has proved to be both a blessing and a curse, and it remains to be seen whether the future will lean more toward the blessing side", "Some of the most powerful champions have mistakenly seen themselves as equal to the gods or even as stronger than them. This has never ended well for any of them", "Some champions have been at the front line of genocides and chaos in the name of one god or another just to gain more power. They never gained the power to craved", "There are whispers in closed circles about ignoring the gods and seeking paths without them, their own existence fuels these for, according to these whisperers, almighty gods would've surely snuffed them out and therefore the gods aren't as mighty as they appear", "Some circles are trying to figure out the best and most efficient ways to appease the gods in search for more power, which is working in their favor", "From time to time a god will grant a random person powers in order to see how others will react. Oftentimes people will replicate the behavior of this chosen random"];
|
|
var nm11 = ["artifacts", "powerful artifacts", "ancient relics", "relics", "ancient artifacts", "powerful relics"];
|
|
var nm12 = ["The artifacts grant the same types of powers to all those who are able to wield them", "A wide range of artifacts grant a wider range of powers to those who wield them", "The few artifacts that exist grant power to all those who wield them for as long as they wield them", "Powerful and rare objects grant the wielders immense powers", "There are dozens of artifacts, each with their own power for those who wield them", "Each artifact grants power to those who come into contact with it", "Each of the many different artifacts grant a type of power to those who can attune to it", "There are only a few artifacts, but they grant their power to all those who get into contact with them", "As if some kind of key, these artifacts unlock powers within those who touch them", "Somehow these artifacts grant powers to those who wield them even if only for a few seconds"];
|
|
var nm13 = [" so those who possess these artifacts wield power far beyond those who don't", ", but many seek to claim all artifacts for themselves", ", but some artifacts possess powers in far greater quantities than others", " unfortunately this makes it all too easy for these artifacts to fall into the wrong hands", " with rewards this great, the risk of losing them is all the greater", " so in theory it'd be easy to spread the power to everybody in the world", ", which allows for magical powers to be spread far and wide for as long as people are willing to share these artifacts", " so magical powers can be granted to everyone in quick succession", ", which gives everybody a chance to unlock their inner potential", " even a baby could unlock hidden powers with a single touch of an artifact"];
|
|
var nm14 = ["Wars have been fought over control of specific artifacts in the past and are likely to erupt again in the future", "International laws have been put into place to make sure these artifacts are used for the betterment of the entire world", "Some artifacts have had their power split into different objects to help create more equality and stability", "There have been attempts to destroy all artifacts to protect the world against them, but so far all attempts point at seemingly indestructible artifacts", "It is unclear whether all artifacts have been found or if more lurk hidden beneath sands or inside tombs of old", "There have been periods in time where one nation had a monopoly on the majority of artifacts, but there's now a balance in order to prevent wars", "Artifacts are cycled between nations to ensure all powers are shared among all people, at least if a nation is willing to share it with their people", "A market has risen from these artifacts where people can buy access to artifacts and thus the powers they unlock", "These artifacts have become integral parts of various societies in ways that include rites of passage, rewards for grandeur, and a whole lot more", "Like medals, artifacts are given to those who've proved themselves capable in some shape or form so there's a desire to improve oneself in order to gain the powers through these rewards"];
|
|
var nm15 = ["More and more research is being invested into these artifacts and their inner workings, but answers remain rare", "There have been attempts to try and move the power of an artifact into a person, but this has always had disastrous results", "No matter how hard they try, nobody has been able to figure out the secrets of these artifacts. How they work, where they come from, why the exist. The answers may never be known", "The origin of these artifacts is being investigated more and more. Some claim they're dark gifts from demonic lords, others claim they're forgotten equipment from alien visitors, and even others say they've been part of the world since the beginning", "Oddly enough, the power within the artifacts never seems to run out. Quite the opposite, the more they're used the more powerful they seem to ", "More and more research is put into the inner workings of these artifacts. Perhaps they can be replicated with different powers", "The artifacts eventually run out of power, but more are found from time to time so nobody seems to care too much about this", "The origins of these artifacts is supposedly only known to the governments of the world, but some say nobody truly knows where these artifacts come from", "There are small circles who refuse to accept any powers bestowed by these artifacts as their origins are unknown. Their powers may be great, but without knowing if there's a cost some don't feel like they're worth it", "A handful of people throughout time have warned of dark powers being part of these artifacts and that spreading their influence to everyone could be the downfall of all"];
|
|
var nm16 = ["previous lives' power", "a reincarnation cycle", "the powers of ancestors", "life through reincarnation"];
|
|
var nm17 = ["Power is bestowed when one life ends and a new one begins", "Reincarnations grant power from previous lives to new ones", "Knowledge and magical energies pass from one life to another whenever one ends and another begins", "All the power and knowledge one gains in life is passed onto new life through reincarnation", "When a life ends, all their knowledge and magical energies flow from their life to a next one"];
|
|
var nm18 = ["so those fortunate enough to be reincarnated through a powerful life are given great powers", "those with the most powerful lives in older generations wield the most power today", "if your ancestor happened to be powerful, you are fortunate to be born powerful too", "so those with great powers in the present know their powers continue in a different generation, for better and worse", "so power can grow immensely if those who gain it at birth wield it responsibly"];
|
|
var nm19 = ["There is some balance as a result of great education systems, but there will always be fortunate ones who inherited secrets they prefer to keep to themselves", "With these inheritances of knowledge also come secrets, some of which who should've been taken to the grave", "Wars have been fought in the past in an attempt to shift knowledge from one nation to another. By killing powerful people of one nation and making sure there are many birth in another, chances of reincarnation of powerful souls is higher in the latter", "Strangely enough, powerful souls often seem to be reincarnated in those who are inherently weaker, perhaps as some kind of balancing force in the universe", "This passing of knowledge has allowed for huge leaps in progress around the world as little has to be relearned or remastered by new generations"];
|
|
var nm20 = ["Research is being put into figuring out how this reincarnation process works, partially to better understand it and partially to see if there's a way to figure out where great minds will pass to in the future", "The passing down of knowledge has caused chaos in the past as well. False beliefs continued to remain in existence and, without knowing the source, were often used like they were correct", "Propaganda and misinformation has been used by some nations with the knowledge this information would spread to other nations in future generations. As a result many ideas have spread around the world without knowing how true they really are", "There are those who seek to break this cycle of inheritance to protect the world against the spread of misinformation, but some claim they're doing it to prevent their secrets from falling into the wrong hands", "Around the world secret societies have risen to secure their darker ways. Those who happen to inherit their secrets are sought and absorbed into their ranks"];
|
|
var nm21 = ["the Springs of Power", "the Eternal Fountain", "the Ethereal Vortex", "the Arcane Well", "the Obelisk of Virtue"];
|
|
var nm22 = ["It radiates with magical energies that spread into the world", "Its aura pulses with magical energies that radiate far into the world around it", "Like a heart, it pulses magical energies into the world around it", "Magical energies pulse from it and spread into the world around it", "From it, magical energies seep into the world and enrich it with powers"];
|
|
var nm23 = [", but only those able to connect with these energies can use them for their own benefit", ", but not everybody has the ability to tap into these energies for their own purposes", ", but while the energies flow all around, only few beings can connect to and make use of them", ", but despite this, not all beings are equally capable of bending these energies to their will", ", but only some beings have the power to utilize these energies as they see fit", " and brings magical abilities to a wide range of beings", " and mankind is fortunate enough to be able to tap into these powers", " and several races across the globe can tap into these energies in various ways", " and enhances all life forms beyond their limits", " and changes life as it was before the influence of these magical energies"];
|
|
var nm24 = ["Fortunately there's balance in the world through co-existence and working together despite differences in magical powers", "In the past this has caused great strife when those who can use magic and those who can't came into conflict", "Unfortunately history has seen far too many cases of abuse of magical powers at the cost of those who cannot defend themselves", "Those with magical powers have often been at the forefront of change in the world, but often hand in hand with those who cannot wield the same kinds of powers", "It seems like a cruel joke to those unable to wield the powers that flow through them, but their determination to overcome this has been a driving factor in progress all around the world", "Great civilizations have been built thanks to these powers and life itself has been changed far beyond what would otherwise have been possible", "It has made wars worse, but it has also made prosperity more prosperous. These powers are a double edged sword, one that is difficult to balance", "Despite or perhaps because of these powers, war hasn't broken out. There's a peaceful balance, one where people tend to leave others be as they are", "While those within it see their world as normal, this world is truly magical in every sense of the word. A tranquil world of powerful displays of ingenuity and care", "Magic manifests differently from being to being though, and these differences can lead to strife from time to time"];
|
|
var nm25 = ["Research is put into figuring out how to replicate this magical source in other places around the world as a security measure. Should anything happen to one, others could fill in", "Attempts to destroy this magical source have been thwarted in the past, but the damage that was done did show the total destruction would lead to a destabilization of all magical energies across the world", "International security forces have been put into place to make sure nothing happens to this almost sacred source, time will tell if they're enough", "Efforts are being made to recreate this massive source of magic on the opposite side of the world to try and even out the spread of these magical energies", "There are many who fear the end of their source of magic. Natural disasters, crazed fanatics or even beings from a different world are among those fears, so far none of these have come even close to becoming true however", "With all beings counting on the same source for their magic, the surrounding areas have become a popular destination for pilgrimage-like journeys", "While the beings in this world feel safe knowing they all count on the same source of magic, beings from other worlds keep a hungry eye on this seemingly free source of power", "Despite all life forms relying on the same source for magic, those with lesser abilities have tried to destroy it in an order to shift the balance of power", "There's an increased amount of research being put into figuring out whether this source of magic can be replicated, primarily for security reasons should the original be destroyed", "Attempts to replicate this source of magic or even anything like it have all failed, but this hasn't stopped researchers from trying further"];
|
|
|
|
function nameGen() {
|
|
var nTp = Math.random() * 5 | 0;
|
|
var rnd0 = Math.random() * nm0.length | 0;
|
|
switch (nTp) {
|
|
case 0:
|
|
var rnd = Math.random() * nm1.length | 0;
|
|
var rnd2 = Math.random() * nm2.length | 0;
|
|
var rnd3 = Math.random() * 5 | 0;
|
|
var rnd4 = Math.random() * 5 | 0;
|
|
var rnd5 = Math.random() * 5 | 0;
|
|
if (rnd2 > 4) {
|
|
rnd3 += 5;
|
|
rnd4 += 5;
|
|
rnd5 += 5;
|
|
}
|
|
names = "In " + nm0[rnd0] + ", magic comes from " + nm1[rnd] + ". " + nm2[rnd2] + nm3[rnd3] + ". " + nm4[rnd4] + ".";
|
|
names2 = nm5[rnd5] + ".";
|
|
break;
|
|
case 1:
|
|
var rnd = Math.random() * nm6.length | 0;
|
|
var rnd2 = Math.random() * nm7.length | 0;
|
|
var rnd3 = Math.random() * 5 | 0;
|
|
var rnd4 = Math.random() * 5 | 0;
|
|
var rnd5 = Math.random() * 5 | 0;
|
|
if (rnd2 > 4) {
|
|
rnd3 += 5;
|
|
rnd4 += 5;
|
|
rnd5 += 5;
|
|
}
|
|
names = "In " + nm0[rnd0] + ", magic comes from " + nm6[rnd] + ". " + nm7[rnd2] + nm8[rnd3] + ". " + nm9[rnd4] + ".";
|
|
names2 = nm10[rnd5] + ".";
|
|
break;
|
|
case 2:
|
|
var rnd = Math.random() * nm11.length | 0;
|
|
var rnd2 = Math.random() * nm12.length | 0;
|
|
var rnd3 = Math.random() * 5 | 0;
|
|
var rnd4 = Math.random() * 5 | 0;
|
|
var rnd5 = Math.random() * 5 | 0;
|
|
if (rnd2 > 4) {
|
|
rnd3 += 5;
|
|
rnd4 += 5;
|
|
rnd5 += 5;
|
|
}
|
|
names = "In " + nm0[rnd0] + ", magic comes from " + nm11[rnd] + ". " + nm12[rnd2] + nm13[rnd3] + ". " + nm14[rnd4] + ".";
|
|
names2 = nm15[rnd5] + ".";
|
|
break;
|
|
case 3:
|
|
var rnd = Math.random() * nm16.length | 0;
|
|
var rnd2 = Math.random() * 5 | 0;
|
|
var rnd3 = Math.random() * 5 | 0;
|
|
var rnd4 = Math.random() * 5 | 0;
|
|
var rnd5 = Math.random() * 5 | 0;
|
|
names = "In " + nm0[rnd0] + ", magic comes from " + nm16[rnd] + ". " + nm17[rnd2] + ", " + nm18[rnd3] + ". " + nm19[rnd4] + ".";
|
|
names2 = nm20[rnd5] + ".";
|
|
break;
|
|
case 4:
|
|
var rnd = Math.random() * nm21.length | 0;
|
|
var rnd2 = Math.random() * nm22.length | 0;
|
|
var rnd3 = Math.random() * nm23.length | 0;
|
|
var rnd4 = Math.random() * 5 | 0;
|
|
var rnd5 = Math.random() * 5 | 0;
|
|
if (rnd3 > 4) {
|
|
rnd4 += 5;
|
|
rnd5 += 5;
|
|
}
|
|
names = "In " + nm0[rnd0] + ", magic comes from " + nm21[rnd] + ". " + nm22[rnd2] + nm23[rnd3] + ". " + nm24[rnd4] + ".";
|
|
names2 = nm25[rnd5] + ".";
|
|
break;
|
|
}
|
|
var br = document.createElement('br');
|
|
if (document.getElementById("result")) {
|
|
document.getElementById("placeholder").removeChild(document.getElementById("result"));
|
|
}
|
|
var element = document.createElement("div");
|
|
element.setAttribute("id", "result");
|
|
element.appendChild(document.createTextNode(names));
|
|
element.appendChild(br);
|
|
element.appendChild(document.createTextNode(names2));
|
|
document.getElementById("placeholder").appendChild(element);
|
|
}
|