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.

228 lines
33 KiB
JavaScript

function nameGen() {
var names0 = [" and rare", " and incredibily rare", " and nearly extinct", ", but common", ", but very common", " and uncommon", " and seldom seen", ", but extremely common", ", but fairly common", ", but often seen"];
var names1 = ["adorable", "amazing", "amusing", "astonishing", "beautiful", "bizarre", "captivating", "charming", "clever", "curious", "delightful", "fierce", "funny", "incredible", "lovely", "odd", "special", "strange", "unusual", "weird"];
var names2 = ["mammal", "aquatic mammal", "amphibian", "reptile", "fish", "invertebrate", "bird"];
var names3 = [" bear", " cat", " cow", " deer", " dog", "n elephant", " fox", " goat", " hippo", " horse", " human", " leopard", " lion", " mouse", " pig", " rabbit", " rat", " rhino", " tiger", " wolf"];
var names4a = ["two legs and two arms", "two legs and four arms", "four legs", "six legs", "two legs and two arms", "four legs", "six legs", "four legs and two arms", "four legs and two arms"];
var names4b = [""];
var names4c = [", but they have no tail", ", but they have no tail", ", but they have no tail", ", but they have no tail", ", but they have no tail", ", but they have no tail", " and a long, curling tail", " and a long, fluffy tail", " and a long, muscular tail", " and a long, ribbon-like tail", " and a long, strong and agile tail", " and a long, strong tail", " and a long, thick tail", " and a long, thin tail", " and a long, weak tail", " and a short, curly tail", " and a short, fluffy tail", " and a short, muscular tail", " and a short, strong tail", " and a short, stubby tail", " and a short, thick tail", " and a short, thin tail", " and a short, weak tail", " and a thick, flat tail", " and remnants of what was once a tail"];
var names5 = ["soft, but strong skin", "thick, strong skin", "soft, delicate skin", "thick, rough skin", "thin, rough skin", "thin, delicate skin", "thick, smooth skin", "soft, smooth skin", "thin, but strong skin", "thick, but delicate skin"];
var names6 = ["covered in thick, soft fur", "covered in thick, coarse fur", "covered in thin, soft fur", "covered in thin, coarse fur", "covered in thick, fluffy fur", "covered in thin, fluffy fur", "covered in short, soft fur", "covered in long, soft fur", "covered in long, fluffy fur", "covered in short, fluffy fur", "covered in short, coarse hairs", "covered in short, soft hairs", "covered in long, coarse hairs", "covered in long, soft hairs", "covered in thick, soft hairs", "covered in thick, coarse hairs", "covered in thin, soft hairs", "covered in thin, coarse hairs"];
var names7a = ["black", "blue", "bronze", "brown", "gold", "grey", "orange", "pink", "purple", "red", "silver", "white", "yellow", "dark blue", "dark bronze", "dark brown", "dark gold", "dark grey", "dark orange", "dark pink", "dark purple", "dark red", "dark silver", "dark yellow", "light blue", "light bronze", "light brown", "light gold", "light grey", "light orange", "light pink", "light purple", "light red", "light silver", "light yellow"];
var names7b = [", black", ", blue", ", bronze", ", brown", ", gold", ", grey", ", orange", ", pink", ", purple", ", red", ", silver", ", white", ", yellow", ", dark blue", ", dark bronze", ", dark brown", ", dark gold", ", dark grey", ", dark orange", ", dark pink", ", dark purple", ", dark red", ", dark silver", ", dark yellow", ", light blue", ", light bronze", ", light brown", ", light gold", ", light grey", ", light orange", ", light pink", ", light purple", ", light red", ", light silver", ", light yellow", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""];
var names7c = [", black", ", blue", ", bronze", ", brown", ", gold", ", grey", ", orange", ", pink", ", purple", ", red", ", silver", ", white", ", yellow", ", dark blue", ", dark bronze", ", dark brown", ", dark gold", ", dark grey", ", dark orange", ", dark pink", ", dark purple", ", dark red", ", dark silver", ", dark yellow", ", light blue", ", light bronze", ", light brown", ", light gold", ", light grey", ", light orange", ", light pink", ", light purple", ", light red", ", light silver", ", light yellow", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""];
var names7d = [" or black", " or blue", " or bronze", " or brown", " or gold", " or grey", " or orange", " or pink", " or purple", " or red", " or silver", " or white", " or yellow", " or dark blue", " or dark bronze", " or dark brown", " or dark gold", " or dark grey", " or dark orange", " or dark pink", " or dark purple", " or dark red", " or dark silver", " or dark yellow", " or light blue", " or light bronze", " or light brown", " or light gold", " or light grey", " or light orange", " or light pink", " or light purple", " or light red", " or light silver", " or light yellow"];
var names8 = ["barren areas", "cold areas", "darker areas", "forested areas", "frozen areas", "high areas", "hot areas", "humid areas", "low areas", "marshy areas", "moist areas", "mountainous areas", "open areas", "quiet areas", "rainy areas", "snowy areas", "temperate areas", "warm areas", "wet areas", "wintry areas"];
var names9 = ["common", "extremely common", "extremely rare", "fairly common", "fairly rare", "quite common", "quite rare", "rare", "relatively common", "relatively rare"];
var names10 = ["herbivores", "carnivores", "omnivores"];
var names11 = ["relatively small", "relatively large", "fairly small", "fairly large", "small, long", "large, long", "small, thin", "large, wide", "small, narrow", "long, narrow"];
var names11a = "mouths, their teeth"
var names12 = ["long", "short", "wide", "narrow", "rough"];
var names13 = ["grasses", "berries", "fruits", "nuts", "flowers", "plants", "leaves", "insects", "fish", "smaller creatures", "larger creatures", "mushrooms", "creatures"];
var names14 = ["nocturnal", "diurnal", "crepuscular"];
var names15 = ["sight", "sense of smell", "hearing", "taste buds", "extra sense"];
var names16 = ["large, round eyes", "thin, narrow eyes", "small, slanted eyes", "small, round eyes", "small, beady eyes", "small, elliptic eyes", "large, elliptic eyes", "large, slanted eyes", "odd, but interesting eyes", "gorgeous eyes"];
var names17 = ["not that great", "not very reliable", "not impressive", "a bit poor", "not too great", "lacking", "underdeveloped", "relatively poor"];
var names18 = ["huge noses", "small noses", "wide noses", "long noses", "enormous noses", "thin noses", "an almost hidden nose", "a lack of a visible nose", "tiny noses", "narrow noses"];
var names19 = ["enormous ears", "huge, flappy ears", "huge, hanging ears", "large, bended ears", "large, hanging ears", "large, round ears", "large, standing ears", "long, pointy ears", "short, flappy ears", "short, pointy ears", "small, bended ears", "small, hanging ears", "small, round ears", "small, standing ears", "tiny, almost hidden ears"];
var names20 = ["relatively small", "relatively large", "fairly small", "fairly large", "small and long", "large and long", "small and thin", "large and wide", "small and narrow", "long and narrow"];
var names21 = ["extremely high pitched", "very high pitched", "high pitched", "fairly high pitched", "relatively high pitched", "relatively low pitched", "fairly low pitched", "low pitched", "very low pitched", "extremely low pitched"];
var names22 = ["extremely large", "extremely limited", "fairly limited", "fairly small", "fairly wide", "huge", "large", "limited", "small", "very limited", "very small", "wide"];
var names23 = ["aggressive", "bold", "fairly violent", "invasive", "quite forceful", "quite frenzied", "quite intrusive", "quite nervous", "very aggressive", "very violent", "very peaceful", "calm", "fairly calm", "very calm", "very gentle", "very timid", "quite timid", "timid", "mild mannered", "gentle"];
var names23b = ", but ";
var names24 = ["they're very territorial.", "they get very territorial.", "they heavily defend their personal space.", "they'll fiercely defend their territory.", "they're quite territorial.", "they'll defend their territory strongly.", "their territory is well defended.", "they can get quite territorial.", "they're territorial in terms of personal space.", "their personal space is fiercely defended.", "they're not very territorial.", "they're not territorial at all.", "they won't defend their territory much.", "they tend to let their territory be taken be stronger creatures.", "they're not one to defend their territory.", "they're not keen on defending their personal space.", "they minimize conflict and thus aren't very territorial.", "they have no real territory and wish to avoid conflicts.", "they travel a lot and thus have no real territory nor urges to defend it.", "their nomadic lifestyle has made them placid in terms of defending territory."];
var names25 = ["once a year", "twice a year", "once every two years", "once every 18 months", "once every three years", "twice to three times a year", "once or twice a year", "once every nine to ten months", "once every five years", "once every four years"];
var names26 = ["mate and bond with a single partner for life", "mate with just 1 partner for life", "mate and bond with a select few partners for life", "mate and bond with one or two partners throughout life", "mate with multiple partners throughout life", "mate with one or two partners throughout life", "mate with a select few partners throughout life", "mate with a specificly selected partner for life", "mate with a select group of partners for life", "mate with a select few partners for life"];
var names27 = ["long lifepans", "incredibily long lifespans", "very long lifespans", "fairly long lifespans", "short lifespans", "fairly short lifespans", "very short lifespans", "unfortunately short lifespans"];
var names28 = ["is to be expected.", "isn't too surprising.", "is only normal.", "isn't out of the ordinary.", "isn't extraordinary.", "is quite common among other species as well."];
var random0 = parseInt(Math.floor((Math.random() * names0.length)));
var random1 = parseInt(Math.floor((Math.random() * names1.length)));
var random2 = parseInt(Math.floor((Math.random() * names2.length)));
if (random2 === 1) {
names3 = [" seal", " dolphin", "n orca", " minke whale", " blue whale", " fin whale", " humpback whale", " great white shark", " narwhal", " reef shark", " manta ray", " tuna", " squid", " salmon", " carp", " trout", " piranha", " goldfish", " bass", "n eel", " catfish", " pike", " small shark", " parrotfish", " young tuna"];
names4a = ["two large flippers", "two small flippers", "two large flippers", "two small flippers", "four large flippers", "four small flippers", "two strong side fins", "four strong side fins", "two side fins", "four side fins", "two large side fins", "four large side fins", "two powerful side fins", "four powerful side fins", "two huge side fins", "four huge side fins"];
names4b = [", a huge dorsal fin", ", a small dorsal fin", ", a thick, long dorsal fin", ", a thin, long dorsal fin", ", a wide, sail-like dorsal fin", ", a ribbon-like dorsal fin", ", a long, ribbon-like dorsal fin", ", a short, ribbon-like dorsal fin", ", a huge, sail-like dorsal fin", ", a short, strong dorsal fin", ", a long, strong dorsal fin", ", a short, pointy dorsal fin", ", a long, pointy dorsal fin", ", a long, streamlined dorsal fin", ", a short, streamlined dorsal fin"];
names4c = [" and a huge, powerful tail", " and a huge, muscular tail", " and a large, muscular tail", " and a large, powerful tail", " and a short, muscular tail", " and a long, powerful tail", " and a short, powerful tail", " and a long, muscular tail", " and a huge, powerful tail", " and a huge, muscular tail", " and a large, muscular tail", " and a large, powerful tail", " and a short, muscular tail", " and a long, powerful tail", " and a short, powerful tail", " and a long, muscular tail"];
names6 = [""];
names8 = ["deep waters", "relatively shallow waters", "coastal areas", "the depths of the ocean", "the depths of the seas", "large lakes", "rivers", "large rivers", "lakes", "the entire ocean as they migrate"];
names19 = ["virtually no visible ears", "no visible ears", "pretty much no visible ears", "short, flappy ears", "short, pointy ears", "small, bended ears", "small, hanging ears", "small, round ears", "small, standing ears", "tiny, almost hidden ears"];
} else if (random2 === 2) {
names3 = [" toad", " tree frog", " salamander", "n anaconda", "n earthworm", " gecko", " chameleon", " newt", " frog", " cobra", " komodo dragon", " viper", " coral snake", " python", " Chinese giant salamander"];
names4a = ["four legs", "four legs and two arms", "no legs or arms, like a snake", "six legs", "two legs and two arms"];
names4c = [", but they have no tail", " and a huge, powerful tail", " and a long, muscular tail", " and a long, powerful tail", " and a long, strong and agile tail", " and a long, strong tail", " and a long, thick tail", " and a long, thin tail", " and a long, useless tail", " and a long, weak tail", " and a short, muscular tail", " and a short, powerful tail", " and a short, strong tail", " and a short, stubby tail", " and a short, thick tail", " and a short, thin tail", " and a short, useless tail", " and a short, weak tail", " and a thick, powerful tail", " and remnants of what was once a tail"];
names6 = [" covered in a thin layer of mucous,", " covered in a thick layer of mucous,", " covered in a very thin layer of mucous,", " covered in a very thick layer of mucous,", " covered lightly in mucous,", " covered in nothing but small scales,", " covered in nothing but large scales,", ", ", ", ", ", "];
names19 = ["virtually no visible ears", "no visible ears", "pretty much no visible ears", "short, pointy ears", "small, bended ears", "small, hanging ears", "small, round ears", "small, standing ears", "tiny, almost hidden ears"];
names25 = ["once a year", "twice a year", "once every two years", "once every 18 months", "once every three years", "twice to three times a year", "once or twice a year", "once every three to four months", "four times a year", "three times a year"];
} else if (random2 === 3) {
names3 = [" boa", " chameleon", " cobra", " crocodile", " diplodocus", " frog", " gecko", " komodo dragon", " newt", " python", " salamander", " sea turtle", " stegosaurus", " t-rex", " tortoise", " triceratops", " velociraptor", " viper", "n alligator", "n anaconda"];
names4a = ["four legs", "four legs and two arms", "no legs or arms, like a snake", "six legs", "two legs and two arms"];
names4c = [", but they have no tail", " and a huge, powerful tail", " and a long, muscular tail", " and a long, powerful tail", " and a long, strong and agile tail", " and a long, strong tail", " and a long, thick tail", " and a long, thin tail", " and a long, useless tail", " and a long, weak tail", " and a short, muscular tail", " and a short, powerful tail", " and a short, strong tail", " and a short, stubby tail", " and a short, thick tail", " and a short, thin tail", " and a short, useless tail", " and a short, weak tail", " and a thick, powerful tail", " and remnants of what was once a tail"];
names6 = [" covered in thin, coarse scales,", " covered in large, coarse scales,", " covered in large, smooth scales,", " covered in large, strong scales,", " covered in small, coarse scales,", " covered in small, smooth scales,", " covered in small, strong scales,", " covered in strong, hard scales,", " covered in thick, coarse scales,", " covered in thick, strong scales,"];
names8 = ["barren areas", "darker areas", "forested areas", "high areas", "hot areas", "humid areas", "low areas", "marshy areas", "moist areas", "mountainous areas", "open areas", "quiet areas", "rainy areas", "temperate areas", "warm areas", "wet areas"];
names18 = ["small noses", "wide noses", "long noses", "thin noses", "almost hidden noses", "lack of a visible nose", "tiny noses", "narrow noses"];
names19 = ["virtually no visible ears", "no visible ears", "pretty much no visible ears", "short, pointy ears", "small, bended ears", "small, hanging ears", "small, round ears", "small, standing ears", "tiny, almost hidden ears"];
names25 = ["once a year", "twice a year", "once every two years", "once every 18 months", "once every three years", "twice to three times a year", "once or twice a year", "once every three to four months", "four times a year", "three times a year"];
} else if (random2 === 4) {
names3 = [" seal", " dolphin", "n orca", " minke whale", " blue whale", " fin whale", " humpback whale", " great white shark", " narwhal", " reef shark", " manta ray", " tuna", " squid", " salmon", " carp", " trout", " piranha", " goldfish", " bass", "n eel", " catfish", " pike", " small shark", " parrotfish", " young tuna", " pufferfish", " clownfish", " triggerfish", " guppy", " discus fish", " lionfish"];
names4a = ["two strong side fins", "four strong side fins", "two side fins", "four side fins", "two large side fins", "four large side fins", "two powerful side fins", "four powerful side fins", "two huge side fins", "four huge side fins"];
names4b = [", a huge dorsal fin", ", a small dorsal fin", ", a thick, long dorsal fin", ", a thin, long dorsal fin", ", a wide, sail-like dorsal fin", ", a ribbon-like dorsal fin", ", a long, ribbon-like dorsal fin", ", a short, ribbon-like dorsal fin", ", a huge, sail-like dorsal fin", ", a short, strong dorsal fin", ", a long, strong dorsal fin", ", a short, pointy dorsal fin", ", a long, pointy dorsal fin", ", a long, streamlined dorsal fin", ", a short, streamlined dorsal fin"];
names4c = [" and a huge, powerful tail and small anal fin", " and a huge, muscular tail and small anal fin", " and a large, muscular tail and small anal fin", " and a large, powerful tail and small anal fin", " and a short, muscular tail and small anal fin", " and a long, powerful tail and small anal fin", " and a short, powerful tail and small anal fin", " and a long, muscular tail and small anal fin", " and a huge, powerful tail and small anal fin", " and a huge, muscular tail and long anal fin", " and a large, muscular tail and long anal fin", " and a large, powerful tail and long anal fin", " and a short, muscular tail and long anal fin", " and a long, powerful tail and long anal fin", " and a short, powerful tail and long anal fin", " and a long, muscular tail and long anal fin"];
names6 = [" covered in thin, coarse scales,", " covered in large, coarse scales,", " covered in large, smooth scales,", " covered in large, strong scales,", " covered in small, coarse scales,", " covered in small, smooth scales,", " covered in small, strong scales,", " covered in strong, hard scales,", " covered in thick, coarse scales,", " covered in thick, strong scales,"];
names8 = ["deep waters", "relatively shallow waters", "coastal areas", "the depths of the ocean", "the depths of the seas", "large lakes", "rivers", "large rivers", "lakes", "the entire ocean as they migrate"];
names11a = "mouths";
names18 = ["small noses", "wide noses", "long noses", "thin noses", "almost hidden noses", "lack of a visible nose", "tiny noses", "narrow noses"];
names19 = ["virtually no visible ears", "no visible ears", "pretty much no visible ears", "tiny, almost hidden ears"];
names25 = ["once a year", "twice a year", "once every two years", "once every 18 months", "once every three years", "twice to three times a year", "once or twice a year", "once every three to four months", "four times a year", "three times a year"];
} else if (random2 === 5) {
names3 = [" lobster", " hermite crab", " king crab", " squid", " mosquito", " fly", " fruitfly", "n octopus", " bee", " wasp", " shrimp", " crayfish", " flea", " prawn", " giant squid"];
names4a = ["eight legs", "eight tentacles", "four clawed arms, four legs", "four legs", "four tentacles, four legs", "four tentacles, six legs", "four tentacles, two clawed arms", "four tentacles, two legs", "four winged arms, four legs", "four winged arms, six legs", "four winged arms, two legs", "four wings, four legs", "four wings, six legs", "four wings, two legs", "six legs", "six tentacles", "two clawed arms, four legs", "two clawed arms, six legs", "two clawed arms, two legs", "two legs, two arms", "two tentacles, four legs", "two tentacles, six legs", "two tentacles, two clawed arms", "two tentacles, two legs", "two winged arms, four legs", "two winged arms, six legs", "two winged arms, two legs", "two wings, four legs", "two wings, six legs", "two wings, two legs"];
names4c = [", but they have no tail", " and a huge, powerful tail", " and a long, muscular tail", " and a long, powerful tail", " and a long, strong and agile tail", " and a long, strong tail", " and a long, thick tail", " and a long, thin tail", " and a long, useless tail", " and a long, weak tail", " and a short, muscular tail", " and a short, powerful tail", " and a short, strong tail", " and a short, stubby tail", " and a short, thick tail", " and a short, thin tail", " and a short, useless tail", " and a short, weak tail", " and a thick, powerful tail", " and remnants of what was once a tail"];
names5 = ["soft, but strong skin", "thick, strong skin", "soft, delicate skin", "thick, rough skin", "thin, rough skin", "thin, delicate skin", "thick, smooth skin", "soft, smooth skin", "thin, but strong skin", "thick, but delicate skin", "stong, armored skin", "thick, armored skin", "soft, armored skin", "thinly armored skin", "hard, armored skin"];
names6 = [""];
names11a = "mouths";
names25 = ["once a year", "twice a year", "once every two years", "once every 18 months", "once every three years", "twice to three times a year", "once or twice a year", "once every three to four months", "four times a year", "three times a year"];
} else if (random2 === 6) {
names3 = ["n albatross", " chicken", " cockatoo", " condor", " crane", " crow", " dove", " duck", "n eagle", " falcon", " flamingo", " kiwi", "n owl", " macaw", "n ostrich", " peacock", " pelican", " penguin", " pigeon", " raven", " robin", " sparrow", " swan", " swift", " vulture"];
names4a = ["two huge wings", "four huge wings", "two huge, powerful wings", "four huge, powerful wings", "two huge and two smaller wings", "two enormous wings", "four enormous wings", "two large and four smaller wings", "four smaller wings", "two smaller wings"];
names4b = [", two strong, clawed legs", ", two small, clawed legs", ", four strong, clawed legs", ", four small, clawed legs", ", two strong legs", ", four strong legs", ", two small legs", ", four small legs", ", two thin, long legs", ", two long, strong legs, "];
names4c = [" and a huge tail", " and a huge, wide tail", " and a huge, powerful tail", " and a long, powerful tail", " and a long, elegant tail", " and a short, elegant tail", " and a short, powerful tail", " and a wide, powerful tail", " and a wide, elegant tail", " and a short tail"];
names6 = [" covered in large feathers,", " covered in short feathers,", " covered in thick feathers,", " covered in thin feathers,", " covered in small, narrow feathers,", " covered in large, narrow feathers,", " covered in large, thin feathers,", " covered in large, wide feathers,", " covered in long, thin feathers,", " covered in long, wide feathers,", " covered in short, thin feathers,", " covered in short, wide feathers,", " covered in small feathers,", " covered in small, thin feathers,", " covered in small, wide feathers,"];
names11 = [""];
names11a = "beaks"
names18 = ["long beaks", "sharp beaks", "thin beaks", "short beaks", "huge beaks", "enormous beaks", "wide beaks", "thin, sharp beaks", "long, sharp beaks", "long, pointy beaks", "short, pointy beaks", "huge, pointy beaks", "huge, sharp beaks", "short, sharp beaks", "thin, pointy beaks"];
names19 = ["virtually no visible ears", "no visible ears", "pretty much no visible ears", "tiny, almost hidden ears"];
}
var random3 = parseInt(Math.floor((Math.random() * names3.length)));
var random4a = parseInt(Math.floor((Math.random() * names4a.length)));
var random4b = parseInt(Math.floor((Math.random() * names4b.length)));
var random4c = parseInt(Math.floor((Math.random() * names4c.length)));
var random5 = parseInt(Math.floor((Math.random() * names5.length)));
var random6 = parseInt(Math.floor((Math.random() * names6.length)));
var random7a = parseInt(Math.floor((Math.random() * names7a.length)));
var random7b = parseInt(Math.floor((Math.random() * names7b.length)));
while (random7b === random7a) {
random2b = parseInt(Math.floor((Math.random() * names7b.length)));
}
var random7c = parseInt(Math.floor((Math.random() * names7c.length)));
while (random7c === random7a || random7c === random7b) {
random7c = parseInt(Math.floor((Math.random() * names7c.length)));
}
var random7d = parseInt(Math.floor((Math.random() * names7c.length)));
while (random7d === random7a || random7d === random7b || random7d === random7c) {
random7d = parseInt(Math.floor((Math.random() * names7c.length)));
}
var random7e = parseInt(Math.floor((Math.random() * names7d.length)));
while (random7e === random7a || random7e === random7b || random7e === random7c || random7e === random7d) {
random7e = parseInt(Math.floor((Math.random() * names7d.length)));
}
var random8 = parseInt(Math.floor((Math.random() * names8.length)));
var random9 = parseInt(Math.floor((Math.random() * names9.length)));
var random10 = parseInt(Math.floor((Math.random() * names10.length)));
if (random10 === 0) {
if (random2 === 1 || random2 === 4) {
names13 = ["plants", "algae"];
} else {
names13 = ["grasses", "berries", "fruits", "nuts", "flowers", "plants", "leaves", "mushrooms"];
}
} else if (random10 === 1) {
if (random2 === 1 || random2 === 4) {
names13 = ["fish", "smaller creatures", "larger creatures", "creatures", "crustaceans"];
} else {
names13 = ["insects", "fish", "smaller creatures", "larger creatures", "creatures"];
}
} else if (random10 === 2) {
if (random2 === 1 || random2 === 4) {
names13 = ["fish", "smaller creatures", "larger creatures", "creatures", "crustaceans", "plants", "algae", "soft corals", "hard corals"];
}
}
var random11 = parseInt(Math.floor((Math.random() * names11.length)));
var random12 = parseInt(Math.floor((Math.random() * names12.length)));
var random13 = parseInt(Math.floor((Math.random() * names13.length)));
var random14 = parseInt(Math.floor((Math.random() * names14.length)));
var random15a = parseInt(Math.floor((Math.random() * names15.length)));
var random15b = parseInt(Math.floor((Math.random() * names15.length)));
while (random15b === random15a) {
random15b = parseInt(Math.floor((Math.random() * names15.length)));
}
var random16 = parseInt(Math.floor((Math.random() * names16.length)));
var random17 = parseInt(Math.floor((Math.random() * names17.length)));
var random18 = parseInt(Math.floor((Math.random() * names18.length)));
var random19 = parseInt(Math.floor((Math.random() * names19.length)));
var random20 = parseInt(Math.floor((Math.random() * names20.length)));
var name4 = "";
var name5 = "";
if (random15a !== 0 && random15b !== 0) {
name4 = "They're " + names14[random14] + " and rely on their " + names15[random15a] + " and " + names15[random15b] + " to get around. They do have " + names16[random16] + ", but their sight is " + names17[random17] + ".";
name5 = "They have " + names18[random18] + " and " + names19[random19] + ". Their heads are " + names20[random20] + " in comparison to their bodies."
} else if (random15a !== 1 && random15b !== 1) {
name4 = "They're " + names14[random14] + " and rely on their " + names15[random15a] + " and " + names15[random15b] + " to get around. They do have " + names18[random18] + ", but their sense of smell is " + names17[random17] + ".";
name5 = "They have " + names16[random16] + " and " + names19[random19] + ". Their heads are " + names20[random20] + " in comparison to their bodies."
} else if (random15a !== 2 && random15b !== 2) {
name4 = "They're " + names14[random14] + " and rely on their " + names15[random15a] + " and " + names15[random15b] + " to get around. They do have " + names19[random19] + ", but their hearing is " + names17[random17] + ".";
name5 = "They have " + names18[random18] + " and " + names16[random16] + ". Their heads are " + names20[random20] + " in comparison to their bodies."
} else if (random15a !== 3 && random15b !== 3) {
name4 = "They're " + names14[random14] + " and rely on their " + names15[random15a] + " and " + names15[random15b] + " to get around. However, their taste buds are " + names17[random17] + ".";
name5 = "They have " + names16[random16] + ", " + names18[random18] + " and " + names19[random19] + ". Their heads are " + names20[random20] + " in comparison to their bodies."
} else if (random15a !== 4 && random15b !== 4) {
name4 = "They're " + names14[random14] + " and rely on their " + names15[random15a] + " and " + names15[random15b] + " to get around. However, their other senses are " + names17[random17] + ".";
name5 = "They have " + names16[random16] + ", " + names18[random18] + " and " + names19[random19] + ". Their heads are " + names20[random20] + " in comparison to their bodies."
}
var random21a = parseInt(Math.floor((Math.random() * names21.length)));
var random21b = parseInt(Math.floor((Math.random() * names21.length)));
while (random21b === random21a) {
random21b = parseInt(Math.floor((Math.random() * names21.length)));
}
var random22 = parseInt(Math.floor((Math.random() * names22.length)));
var random23 = parseInt(Math.floor((Math.random() * names23.length)));
var random24 = parseInt(Math.floor((Math.random() * names24.length)));
if (random23 < 10 && random24 < 10 || random23 > 9 && random24 > 9) {
names23b = " and ";
}
var random25 = parseInt(Math.floor((Math.random() * names25.length)));
var random26 = parseInt(Math.floor((Math.random() * names26.length)));
var random27 = parseInt(Math.floor((Math.random() * names27.length)));
if (random27 < 4 && names26 < 4) {
names28 = ["is quite surprising.", "is just amazing.", "is beautiful in its own right.", "is something special indeed.", "is astonishing."];
}
var random28 = parseInt(Math.floor((Math.random() * names28.length)));
var name = "This " + names1[random1] + names0[random0] + " creature is a type of " + names2[random2] + ". It's about the size of a" + names3[random3] + ", has " + names4a[random4a] + names4b[random4b] + names4c[random4c] + ".";
var name2 = "They have a " + names5[random5] + " " + names6[random6] + " which is usually either " + names7a[random7a] + names7b[random7b] + names7c[random7c] + names7c[random7d] + names7d[random7e] + " or a combination of these colors.";
var name3 = "They live in " + names8[random8] + " and are " + names9[random9] + ". They're " + names10[random10] + " and their " + names11[random11] + " " + names11a + " and " + names12[random12] + " tongue are ideal for eating " + names13[random13] + ".";
var name6 = "They make sounds ranging from " + names21[random21a] + " to " + names21[random21b] + " and have a " + names22[random22] + " range of sounds they make to indicate discoveries, dangers and otherwise communicate with each other.";
var name7 = "These creatures are " + names23[random23] + names23b + names24[random24] + " They mate " + names25[random25] + " and they " + names26[random26] + ". Which, with their " + names27[random27] + ", " + names28[random28];;
var br = document.createElement('br');
var br2 = document.createElement('br');
var br3 = document.createElement('br');
var br4 = document.createElement('br');
var br5 = document.createElement('br');
var br6 = document.createElement('br');
var br7 = document.createElement('br');
var br8 = document.createElement('br');
var br9 = document.createElement('br');
var br10 = document.createElement('br');
var br11 = 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);
element.appendChild(document.createTextNode(name2));
element.appendChild(br2);
element.appendChild(br3);
element.appendChild(document.createTextNode(name3));
element.appendChild(br4);
element.appendChild(br5);
element.appendChild(document.createTextNode(name4));
element.appendChild(br6);
element.appendChild(document.createTextNode(name5));
element.appendChild(br7);
element.appendChild(br8);
element.appendChild(document.createTextNode(name6));
element.appendChild(br9);
element.appendChild(br10);
element.appendChild(document.createTextNode(name7));
document.getElementById("placeholder").appendChild(element);
}