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.

109 lines
24 KiB
JavaScript

function nameGen() {
var nm1 = ["advance", "cautiously venture", "force", "go", "move", "pass", "progress", "push", "step", "stride", "travel", "venture", "walk"];
var nm2 = ["alluring", "animated", "beckoning", "brilliant", "broad", "dark", "delicate", "eerie", "enticing", "faded", "faint", "familiar", "florid", "glistening", "grand", "grim", "hefty", "impressive", "light", "lively", "menacing", "narrow", "newly created", "ominous", "pleasing", "prismatic", "strange", "temporary", "tempting", "unfamiliar", "untried", "vibrant", "vigorous", "vivid", "weak"];
var nm3 = ["hidden among the trees", "locked in a forgotten basement", "in this sacred temple", "in this desolate fortress", "in this secured room", "part of a greater altar", "that once looked like a regular door", "hidden behind a waterfall", "at the end of a long cave system", "at the top of a dormant volcano", "hidden in plain sight in an alley", "formed by two bended trees", "that looked like a small pond before", "at the top of a pyramid", "resembling a star gate", "resembling a campfire", "at the end of a hallway", "seemingly disguised as a cave entrance", "hidden high atop a mountain among a layer of clouds", "part of long forgotten ruins", "revealed only by fire", "revealed only during a full moon", "revealed only with the right elements", "previously locked behind intricate locks and traps", "hidden in plain sight in a public park"];
var nm4 = ["a depressing", "a disconcerting", "a disturbing", "a foreboding", "a frightening", "a gloomy", "a hostile", "a most upsetting", "a sinister", "a taxing", "a vexing", "a worrisome", "an alarming", "an inhospitable", "an ominous", "a bustling", "a captivating", "a charming", "a dynamic", "a fascinating", "a marvelous", "a pleasant", "a surprising", "a vibrant", "a vigorous", "a vivid", "a wonderful", "an enchanting", "an energetic", "an engaging"];
var nm5 = ["The air is thick with smoke, obstructing your vision beyond a few meters", "A thick fog hangs in the air and obstructs your vision beyond a few yards", "The air stings your eyes and skin and you cough as each breath burns your lungs", "Thick, dark clouds block out any light from above and cover the lands in gloomy shadows", "The air is dry and hot, bright light blinds you and you can feel your lungs burn with every breath", "The air is uncomfortable humid and hot, causing you to burst out in sweat immediately", "Gravity is far stronger here and you can feel its pull with every step you take. It's exhausting", "The first thing you see is your breath in the air, but freezing air soon chills you to your core", "Clouds of dust fill the air, it stings your eyes and lungs with every breath and obstructs your vision", "The ground is covered in small holes and marks caused by acid rains, fortunately it's not raining yet", "A powerful wind nearly lifts you off of the ground and rain barrages down, freezing you within minutes", "You're up to your knees in warm, murky water. The air is hot and humid, causing you to sweat almost immediately", "You find yourself in almost complete darkness, were it not for the echoes you wouldn't even know you were underground", "Light as a feather you gently float above the surface, hanging gently in the thick smog that fills the air", "With each step you take you slide forward a little more. Ice covers everything, soon it might even cover you", "Smoke bellows out of openings in the ground, creating a thick layer of clouds that shrouds the land in shadows", "The land is burning, literally. Fires wreak havoc to everything that's even remotely alive, which by now is very little", "The ground beneath your feet is cracked and dry and the air is hot and dusty. You can feel your skin begin to sweat and your lungs burn with each breath", "Rocks cover virtually every surface you can see, which makes traversing this landscape tricky and dangerous", "Lightning strikes close to you and then again and again. The sky roars as an eternal thunder storm dominates this realm", "A lush landscape full of color meets your eyes. The air is warm and humid, but pleasantly so", "You gently float above the surface, gravity is not strong here at all. The landscape too tries to reach for the sky", "Snowflakes gently glide by, they cover the entire landscape in a thick layer of snow and a silence has taken hold of the air", "A luminous world meets your eyes. Everything's glowing in some shape or form, the animals, the plants, even some of the rocks", "The first thing you notice is a barrage of scents. Pleasant and calming, this world of scents is unlike any other", "You can hear water, lots and lots of water. Rivers roar and waterfalls tumble down towering mountain sides", "Lush flower petals drift down the wind and the sounds of unseen animals fills the air", "A dark world meets you, but as your eyes adjust you begin to see a world of bio-luminescence. Animals and plants glowing in the dark", "A gentle breeze caresses your face as the rays of a blueish sun warm your skin. It's occasionally blocked by a floating island, drifting by", "The light of a giant moon illuminates this world and bathes the lush landscape in a blueish light", "You find yourself face to face with enormous statues carved out of the mountains themselves. Carvings of beings you've never seen before", "Waterfalls pour into the lagoon you're standing in from high above. Light from the orange sun peeks over and warms you gently", "A tranquil world welcomes you. Calm, warm and gentle. The lush ground is all the more enticing thanks to the stronger gravity pulling you down", "You feel yourself able to lift off of the ground thanks to this world's gravity. Ready to explore the many islands drifting in the sky", "A soothing world welcomes you. Warm air touches you gently from the lush and thick forests in front of you", "Wet, grassy ground squishes beneath your feet. This world is rich in life, though nothing is like anything you've seen before", "You find yourself atop a mountain, watching over a vast jungle-like forest full of never before seen plants. Some giant, some luminescent and some even floating in the air", "You look upon a vast landscape of huge mountains, many of them have waterfalls that flow down and meet in a giant river flowing gently in your direction", "A massive, oddly colored lake reflects the even more peculiarly colored mountains in the distance. It's peaceful and quiet here", "A world of lights and colors meets your eye. Thousands of flowers and other lifeforms seem to glow in the greenish sun of this world"];
var nm6 = ["A foul smell fills your nostrils, and you immediately begin to feel nauseous", "It's certainly not a pleasant world to live in, though some beings seem to manage", "The terrain's treacherous to walk on. Who knows what dangers await to those who fall", "A world of potential awaits, but in this case it seems like a potential for danger and death", "Who knows how long you could last in this world, probably not for long", "A strange energy hangs in the air and makes the hairs on your arms rise", "Low, ominous sounds can be heard in the distance or at least you hope it's in the distance", "Shrieks and yelps are heard all around you, but it's impossible to find their sources", "The sound of thick bubbles escaping some form of mud or viscous liquid can be heard all around you", "You could've sworn something touched your leg just now, perhaps to inspect you or to get a taste", "Uncertainty surrounds you and it's not the thrilling uncertainty of exploration, but a dreadful fear", "You feel watched even though you can't see anything watching you", "The light plays tricks on your eyes as shadows from a new landscape make your imagination go wild", "Something in the air is altering your mind, but at least it makes this world seem more pleasant", "It's hard to take everything in in such a harsh environment, but there's so much to see", "Yet there's something strangely beautiful about this isolated world of dismay", "Strange sounds erupt from behind you, perhaps two beings fighting each other or a collapsing landscape", "Your immediate instinct is to seek shelter, to find some form of relief from this atmosphere", "You feel nauseous, there must be something in the air, but who knows what it is", "Each step you take is a burden on your very being, this world is clearly not meant for you", "A wave of nostalgia hits you, somehow you feel at home in this strange world", "Any fears you had before you entered the portal are now washed away by this tranquil world", "A sense of calm takes over as you take in the gorgeous sights before your very eyes", "A sense of adventure take hold of you. This world is rich with opportunities", "Immediately your mind begins to wonder what's behind that hill or what lives atop that twisty tree", "You can't help but wonder who or what inhabits this world and you can't wait to find out", "You feel free, free to explore what lives in that river, what hides in that cave or where that forest ends", "This world erupts with life as sounds of all sorts of beings or perhaps the land itself fills the air", "Life here looks nothing like what you're used to. Different colors, different scents, but all very pleasing", "A new world has literally opened up to you, vast expanses of new life ready to be explored. You can't wait", "A barrage of the senses takes over as you begin to take in every element of this world you can", "This world seems to calm. Whether this is true or just appearances remains to be seen, but for now you're hopeful", "This world is different from your own, incredibly different. But despite the differences it feels familiar", "A sense of relief takes over as you realize this world might be safe to venture into further", "You know it's only been a short while, but this world feels very promising. Pleasant and seemingly non-hostile", "It's still best to tread cautiously, it is a new world after all, but so far so good", "A sense of calm takes hold of you. Perhaps this world is what you were looking for or maybe something in the air is affecting your mind", "You have to keep reminding yourself to not let this astonishing world lull you into a false sense of security", "It's a world beyond anything you had imagined. There's beauty in every corner, calm in every moment", "You wonder if you can trust your senses, surely a world couldn't be as seemingly pleasant as this one"];
var nm7 = ["Despite the uncomfortable atmosphere", "Even though this world's harsh", "Even with these rough conditions", "Regardless of the horrible conditions", "In spite of the treacherous landscape", "Largely due to these conditions", "Because of this rough environment", "Due to these dreadful surroundings", "Because of these horrible conditions", "It's because of this awful landscape", "The conditions in this world are excellent", "The landscape is astonishing", "A seemingly pristine landscape awaits you", "A spectacular world welcomes you", "Perfect conditions in a perfect world", "Much remains to be discovered here", "It's a world of hidden mysteries", "Who knows what secrets this world holds", "Uncharted territory as far as the eye can see", "There's so much to learn in this world"];
var nm8 = [" you don't feel like you're in danger", " you feel relatively safe at the moment", " you get the feeling you're not in immediate danger", " you're at ease and you feel secure in this world", " you don't feel a sense of dread or danger", " you feel like you're constantly in danger", " you can't help but feel danger lurks around every corner", " you feel slightly panicked as danger hides everywhere", " you can't escape the feeling of dread that your life is in danger", " you feel exposed and in jeopardy", " and you can't wait to explore it all", " and a sense of excitement takes hold of you", " and a childish curiosity takes over your mind", " and it is all yours to explore", " and a sea of time to explore it in", ", but not everything that's hidden may be as pleasant as this world", ", but now is not the time to get complacent and reckless", ", but safety still comes first, it is a strange new world after all", ", but it's important to remember that danger can lurk anywhere", ", but some things may be best left a secret"];
var nm9 = ["definitely inhospitable", "no picnic", "no walk in the park", "no easy undertaking", "undeniably hostile", "certainly unwelcoming", "indubitably threatening", "precarious beyond a doubt", "clearly treacherous", "unmistakably menacing", "definitely gentle", "undeniably pleasant", "certainly benign", "indubitably pleasing", "clearly manageable", "peaceful beyond a doubt", "kind to you for sure", "smooth sailing all across", "an easy undertaking", "a paradise"];
var nm10 = [", but for now you should be able to handle it", ", but there are no direct threats you have to deal with", ", but it's a danger you can handle", ", but at the very least you should be able to survive for a week", ", but if you're cautious it should be manageable", ", but with so much to discover you can't help but explore", ", but with great risks come great rewards", ", but even so you still fancy your chances in this world", ", but you reckon you'll be fine as long as you're cautious", ", so all you need is a healthy dose of caution and you should be fine", ", you should be perfectly safe as long as you use common sense", ", as long as you avoid accidents your journey should be amazing", " and the only real obstructions are your own abilities", " and there's nothing that could ruin this experience", ", with an optimistic sense of curiosity and a healthy dose of common sense you'll be good to go", ", but looks can be deceiving at times", ", but your own world has plenty of pitfalls, there's no reason this one won't either", ", but now is not the moment to throw caution in the wind", ", but you've caught but a glimpse of what this world has to offer", ", but time will tell how true this is"];
var nm11 = ["In the distance", "Nearby", "In the far-off distance", "Close around you", "Around you", "All around", "All around you", "Not far into the distance", "Far away", "Fairly nearby", "Close to your proximity", "In the nearby proximity", "Far behind you", "Off to the side", "Far off to the right", "Far off to the left"];
var nm12 = ["hear the sounds", "hear screams", "hear whistles and sounds", "hear songs and growls", "hear growls and grunts", "hear songs and shrieks", "feel the presence", "feel air vibrations", "smell what must be the scents", "smell the sweet scents", "smell the pungent odors", "smell traces ", "see the silhouettes", "see countless colors", "see parts", "vaguely see silhouettes", "see strange shapes", "see bits and pieces"];
var nm13 = ["creatures you've never seen before", "beings you could've only dreamed of", "creatures never before seen by anyone of your kind", "beings beyond any of your own world", "the most bizarre looking creatures", "the strangest creatures you could've imagined", "creatures not too different from the ones you know", "odd looking creatures to say the least", "the most peculiar beings you've ever encountered", "somehow somewhat familiar creatures", "eerily familiar beings", "creatures of a literally and figuratively different world", "creatures myths and legends are made of", "the type of creatures they write stories about", "creatures stranger even than those of legends of old", "creatures almost disappointingly similar to those you know", "creatures nobody could've ever imagined", "beings literally and figuratively beyond your world", "beings so strange you almost feel like you're dreaming", "beings you thought only existed in the minds of dreamers"];
var nm14 = ["While they seem docile enough", "Although they seem perfectly friendly", "While they seem curious and amicable", "Even though they seem harmless and curious", "While they show you little interest", "Despite barely giving you any attention", "Despite looking friendly and docile", "Even though they seem good natured", "While they appear to be docile and safe", "Even though they don't seem to be bothered by your presence", "They seem to have taken notice of your presence", "Some have noticed you, and their interest has peaked", "Some eye you up in a way that makes you uncomfortable", "They keep an eye on you in a predatory manner", "Some keep an eye on you, possibly with the intent to respond to whatever you do", "Not all the creatures seem content with your presence", "Instinctively, some creatures treat you with fear or ferocity", "Many of them keep their distance from you", "Some see you as a strange and thus hostile being", "There's definitely some hostility going on"];
var nm15 = ["you realise it's probably best to keep your distance", "you keep your distance just to be safe", "you try to avoid getting too close", "better safe than sorry, so you keep a good distance", "you realise it's best not to get too close", "you keep your guard up just to be safe", "the cautious path would be the best one", "now would be the time to be very cautious", "the time to take risks is definitely not now", "you keep an eye out for them just to be sure", "you keep your distance and an eye on them", "you make sure they don't get any closer", "for now you simply keep your distance"];
var nm16 = ["It's clear there are", "You can make out", "You manage to find traces of", "You see traces of", "There are traces of", "You easily spot", "It's obvious there are", "There are definitely", "You manage to spot", "You can see"];
var nm17 = ["aquatic", "bulky", "chunky", "crawling", "enormous", "feathered", "fluffy", "flying", "gliding", "hairy", "huge", "lean", "muscular", "scaly", "sliding", "slithering", "small", "thin", "tiny"];
var nm18 = ["You'll have to gather some supplies from the world around you", "You're glad you brought plenty of supplies", "With some rationing your supplies should last for a while", "This world seems to offer plenty to replenish most supplies", "You decide to make some final preparations around the portal entrance", "You decide to create a makeshift back-up camp around the portal", "You create an easy to spot landmark so you can find your way back more easily", "Strange as this world may be, you feel confident enough your supplies will last", "You can feel your excitement rising", "You make sure to check all your gear and supplies one last time", "With a final check of your supplies you ready yourself", "With everything sorted you look around one more time", "You know you've got everything sorted and prepared", "You look at the sky as if to try and figure out the time", "With your eyes on the horizon you move forward"];
var nm19 = ["you're about to set upon the adventure of a lifetime", "discovery after discovery is waiting to be made", "a whole new world will unfold before your very eyes", "you're about to set foot upon uncharted terrain", "a realm of mysteries awaits you, for better or worse", "there's a world of wonders at your finger tips", "you set upon a world beyond your imagination", "you take your first steps into a world unknown", "you begin your life as a wanderer, explorer, and adventurer in this new world", "you begin a journey unlike any other"];
var nm20 = ["some solid planning", "a few back-up plans", "a good amount of courage", "a great sense of adventure", "a curious mind", "some resourcefulness", "a bit of tenacity", "perseverance", "a little creative thinking", "a bag of tricks", "a good sense of direction", "an eye for details", "some scouting experience", "self-defense skills", "a cautious nature", "a bit of luck"];
var nm21 = ["you should be able to explore this realm for all it has to offer", "you know you'll be able to make the most of this adventure", "you know this is a chance you won't let slip by", "you might actually end up being able to call this place home", "you know you can fulfill this opportunity with everything you have", "you'll be able to make the most of this most wonderful opportunity", "you know you can charter this uncharted land", "you'll be able to make the most of this once in a lifetime opportunity", "you'll be able to create the first foothold in this world", "you'll be able to register this world for those in your own"];
var rnd1 = Math.random() * nm1.length | 0;
var rnd2 = Math.random() * nm2.length | 0;
var rnd3 = Math.random() * nm3.length | 0;
var rnd4 = Math.random() * nm4.length | 0;
var rnd5 = Math.random() * nm5.length | 0;
if (rnd4 < 15) {
while (rnd5 > 19) {
rnd5 = Math.random() * nm5.length | 0;
}
}
var rnd6 = Math.random() * nm6.length | 0;
var rnd7 = Math.random() * nm7.length | 0;
var rnd8 = Math.random() * nm8.length | 0;
if (rnd7 < 5) {
while (rnd8 > 4) {
rnd8 = Math.random() * nm8.length | 0;
}
}
if (rnd7 > 4 && rnd7 < 10) {
while (rnd8 < 5 || rnd8 > 9) {
rnd8 = Math.random() * nm8.length | 0;
}
}
if (rnd7 > 9 && rnd7 < 15) {
while (rnd8 < 10 || rnd8 > 14) {
rnd8 = Math.random() * nm8.length | 0;
}
}
if (rnd7 > 14) {
while (rnd8 < 15) {
rnd8 = Math.random() * nm8.length | 0;
}
}
var rnd9 = Math.random() * nm9.length | 0;
var rnd10 = Math.random() * nm10.length | 0;
var rnd11 = Math.random() * nm11.length | 0;
var rnd12 = Math.random() * nm12.length | 0;
var rnd13 = Math.random() * nm13.length | 0;
var rnd14 = Math.random() * nm14.length | 0;
var rnd15 = Math.random() * nm15.length | 0;
var rnd16 = Math.random() * nm16.length | 0;
var rnd17 = Math.random() * nm17.length | 0;
var rnd17b = Math.random() * nm17.length | 0;
while (rnd17b === rnd17) {
rnd17b = Math.random() * nm17.length | 0;
}
var rnd17c = Math.random() * nm17.length | 0;
while (rnd17b === rnd17c || rnd17c === rnd17) {
rnd17c = Math.random() * nm17.length | 0;
}
var rnd18 = Math.random() * nm18.length | 0;
var rnd19 = Math.random() * nm19.length | 0;
var rnd20 = Math.random() * nm20.length | 0;
var rnd20b = Math.random() * nm20.length | 0;
while (rnd20b === rnd20) {
rnd20b = Math.random() * nm20.length | 0;
}
var rnd20c = Math.random() * nm20.length | 0;
while (rnd20b === rnd20c || rnd20c === rnd20) {
rnd20c = Math.random() * nm20.length | 0;
}
var rnd21 = Math.random() * nm21.length | 0;
var name = "You " + nm1[rnd1] + " forward through the " + nm2[rnd2] + " portal " + nm3[rnd3] + ". You're immediately met by " + nm4[rnd4] + " world. " + nm5[rnd5] + ". " + nm6[rnd6] + ". ";
var name2 = nm7[rnd7] + nm8[rnd8] + ". This world is " + nm9[rnd9] + nm10[rnd10] + ".";
var name3 = nm11[rnd11] + " you " + nm12[rnd12] + " of " + nm13[rnd13] + ". " + nm14[rnd14] + ", " + nm15[rnd15] + ". " + nm16[rnd16] + " " + nm17[rnd17] + " creatures, " + nm17[rnd17b] + " creatures, and what you think might be " + nm17[rnd17c] + " creatures of some sort.";
var name4 = nm18[rnd18] + " as " + nm19[rnd19] + ". But, with " + nm20[rnd20] + ", " + nm20[rnd20b] + ", and " + nm20[rnd20c] + ", " + nm21[rnd21] + ".";
var br = [];
for (i = 0; i < 5; i++) {
br[i] = 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(name));
element.appendChild(br[0]);
element.appendChild(document.createTextNode(name2));
element.appendChild(br[1]);
element.appendChild(br[2]);
element.appendChild(document.createTextNode(name3));
element.appendChild(br[3]);
element.appendChild(br[4]);
element.appendChild(document.createTextNode(name4));
document.getElementById("placeholder").appendChild(element);
}