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.

49 lines
12 KiB
JavaScript

function nameGen() {
var nm1 = ["100 years", "over 100 years", "a century", "over a century", "decades", "a few decades", "a decade", "a few dozen years", "generations", "nearly 500 years", "about 400 years", "almost 200 years", "only a few years", "a generation", "only a handful of years", "about a dozen years", "only half a dozen years", "about 50 years", "about 75 years", "about 25 years"];
var nm2 = ["statue", "group statue", "art piece", "monolith", "obelisk", "triumphal arch", "terminating vista", "mound", "eternal flame", "column", "column arrangement", "cenotaph", "shrine", "fountain"];
var nm3 = ["at the grand plaza", "in the town center", "on the main hill top", "in the park's center", "in the main park", "at the city's main entrance", "at the town hall", "in the market center", "just outside the city limits", "in the small park", "at the city gates", "in the city's center", "along the river side", "at the quiet shore", "in the botanical garden", "on the tallest hillside", "in the middle of the lake", "on the lake's island", "at the waterfall's base", "in the floral park", "in the art district", "in the business center", "on the temple plaza", "at the palace entrance", "in the grand park", "on the river's quiet side", "at the forest entrance", "at the park entrance", "in the national park", "at the library", "at the graveyard entrance", "on the main crossroads", "at the old town center", "at the farmland limits", "at the harbor entrance", "on the main bridge's entrance", "at the cultural center", "in the shopping district", "at the old city entrance", "at the old town hall"];
var nm4 = ["act as a reminder of how easily life can turn for the worst, as it has for the people in the past", "act as a reminder of the atrocities committed during earlier ages and the struggles the people went through", "act as a reminder of the struggles and sacrifices made during the cruel revolution that changed the region", "act as a reminder of the struggles past generations have gone through to better life of future generations", "act as a reminder of the struggles the people of this region have gone through throughout the ages", "celebrate a great leader whose life was unfortunately ended abruptly by opposing forces", "celebrate each new generation and the advances brought by each of them across time", "celebrate the freedom gained after a terrible war and the overthrowing of tyranny", "celebrate the freedoms the people of this region have had for so many years and the progress it brought with it", "celebrate the great health care and the eternal search for the improvement of care for all", "celebrate the heroic child who managed to save hundreds of life during a natural disaster", "celebrate the ingenuity and creativity of the people of this region throughout the ages", "celebrate the leaders who lead by being a great example for all and changed the world for the better", "celebrate the lives of all those who have made this region as great as it is today", "celebrate the love between two monarchs from two completely different worlds and the unity they brought", "celebrate the loving families and great family care this region is proudly known for", "celebrate the natural wonders and beauty this region has offered for centuries and helped the people flourish", "celebrate the peaceful life this region is known for and has upheld for so many years", "celebrate the people working in protection services and all the great work they've provided throughout the years", "celebrate the revolution that changed life for the better for the people in this region", "celebrate the rich and diverse cultural history of this region and its people throughout the ages", "celebrate the rich musical and artistic history of this region, which is still part of it today", "celebrate the rich traditions and customs from the past still alive to this day", "celebrate the safety and serenity of this region, which has been the standard for so long", "celebrate the solidarity and harmonic way the people of this region live with each other", "celebrate the strength and perseverance of the people of this region, no matter the times", "celebrate the unity of the people and how it helped them through rough times and thrive in better times", "celebrate the ways the people in this region have always overcome struggles in the past", "commemorate a single hero whose life was lost after saving the lives of many others in a freak fire", "commemorate all the civilians who fought, worked and sacrificed all during the terrible war", "commemorate all those who dedicate their lives to the protection of everybody else", "commemorate soldiers of all ages whose sacrifices have made sure life is as good as it is today", "commemorate the brave sacrifices made by tens of thousands of soldiers during the grand war", "commemorate the people who fought tyranny and celebrate those who continue to do so to this day", "commemorate the people who stood up for what they believed in and paid for it with their lives during darker times", "commemorate the poor families who lost everything during the terrible fire that burned down countless homes", "commemorate the sacrifices of the lower classes during the darker times, but on which much has been built", "represent a religious deity and is meant to guard over this region and its people", "represent both the struggles and victories of the people during the brutal war of the past", "represent life itself and the way different paths intertwine and often lead to similar outcomes", "represent the blooming of this region during earlier ages and the echoes of it still visible today", "represent the hopes and dreams of the people of this region and the promise each new generation brings", "represent the importance of all generations, both young and old, and what they have to offer", "represent the overcoming of evil, as has been done several times in the past during darker times", "represent the progress made by this region throughout the ages and the hopes for the future", "represent the search for progress and knowledge the people of this region are known for", "represent the self reliance and independence this region has been built on and thrived on", "represent the spirituality and culture from the past and its influence on life today", "represent the virtues of the people which have brought them through both rough and great times alike", "represent the way the people of this region have always looked after each other for generations"];
var nm5 = ["heart and soul of the people and the unbreakable bond between past and future generations", "backbone of the community and is a symbol of strength and perseverance", "strong bond this community has with both its people and its surroundings", "strong mind and balanced way of life this community strives for", "intertwining of all lives in this community and the strength that comes with unity", "strong unity of this community and the way everybody is almost considered as one big family", "powerful bond between past, present and future generations throughout the ages", "blooming of life, as well as its fragility and strength in different aspects and periods", "light and darkness in life and how it's present across time", "delicate balance of life and how it seems to shift forever throughout time", "foundations of this community and the continuation of growth throughout time", "beating heart of the people and all their dreams and aspirations for the future", "collective mind of the people and their goals in life for themselves and this community", "flow of time and the progress the people of this community continue to make", "beating heart of this community and how its energy flows across this region", "soul of this community and the importance of togetherness and looking out for each other", "creative spirit of this community and how it affected and continues to affect life", "working hands of the people and how their work continues to be the foundation of life here", "brilliant minds of the people and how their ingenuity helped shape life throughout time", "blossoming of both life and the community here throughout all periods of time"];
var nm6 = ["a local artist", "a famous national artist", "an upcoming local artist", "an upcoming national artist", "a famous international artist", "an upcoming international artist", "an international artist", "a national artist", "a young artist"];
var nm7 = ["accurately", "perfectly", "admirably", "superbly", "flawlessly", "wonderfully", "exquisitely", "marvelously", "strikingly", "spectacularly"];
var nm8 = ["cultural influences", "cultural history", "varied history", "natural influences", "natural beauty", "rich history", "people's pride", "people's joy", "people's love"];
var nm9 = ["a classical", "a clean", "a complex", "a glamorous", "a harmonious", "a humble", "a lavish", "a minimalistic", "a modest", "a personal", "a pure", "a regional", "a rustic", "a simplistic", "a smooth", "a sophisticated", "an abstract", "an elaborate", "an elegant", "an expressionistic", "an intricate", "an ornate"];
var nm10 = ["durable", "dependable", "reliable", "deluxe", "superior", "lavish", "exceptional", "high quality", "premium", "high-class"];
var nm11 = ["easily stand the tests of time with minimal maintenance", "continue to provide local jobs whenever it needs maintenance", "stand the tests of time and continue to bring joy", "stand the tests of time and be part of the community for ages", "continue to be a proud part of this community for generations", "be an integral part of this community for many generations more", "continue to provide joy and wonder to this community for ages", "require minimum maintenance while still upholding a great look", "continue to uplift spirits with minimum maintenance requirements", "continue to adorn the community for generations to come", "continue to decorate the community while requiring minimum maintenance", "continue to both decorate the community and provide local maintenance jobs", "remain an important aspect of the community spirit for many more years", "uphold local values and customs for generations to come", "remain an inspiration source for generations to come"];
var nm12 = ["his", "her"];
var rnd1 = parseInt(Math.floor(Math.random() * nm1.length));
var rnd2 = parseInt(Math.floor(Math.random() * nm2.length));
var rnd3 = parseInt(Math.floor(Math.random() * nm3.length));
var rnd4 = parseInt(Math.floor(Math.random() * nm4.length));
var rnd5 = parseInt(Math.floor(Math.random() * nm5.length));
var rnd6 = parseInt(Math.floor(Math.random() * nm6.length));
var rnd7 = parseInt(Math.floor(Math.random() * nm7.length));
var rnd8 = parseInt(Math.floor(Math.random() * nm8.length));
var rnd9 = parseInt(Math.floor(Math.random() * nm9.length));
var rnd10 = parseInt(Math.floor(Math.random() * nm10.length));
var rnd11 = parseInt(Math.floor(Math.random() * nm11.length));
var rnd12 = parseInt(Math.floor(Math.random() * nm12.length));
var name = "Built " + nm1[rnd1] + " ago, this " + nm2[rnd2] + " " + nm3[rnd3] + " is here to " + nm4[rnd4] + ".";
var name2 = "Its position within this community is meant to represent the " + nm5[rnd5] + ".";
var name3 = "It was designed by " + nm6[rnd6] + " who " + nm7[rnd7] + " captured the " + nm8[rnd8] + " of the region and used " + nm9[rnd9] + " style to convey " + nm12[rnd12] + " vision in this piece of art.";
var name4 = "Every element was crafted and created with " + nm10[rnd10] + " materials from local suppliers, ensuring this monument will " + nm11[rnd11] + ".";
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(document.createTextNode(name4));
document.getElementById("placeholder").appendChild(element);
}