creatureDescriptions.js (34113B)
1 function nameGen() { 2 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"]; 3 var names1 = ["adorable", "amazing", "amusing", "astonishing", "beautiful", "bizarre", "captivating", "charming", "clever", "curious", "delightful", "fierce", "funny", "incredible", "lovely", "odd", "special", "strange", "unusual", "weird"]; 4 var names2 = ["mammal", "aquatic mammal", "amphibian", "reptile", "fish", "invertebrate", "bird"]; 5 var names3 = [" bear", " cat", " cow", " deer", " dog", "n elephant", " fox", " goat", " hippo", " horse", " human", " leopard", " lion", " mouse", " pig", " rabbit", " rat", " rhino", " tiger", " wolf"]; 6 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"]; 7 var names4b = [""]; 8 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"]; 9 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"]; 10 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"]; 11 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"]; 12 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", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]; 13 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", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]; 14 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"]; 15 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"]; 16 var names9 = ["common", "extremely common", "extremely rare", "fairly common", "fairly rare", "quite common", "quite rare", "rare", "relatively common", "relatively rare"]; 17 var names10 = ["herbivores", "carnivores", "omnivores"]; 18 var names11 = ["relatively small", "relatively large", "fairly small", "fairly large", "small, long", "large, long", "small, thin", "large, wide", "small, narrow", "long, narrow"]; 19 var names11a = "mouths, their teeth" 20 var names12 = ["long", "short", "wide", "narrow", "rough"]; 21 var names13 = ["grasses", "berries", "fruits", "nuts", "flowers", "plants", "leaves", "insects", "fish", "smaller creatures", "larger creatures", "mushrooms", "creatures"]; 22 var names14 = ["nocturnal", "diurnal", "crepuscular"]; 23 var names15 = ["sight", "sense of smell", "hearing", "taste buds", "extra sense"]; 24 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"]; 25 var names17 = ["not that great", "not very reliable", "not impressive", "a bit poor", "not too great", "lacking", "underdeveloped", "relatively poor"]; 26 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"]; 27 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"]; 28 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"]; 29 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"]; 30 var names22 = ["extremely large", "extremely limited", "fairly limited", "fairly small", "fairly wide", "huge", "large", "limited", "small", "very limited", "very small", "wide"]; 31 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"]; 32 var names23b = ", but "; 33 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."]; 34 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"]; 35 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"]; 36 var names27 = ["long lifepans", "incredibily long lifespans", "very long lifespans", "fairly long lifespans", "short lifespans", "fairly short lifespans", "very short lifespans", "unfortunately short lifespans"]; 37 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."]; 38 var random0 = parseInt(Math.floor((Math.random() * names0.length))); 39 var random1 = parseInt(Math.floor((Math.random() * names1.length))); 40 var random2 = parseInt(Math.floor((Math.random() * names2.length))); 41 if (random2 === 1) { 42 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"]; 43 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"]; 44 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"]; 45 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"]; 46 names6 = [""]; 47 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"]; 48 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"]; 49 } else if (random2 === 2) { 50 names3 = [" toad", " tree frog", " salamander", "n anaconda", "n earthworm", " gecko", " chameleon", " newt", " frog", " cobra", " komodo dragon", " viper", " coral snake", " python", " Chinese giant salamander"]; 51 names4a = ["four legs", "four legs and two arms", "no legs or arms, like a snake", "six legs", "two legs and two arms"]; 52 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"]; 53 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,", ", ", ", ", ", "]; 54 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"]; 55 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"]; 56 } else if (random2 === 3) { 57 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"]; 58 names4a = ["four legs", "four legs and two arms", "no legs or arms, like a snake", "six legs", "two legs and two arms"]; 59 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"]; 60 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,"]; 61 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"]; 62 names18 = ["small noses", "wide noses", "long noses", "thin noses", "almost hidden noses", "lack of a visible nose", "tiny noses", "narrow noses"]; 63 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"]; 64 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"]; 65 } else if (random2 === 4) { 66 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"]; 67 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"]; 68 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"]; 69 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"]; 70 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,"]; 71 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"]; 72 names11a = "mouths"; 73 names18 = ["small noses", "wide noses", "long noses", "thin noses", "almost hidden noses", "lack of a visible nose", "tiny noses", "narrow noses"]; 74 names19 = ["virtually no visible ears", "no visible ears", "pretty much no visible ears", "tiny, almost hidden ears"]; 75 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"]; 76 } else if (random2 === 5) { 77 names3 = [" lobster", " hermite crab", " king crab", " squid", " mosquito", " fly", " fruitfly", "n octopus", " bee", " wasp", " shrimp", " crayfish", " flea", " prawn", " giant squid"]; 78 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"]; 79 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"]; 80 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"]; 81 names6 = [""]; 82 names11a = "mouths"; 83 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"]; 84 } else if (random2 === 6) { 85 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"]; 86 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"]; 87 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, "]; 88 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"]; 89 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,"]; 90 names11 = [""]; 91 names11a = "beaks" 92 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"]; 93 names19 = ["virtually no visible ears", "no visible ears", "pretty much no visible ears", "tiny, almost hidden ears"]; 94 } 95 var random3 = parseInt(Math.floor((Math.random() * names3.length))); 96 var random4a = parseInt(Math.floor((Math.random() * names4a.length))); 97 var random4b = parseInt(Math.floor((Math.random() * names4b.length))); 98 var random4c = parseInt(Math.floor((Math.random() * names4c.length))); 99 var random5 = parseInt(Math.floor((Math.random() * names5.length))); 100 var random6 = parseInt(Math.floor((Math.random() * names6.length))); 101 var random7a = parseInt(Math.floor((Math.random() * names7a.length))); 102 var random7b = parseInt(Math.floor((Math.random() * names7b.length))); 103 while (random7b === random7a) { 104 random2b = parseInt(Math.floor((Math.random() * names7b.length))); 105 } 106 var random7c = parseInt(Math.floor((Math.random() * names7c.length))); 107 while (random7c === random7a || random7c === random7b) { 108 random7c = parseInt(Math.floor((Math.random() * names7c.length))); 109 } 110 var random7d = parseInt(Math.floor((Math.random() * names7c.length))); 111 while (random7d === random7a || random7d === random7b || random7d === random7c) { 112 random7d = parseInt(Math.floor((Math.random() * names7c.length))); 113 } 114 var random7e = parseInt(Math.floor((Math.random() * names7d.length))); 115 while (random7e === random7a || random7e === random7b || random7e === random7c || random7e === random7d) { 116 random7e = parseInt(Math.floor((Math.random() * names7d.length))); 117 } 118 var random8 = parseInt(Math.floor((Math.random() * names8.length))); 119 var random9 = parseInt(Math.floor((Math.random() * names9.length))); 120 var random10 = parseInt(Math.floor((Math.random() * names10.length))); 121 if (random10 === 0) { 122 if (random2 === 1 || random2 === 4) { 123 names13 = ["plants", "algae"]; 124 } else { 125 names13 = ["grasses", "berries", "fruits", "nuts", "flowers", "plants", "leaves", "mushrooms"]; 126 } 127 } else if (random10 === 1) { 128 if (random2 === 1 || random2 === 4) { 129 names13 = ["fish", "smaller creatures", "larger creatures", "creatures", "crustaceans"]; 130 } else { 131 names13 = ["insects", "fish", "smaller creatures", "larger creatures", "creatures"]; 132 } 133 } else if (random10 === 2) { 134 if (random2 === 1 || random2 === 4) { 135 names13 = ["fish", "smaller creatures", "larger creatures", "creatures", "crustaceans", "plants", "algae", "soft corals", "hard corals"]; 136 } 137 } 138 var random11 = parseInt(Math.floor((Math.random() * names11.length))); 139 var random12 = parseInt(Math.floor((Math.random() * names12.length))); 140 var random13 = parseInt(Math.floor((Math.random() * names13.length))); 141 var random14 = parseInt(Math.floor((Math.random() * names14.length))); 142 var random15a = parseInt(Math.floor((Math.random() * names15.length))); 143 var random15b = parseInt(Math.floor((Math.random() * names15.length))); 144 while (random15b === random15a) { 145 random15b = parseInt(Math.floor((Math.random() * names15.length))); 146 } 147 var random16 = parseInt(Math.floor((Math.random() * names16.length))); 148 var random17 = parseInt(Math.floor((Math.random() * names17.length))); 149 var random18 = parseInt(Math.floor((Math.random() * names18.length))); 150 var random19 = parseInt(Math.floor((Math.random() * names19.length))); 151 var random20 = parseInt(Math.floor((Math.random() * names20.length))); 152 var name4 = ""; 153 var name5 = ""; 154 if (random15a !== 0 && random15b !== 0) { 155 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] + "."; 156 name5 = "They have " + names18[random18] + " and " + names19[random19] + ". Their heads are " + names20[random20] + " in comparison to their bodies." 157 } else if (random15a !== 1 && random15b !== 1) { 158 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] + "."; 159 name5 = "They have " + names16[random16] + " and " + names19[random19] + ". Their heads are " + names20[random20] + " in comparison to their bodies." 160 } else if (random15a !== 2 && random15b !== 2) { 161 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] + "."; 162 name5 = "They have " + names18[random18] + " and " + names16[random16] + ". Their heads are " + names20[random20] + " in comparison to their bodies." 163 } else if (random15a !== 3 && random15b !== 3) { 164 name4 = "They're " + names14[random14] + " and rely on their " + names15[random15a] + " and " + names15[random15b] + " to get around. However, their taste buds are " + names17[random17] + "."; 165 name5 = "They have " + names16[random16] + ", " + names18[random18] + " and " + names19[random19] + ". Their heads are " + names20[random20] + " in comparison to their bodies." 166 } else if (random15a !== 4 && random15b !== 4) { 167 name4 = "They're " + names14[random14] + " and rely on their " + names15[random15a] + " and " + names15[random15b] + " to get around. However, their other senses are " + names17[random17] + "."; 168 name5 = "They have " + names16[random16] + ", " + names18[random18] + " and " + names19[random19] + ". Their heads are " + names20[random20] + " in comparison to their bodies." 169 } 170 var random21a = parseInt(Math.floor((Math.random() * names21.length))); 171 var random21b = parseInt(Math.floor((Math.random() * names21.length))); 172 while (random21b === random21a) { 173 random21b = parseInt(Math.floor((Math.random() * names21.length))); 174 } 175 var random22 = parseInt(Math.floor((Math.random() * names22.length))); 176 var random23 = parseInt(Math.floor((Math.random() * names23.length))); 177 var random24 = parseInt(Math.floor((Math.random() * names24.length))); 178 if (random23 < 10 && random24 < 10 || random23 > 9 && random24 > 9) { 179 names23b = " and "; 180 } 181 var random25 = parseInt(Math.floor((Math.random() * names25.length))); 182 var random26 = parseInt(Math.floor((Math.random() * names26.length))); 183 var random27 = parseInt(Math.floor((Math.random() * names27.length))); 184 if (random27 < 4 && names26 < 4) { 185 names28 = ["is quite surprising.", "is just amazing.", "is beautiful in its own right.", "is something special indeed.", "is astonishing."]; 186 } 187 var random28 = parseInt(Math.floor((Math.random() * names28.length))); 188 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] + "."; 189 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."; 190 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] + "."; 191 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."; 192 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];; 193 var br = document.createElement('br'); 194 var br2 = document.createElement('br'); 195 var br3 = document.createElement('br'); 196 var br4 = document.createElement('br'); 197 var br5 = document.createElement('br'); 198 var br6 = document.createElement('br'); 199 var br7 = document.createElement('br'); 200 var br8 = document.createElement('br'); 201 var br9 = document.createElement('br'); 202 var br10 = document.createElement('br'); 203 var br11 = document.createElement('br'); 204 if (document.getElementById("result")) { 205 document.getElementById("placeholder").removeChild(document.getElementById("result")); 206 } 207 var element = document.createElement("div"); 208 element.setAttribute("id", "result"); 209 element.appendChild(document.createTextNode(name)); 210 element.appendChild(br); 211 element.appendChild(document.createTextNode(name2)); 212 element.appendChild(br2); 213 element.appendChild(br3); 214 element.appendChild(document.createTextNode(name3)); 215 element.appendChild(br4); 216 element.appendChild(br5); 217 element.appendChild(document.createTextNode(name4)); 218 element.appendChild(br6); 219 element.appendChild(document.createTextNode(name5)); 220 element.appendChild(br7); 221 element.appendChild(br8); 222 element.appendChild(document.createTextNode(name6)); 223 element.appendChild(br9); 224 element.appendChild(br10); 225 element.appendChild(document.createTextNode(name7)); 226 document.getElementById("placeholder").appendChild(element); 227 }