UNPKG

@xaroth8088/random-names

Version:

A random name generator for all kinds of things

103 lines (102 loc) 13.4 kB
export default function citys() { let nm8; let nm8b; const nm1 = ['along the banks of a mighty river', 'along the banks of modest rivers', 'along the banks of a gentle river', 'along the banks of a crystal clear river', 'along the banks of a labyrinth of rivers', 'atop the crowns of majestic hills', 'atop gentle hills', 'atop emerald hills of grass', 'atop quiet and serene hills', 'atop robust hills', 'at the base of a mighty mountain', 'in the shadow of an enormous mountain', 'on the sunny side of a gentle mountain', 'at the base of a rugged mountain', 'at the base of a modest mountain', 'in the center of a giant forest', 'in a large glade of a mighty forest', 'at the edge of a lush forest', 'at the edge of a dense, tall forest', 'among the towering trees of a huge forest', 'atop a breathtaking fjord', 'atop a towering fjord', 'atop the rugged walls of a fjord', 'atop the steep facade of a mighty fjord', 'atop the rocky heights of a fjord', 'amidst the green grasses of a gentle field', 'amidst the windy fields of gentle grasslands', 'amidst the swaying grasses of a windy meadow', 'amidst the dry grasses of a simple savanna', 'amidst the lush grasses of an evergreen pasture', 'amidst the ivory fields of snow', 'amidst the gentle snows of a pristine tundra', 'amidst the crisp snows of a silver taiga', 'amidst the frozen lands of a bitter expanse', 'amidst the bleak fields of snow', 'at the edge of a mighty swamp', 'in the center of an expansive swamp', 'at the borders of a murky swamp', 'amidst the murky waters of an enormous swamp', 'around the mushy waters of a traitorous swamp', 'at the base of a mighty volcano', 'in the shadow of a dormant volcano', 'at the base of a traitorous volcano', 'in the shadow of a rugged volcano', 'at the base of a potentially active volcano', 'on the banks of a large natural harbor', 'on the banks of a carefully crafted harbor', 'on the banks of a modest natural harbor', 'on the banks of a man-made harbor', 'on the banks of a delicate natural harbor', 'amidst the flora of a mighty jungle', 'at the edge of a lush jungle', 'at the center of a dangerous jungle', 'at the border of a traitorous jungle', 'at the center of a gorgeous jungle', 'at the center of a delicate island', 'amidst a large, rugged island', 'on a simple island', 'at the edge of an enormous island', 'at the center of a relatively small island', 'at the edge of a desert', 'amidst the sands of a mighty desert', 'around an oasis in the middle of a desert', 'in the middle of a scorching desert', 'in a seemingly endless desert']; const nm2 = ['Southport', 'Highfront', 'Shroudmoor', 'Freyport', 'Westborough', 'Dawnburgh', 'Oldwood', 'Stonewick', 'Freyford', 'Blackmere', 'Rosemore', 'Amberhill', 'Evermere', 'Sunhold', 'Ebonwick', 'Ravenside', 'Riverburn', 'Embercrest', 'Whiteburn', 'Oxglen', 'Madhollow', 'Ironford', 'Earthwall', 'Claybourne', 'Shimmergarde', 'Earthbury', 'Fayglen', 'Craghorn', 'Bellburn', 'Kilbrook']; const nm3 = ['a true modern', 'a modest', 'a historic', 'an evergrowing', 'an architectural', 'a technological', 'an extraordinary', 'a gorgeous', 'an ancient', 'a classic', 'a contemporary', 'a state-of-the-art', 'a fully modernized', 'a future oriented', 'a leading-edge']; const nm4 = ['metropolis', 'marvel', 'wonder', 'city', 'phenomenon', 'sight', 'curiosity', 'display of wonder', 'urban phenomenon', 'trade center']; const nm5 = ['beauty', 'wonder', 'uniqueness', 'appearance', 'allure', 'grace', 'elegance', 'charm']; const nm6 = ['snowy mountains', 'mighty mountains', 'tall mountains', 'a gentle mountain', 'a majestic mountain', 'lush forests', 'majestic forests', 'grand forests', 'several waterfalls', 'monumental waterfalls', 'cascading waterfalls', 'a dorment volcano', 'a smoldering volcano', 'a fuming volcano', 'lush fields of grass', 'green, fertile fields', 'rich, luscious fields', 'gentle hills', 'an abundance of hills', 'modest hills', 'clear blue skies', 'pristine skies', 'everclear skies']; const nm7 = ['resources', 'riches', 'trade resources', 'materials', 'climate']; const nm8c = ['riddled', 'packed', 'crowded', 'sprinkled', 'scattered', 'littered', 'growing', 'spreading']; const nm9 = ['tall', 'impressive', 'modest', 'towering', 'soaring', 'giant', 'stylish', 'elaborate', 'various', 'distinct', 'unique', 'peculiar', 'similar', 'luxurious', 'elegant', 'impressive']; const nm10 = ['a new one seems to pop up every other week', 'many have clearly been built within the last decade', 'many show their age and a rich history', 'a lot of them seem to have evolved throughout the ages', 'more seem to be on their way', 'they look astonishingly beautiful all together', 'they each represent the many different aspects of the city', 'they clearly show what they represent to the city itself', 'they\'ve been designed to adorn the city and each other', 'they have aspects which represent their past, present and future', 'each was more impressive than the next', 'while modern now, their history still shined through', 'their history seemed to shine more now than ever', 'each seems to evolve with the times without losing their history', 'they all seem to be in perfect unison despite being different', 'they seem to be continuously evolving as new additions are added even now', 'there is no place on earth with anything like this', 'even from afar they manage to display their beauty', 'their beauty is only matched by each other', 'they seem to be reaching higher and higher each year']; const nm11 = ['Business is booming', 'Life is great', 'Culture is rising', 'The quality of life is high', 'Technology is thriving', 'Trade is at an all time high', 'Recreation is impeccable', 'Education is superb', 'Parks and gardens are flourishing', 'Health and services are faultless', 'Daily life isn\'t too stressful', 'Science and development is flourishing', 'Employment is tremendous']; const nm12 = ['Various cultures', 'New cultures', 'Many new cultures', 'A few new cultures', 'Countless cultures', 'Many different cultures']; const nm13 = ['the architecture', 'education', 'the city\'s development', 'business', 'the city\'s history', 'education', 'trade and relations', 'international relations', 'the city\'s people', 'the city\'s cuisine']; const nm14 = ['few differences', 'plain, ordinary people', 'little diversity', 'no variation', 'monotony', 'little contrast', 'few cultures', 'predictability']; const nm15 = ['a large melting pot', 'a fusion of everything', 'a new culture of variety', 'a multicultural hub', 'an amalgamation of differences']; const nm16 = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14']; const nm17 = ['restaurants', 'bars', 'clubs', 'coffeehouses', 'bistros', 'bakeries', 'concession stands', 'diners', 'food carts', 'take-outs', 'sandwich bars', 'cafés', 'ethnic restaurants', 'gastropubs', 'theme restaurants']; const nm18 = ['art galleries', 'one of the many parks', 'nature', 'the national park', 'sightseeing', 'libraries', 'water sports', 'adventure sports', 'sport activities', 'concerts', 'musical activities', 'musea', 'tours', 'city exploring', 'dance', 'theaters', 'arcades', 'clubs', 'an amusement park', 'aerobics', 'photography']; const rnd1 = Math.floor(Math.random() * nm1.length); const rnd2 = Math.floor(Math.random() * nm2.length); const rnd3 = Math.floor(Math.random() * nm3.length); const rnd4 = Math.floor(Math.random() * nm4.length); const rnd5 = Math.floor(Math.random() * nm5.length); let rnd6 = Math.floor(Math.random() * nm6.length); let rnd7 = Math.floor(Math.random() * nm7.length); if (rnd1 > 59) { while (rnd6 < 20) { rnd6 = Math.floor(Math.random() * nm6.length); } } if (rnd6 > 19) { rnd7 = 4; } if (rnd6 < 5) { nm8 = ['have been built with rocks from those very same mountains', 'were designed with shapes and elements found in the mountains', 'mimic the broad slopes and steep peeks of the mountains', 'have been built in the shape of those same mountains']; nm8b = ' mountains '; } else if (rnd6 > 4 && rnd6 < 8) { nm8 = ['have been built with timber from those very same forests', 'have been built with many natural elements to keep in line with the forests', 'have been built with both materials and stylistic shapes of the forests', 'have been built alongside the trees and often incorporate many different forest elements']; nm8b = ' forests '; } else if (rnd6 > 7 && rnd6 < 11) { nm8 = ['have their own man-made waterfalls or similar elements as part of their architecture', 'not only use water from those waterfalls, they often incorporate some form of falling water as part of their architecture', 'mimic the falling waters of those waterfalls, sometimes by having their own man-made waterfalls', 'incorporate the aesthetic elements of water and waterfalls, as well as the lush greenery they provide']; nm8b = ' waterfalls '; } else if (rnd6 > 10 && rnd6 < 14) { nm8 = ['have been built in similar shapes as that very same volcano', 'have been built with volcanic rocks and similar looking materials', 'incorporate shapes and colors of both the volcano and of lava', 'have been built not just to withstand a volcano, but with elements and shapes of a volcano']; nm8b = ' volcanoes '; } else if (rnd6 > 13 && rnd6 < 17) { nm8 = ['have been built with an abundance of large windows to mimic the openness of fields', 'have been built with a lot of open elements to mimic the openness and vastness of the fields around them', 'are slim and tall, which mimics the grasses and openness of the fields around them', 'incorporate grass as part of their architecture in order to continue the lushious aesthetic of the fields around them']; nm8b = ' fields '; } else if (rnd6 > 16 && rnd6 < 20) { nm8 = ['have been built with many round shapes and wide sizes, similar to the fields around them', 'have been built in various round shapes and sizes, which mimics the playfulness of the hills around them', 'have been built in shapes and with elements of the hills around them', 'follow the flowing round shapes of those very same hills and continue the overall aesthetics']; nm8b = ' hills '; } else { nm8 = ['were designed to take full advantage of the climate through large windows and lush gardens', 'have been built with lots of glass and light elements to mimic the aesthetics of the blue skies around them', 'have been built to great heights, as if to try and reach the blue skies above them', 'were designed to take full advantage of the climate, as more daring elements can be created when you don\'t have to worry about strong winds']; nm8b = ' skies '; } const rnd8 = Math.floor(Math.random() * nm8.length); const rnd8c = Math.floor(Math.random() * nm8c.length); const rnd9 = Math.floor(Math.random() * nm9.length); const rnd10 = Math.floor(Math.random() * nm10.length); const rnd11 = Math.floor(Math.random() * nm11.length); const rnd12 = Math.floor(Math.random() * nm12.length); const rnd13 = Math.floor(Math.random() * nm13.length); const rnd14 = Math.floor(Math.random() * nm14.length); const rnd15 = Math.floor(Math.random() * nm15.length); const rnd16 = Math.floor(Math.random() * nm16.length); const rnd17 = Math.floor(Math.random() * nm17.length); let rnd17b = Math.floor(Math.random() * nm17.length); while (rnd17 === rnd17b) { rnd17b = Math.floor(Math.random() * nm17.length); } let rnd17c = Math.floor(Math.random() * nm17.length); while (rnd17 === rnd17c || rnd17b === rnd17c) { rnd17c = Math.floor(Math.random() * nm17.length); } const rnd18 = Math.floor(Math.random() * nm18.length); let rnd18b = Math.floor(Math.random() * nm18.length); while (rnd18 === rnd18b) { rnd18b = Math.floor(Math.random() * nm18.length); } let rnd18c = Math.floor(Math.random() * nm18.length); while (rnd17 === rnd18c || rnd18b === rnd18c) { rnd18c = Math.floor(Math.random() * nm18.length); } const name = `The city of ${nm2[rnd2]} was built ${nm1[rnd1]} and is truly ${nm3[rnd3]} ${nm4[rnd4]}. Its ${nm5[rnd5]} is matched by the backdrop of ${nm6[rnd6]} which have helped shape the city to what it is today.`; const name2 = `The ${nm7[rnd7]} these ${nm8b} brought were of great importance, but they were also influential when it came to architectural designs as the vast majority of buildings ${nm8[rnd8]}.`; const name3 = `The skyline is ${nm8c[rnd8c]} with ${nm9[rnd9]} skyscrapers and ${nm10[rnd10]}. ${nm11[rnd11]} in ${nm2[rnd2]} and it has attracted a lot of attention. ${nm12[rnd12]} have left their mark not just on ${nm13[rnd13]}, but also upon the city's identity. What historically was a city of ${nm14[rnd14]} has grown into ${nm15[rnd15]} and it's this that unites the ${nm16[rnd16]} million people to this day.`; const name4 = `It's this multicultural identity that has truly left its mark. Hundreds of ${nm17[rnd17]}, ${nm17[rnd17b]} and ${nm17[rnd17c]} offer a plethora of culinary choices and those who feel hungry for something else can enjoy ${nm18[rnd18]}, ${nm18[rnd18b]}, ${nm18[rnd18c]} or one of the many other recreational venues.`; let result = ''; result += name; result += '\n'; result += name2; result += '\n'; result += '\n'; result += name3; result += '\n'; result += '\n'; result += name4; return result; }