-
Notifications
You must be signed in to change notification settings - Fork 0
/
flavour.js
25 lines (16 loc) · 19 KB
/
flavour.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
var adjectives = ["abandoned","able","absolute","adorable","adventurous","acclaimed","accomplished","accurate","acidic","acrobatic","active","actual","adept","admirable","admired","advanced","aggressive","agile","agitated","agonizing","alert","amazing","ambitious","ample","amused","amusing","anchored","angelic","angry","animated","annual","another","antique","apt","arctic","arid","artistic","astonishing","athletic","attached","attentive","attractive","austere","authentic","automatic","avaricious","aware","awesome","awful","bad","bare","barren","basic","beautiful","belated","beloved","beneficial","better","best","bewitched","big","bitter","black","blank","blaring","bleak","blind","blissful","blue","blushing","bogus","boiling","bold","bony","bossy","bouncy","bountiful","brave","brief","bright","brilliant","bronze","brown","bruised","bulky","burly","buzzing","calculating","calm","canine","capital","careless","cavernous","cheerful","cheery","chief","chilly","circular","classic","clean","clear","clever","cloudy","coarse","cold","colossal","common","competent","complete","complex","concrete","conscious","constant","cool","cooperative","corrupt","costly","crafty","crazy","creepy","criminal","critical","crooked","crowded","cruel","crushing","cylindrical","damp","dangerous","dapper","daring","dark","dazzling","dead","deadly","deafening","decimal","decisive","deep","defensive","defiant","delayed","demanding","dense","metal","dependable","deserted","determined","devoted","different","diligent","dim","direct","disastrous","discrete","disloyal","distant","disguised","distinct","distorted","dizzy","double","dramatic","dreary","dry","dual","dull","dutiful","early","easy","ecstatic","elated","electric","elegant","elementary","elliptical","eminent","empty","enchanted","enchanting","energetic","enlightened","enormous","enraged","envious","equal","equatorial","euphoric","evergreen","everlasting","evil","exalted","excited","exciting","famous","fantastic","far","fast","fatal","favorable","fearless","feline","flashy","flawless","flickering","fluid","focused","forceful","forsaken","fortunate","frightening","frigid","frosty","frozen","gargantuan","gaseous","generous","genuine","giant","gigantic","gifted","giving","glamorous","glaring","gloomy","glorious","golden","graceful","gracious","grand","grandiose","gray","great","greedy","green","grim","growing","grown","gruesome","hard","metal","harmful","harmless","harmonious","harsh","hasty","hateful","haunting","healthy","heavenly","hidden","honorable","honored","hopeful","horrible","hot","huge","humble","humongous","hurtful","icky","icy","ideal","ill","illegal","immaculate","immaterial","immense","impossible","impressive","incredible","infamous","infinite","insecure","insidious","insignificant","intelligent","intense","intentional","intrepid","ironclad","irresponsible","itchy","jittery","jolly","junior","jumpy","kaleidoscopic","keen","kind","klutzy","knowing","lame","large","lazy","lean","leafy","legitimate","light","likable","little","lively","loathsome","lone","lonely","loose","loud","lovely","loyal","lucky","luminous","lumpy","mad","magnificent","majestic","mammoth","marvelous","massive","meaty","mediocre","menacing","messy","metallic","miserable","modest","moist","monstrous","motherly","muddy","murky","mysterious","naive","nasty","natural","naughty","nautical","needy","negative","nice","nifty","nimble","nonstop","normal","noxious","numb","nutty","oblong","odd","old","optimal","optimistic","orange","organic","ordinary","original","other","parallel","perfect","pesky","petty","physical","pink","playful","pleasant","polite","pointless","powerful","powerless","pretty","precious","prime","pristine","punctual","pungent","pure","purple","pushy","putrid","puzzling","qualified","queasy","questionable","quick","quiet","quintessential","quirky","quizzical","radiant","rapid","reckless","real","red","regal","regular","reliable","repulsive","rigid","ripe","robust","rotten","royal","runny","rusty","sad","salty","scaly","scary","selfish","serious","serpentine","severe","shadowy","shady","shameless","shiny","shocking","shoddy","short","short-term","sick","silent","silver","simple","simplistic","sizzling","slimy","slippery","smart","smoggy","smokey","smug","sneaky","soggy","solid","somber","spherical","sparkling","spectacular","speedy","spirited","splendid","square","sticky","stiff","stormy","strange","steel","strong","stunning","stupendous","sturdy","stylish","subtle","suburban","sudden","sunny","super","superior","supportive","sweaty","sweet","swift","talkative","tangible","tattered","tense","terrible","terrific","thirsty","thorny","thrifty","thunderous","tiny","total","tough","traumatic","tragic","tremendous","tricky","true","turbulent","twin","ugly","ultimate","uncomfortable","unfortunate","unhealthy","unique","unlucky","unnatural","unnecessary","unpleasant","unselfish","unsightly","untimely","unusual","upbeat","urban","useless","utter","vague","vapid","vengeful","vibrant","vicious","vigilant","vigorous","violet","violent","virtual","vivacious","vivid","warm","warped","wary","watchful","weighty","weird","wet","whimsical","white","wicked","wild","windy","winged","witty","wonderful","worst","worthy","wrathful","wretched","yellow","young","zesty","zigzag"];
var nouns = ["abyssinian","accelerator","accordion","accountant","acoustic","action","active","actor","actress","adapter","addition","adjustment","advantage","aftermath","afterthought","age","agenda","agreement","air","airplane","airship","alarm","albatross","alcohol","algebra","alibi","alligator","alloy","almanac","alphabet","alto","aluminium","ambulance","amusement","anatomy","anger","angle","animal","anime","ankle","answer","antarctica","antelope","apology","apparatus","appeal","appendix","apple","aquarius","arch","archer","area","argument","aries","arithmetic","arm","armadillo","armchair","army","arrow","art","ash","ashtray","asparagus","asphalt","asterisk","athlete","atom","attack","attention","attraction","august","aunt","authority","avenue","baboon","baby","backbone","bacon","badger","bagpipe","bail","bait","balance","ball","balloon","bamboo","banana","bandana","bank","barber","barometer","bass","bat","bath","bathroom","bathtub","battery","battle","beach","bead","beam","bean","bear","beard","beast","beauty","beaver","bedroom","beef","beetle","beggar","beginner","begonia","behavior","bell","belt","bench","bike","bill","billboard","biology","biplane","birch","bird","birth","birthday","bite","black","bladder","blade","blanket","blink","blizzard","block","blood","blow","board","bobcat","body","bolt","bomb","bomber","bone","bonsai","book","boot","botany","boundary","bow","box","brace","brain","brake","branch","brand","brass","bread","break","breath","brick","bridge","broccoli","broker","bronze","brow","brush","bubble","bucket","budget","buffer","buffet","bulb","bull","bulldozer","bumper","burglar","burn","burst","bush","business","butane","butcher","butter","button","buzzard","cabbage","cactus","cake","calculus","calendar","camera","camp","can","cancer","candle","cannon","cap","cappelletti","capricorn","captain","car","caravan","carbon","card","cardboard","care","carnation","carol","carrot","cast","cat","caterpillar","cathedral","cauliflower","cause","caution","cave","celeste","cell","celsius","cement","cemetery","century","cereal","chance","change","channel","character","check","cheetah","chemistry","chess","chief","child","chill","chord","christmas","chronometer","cicada","cinema","circle","circulation","clam","class","click","clock","cloud","cloudy","clover","coal","coat","cockroach","cocktail","coil","coin","cold","collar","collision","colony","color","column","command","condor","conifer","connection","continent","control","copper","copy","cord","cormorant","cornet","cougar","course","court","cover","cowbell","crack","crayfish","creator","creature","crime","criminal","crocodile","crocus","crook","crop","cross","crow","crowd","crown","crush","cry","cub","cultivator","currency","current","curve","cut","cycle","cyclone","cymbal","dad","daffodil","dahlia","daisy","damage","dancer","danger","dash","date","daughter","day","dead","deadline","death","decade","december","deer","defense","degree","delete","den","desert","desire","destruction","dew","diamond","diaphragm","dinosaur","direction","dirt","disease","distance","distributor","diving","division","dock","dog","doll","dollar","dolphin","domain","door","double","doubt","dragon","dragonfly","drain","drake","drama","dream","driver","drop","drug","drum","duck","dungeon","dust","eagle","ear","earth","earthquake","ease","edge","editor","eel","effect","egypt","element","emery","end","enemy","energy","engine","entrance","environment","epoch","equinox","era","error","ethernet","euphonium","exchange","exhaust","existence","expansion","experience","eye","face","fahrenheit","fairy","fall","family","fan","fang","farmer","father","fear","feast","feather","february","feedback","feeling","felony","fertilizer","fibre","fiction","field","fighter","find","fire","fireman","fish","fisherman","flag","flame","flare","flax","flesh","flight","flock","flood","floor","flower","flute","fly","fog","fold","force","forecast","forest","forgery","form","foundation","fountain","fowl","fox","foxglove","frame","freeze","freon","friction","friend","frost","fruit","fuel","fur","galley","gallon","gander","garden","gasoline","gate","gateway","gauge","gazelle","gear","gearshift","gemini","ghost","giant","girl","gladiolus","glass","glider","glue","goal","gold","goldfish","gondola","gong","gorilla","grade","grain","grape","grass","grasshopper","grease","grenade","grill","grip","ground","growth","guide","guilty","gun","gymnast","hacksaw","hail","halibut","hall","hammer","hand","handsaw","harbor","hardware","harmony","harp","hawk","health","heart","heat","heaven","hedge","helium","hell","hemp","hen","heron","herring","hexagon","hill","himalayan","history","hole","hood","hook","hope","horn","horse","hot","hour","hourglass","hub","humidity","humor","hurricane","hyacinth","hydrogen","hyena","hygiene","ice","icebreaker","icicle","icon","impulse","index","ink","input","insect","instruction","insurance","intestine","iris","iron","island","jacket","jaguar","jail","january","jaw","jellyfish","jet","jewel","join","journey","judge","judo","juice","july","jumbo","jumper","june","jury","justice","jute","kamikaze","kangaroo","karate","kendo","key","kick","kiss","kite","knife","knight","laborer","lace","ladybug","lake","lamb","lamp","landmine","larch","latency","latex","law","layer","lead","leaf","leo","leopard","level","libra","lift","light","lightning","lily","limit","link","lion","liquid","liquor","lizard","loan","lobster","lock","locket","locust","lumber","lung","lunge","lute","lycra","lynx","lyre","lyric","machine","magician","mallet","manager","manx","map","marble","march","mark","mask","mattock","meat","mechanic","medicine","meeting","melody","memory","mercury","metal","methane","microwave","middle","mile","millennium","mimosa","mind","mine","minute","mirror","missile","mist","moat","month","moon","mosquito","mother","motion","mountain","mouse","move","muscle","music","musician","nation","needle","neon","nerve","nest","net","network","nickel","night","nitrogen","node","noise","november","number","nurse","ocean","ocelot","octagon","octave","october","octopus","offence","okra","orchestra","orchid","order","organ","ostrich","otter","output","owl","owner","ox","oxygen","oyster","pain","pair","panda","pansy","panther","parade","parallelogram","parcel","parent","parrot","part","particle","partner","pasta","patch","path","patient","payment","peace","peak","pelican","penalty","pendulum","pentagon","perfume","period","pest","picture","pigeon","pillow","pin","ping","pipe","pisces","pizza","plane","planet","plant","plate","platinum","pleasure","pocket","point","poison","pollution","pond","popcorn","potato","pound","powder","power","pressure","price","prison","profit","propane","puma","pump","pumpkin","punch","punishment","puppy","purpose","pyjama","pyramid","quartz","queen","quicksand","quiver","rabbit","radar ","radio","rain"," acid","rainbow","rainstorm","rat","raven","ravioli","ray","reaction","reason","rectangle","refrigerator","regret","reindeer","reminder","resolution","respect","responsibility","rhinoceros","rhythm","riddle","ring","risk","river","road","roast","rock","rocket","root","rose","route","rubber","rule","run","sack","sagittarius","sail","salt","samurai","sand","santa","sauce","sausage","save","saw","scale","scan","scarecrow","scarf","scent","science","scissors","scooter","scorpio","scorpion","scraper","screen","screw","sea","search","second","seed","segment","semicircle","semicolon","sense","september","sex","shade","shadow","shake","shame","share","shark","shears","shell","shield","shingle","ship","shock","shop","shovel","show","shrine","siamese","sideboard","sidewalk","sign","silver","sink","skill","skin","sky","slash","slave","sleet","slice","slime","slip","slipper","slope","smash","smell","smile","smoke","snail","snake","sneeze","snow","snowflake","snowman","snowstorm","soil","soldier","song","soprano","sound","soup","space","spark","sparrow","sphere","spike","spleen","sponge","spring","sprout","spy","square","squash","squirrel","star","steam","steel","step","stick","stock","stone","stopwatch","store","storm","stove","stream","substance","success","sugar","summer","sun","sunshine","support","surprise","swallow","swamp","swan","switch","sword","tail","tank","target","taurus","tax","team","teeth","temper","temperature","temple","tempo","thing","thought","thrill","throat","throne","thunder","tiger","time","tin","titanium","toad","toast","tooth","tornado","touch","tower","town","trade","trail","train","transaction","transport","trapezoid","tree","triangle","trick","trouble","trout","truck","tsunami","turnip","turret","turtle","twig","twist","typhoon","umbrella","vacuum","value","veil","vein","velvet","verdict","vessel","view","virgo","vision","voice","volcano","vulture","walk","wall","walrus","war","waste","watch","water","wave","way","weapon","weasel","whale","wheel","whip","whistle","willow","wind","window","windshield","wing","winter","wish","witch","wolf","wood","worm","wound","yew","zephyr","zinc","zone"];
var verbs = ["add","alert","appear","arrive","attack","attract","avoid","back","balance","ban","bang","battle","beam","bless","blind","blink","blot","boil","bolt","bomb","brake","branch","breathe","burn","bury","buzz","carve","change","charge","chase ","choke","claim","coil","command","confuse","connect","contain","copy","crack","crash","crawl","crush","cure","damage","decay","deceive","delay","desert","destroy","detect","disarm","divide","double","drag","drain","dream","drown","escape","excite","expand","explode","fear","flash","flood","flow","flower ","force","frighten","glow","grab","grip","groan","guard","guess","guide","hammer","haunt","heat","help","hope","hover","hug","hurry","inject","jail","jog","join","joke","juggle","jump","kill","kneel","knock","land","last","laugh","lick","light","listen","look","mark","match","melt","mend","mess","milk","mine","miss","mix","moan","mourn","move","mug","multiply","murder","nail","nest","note","notice","number","obey","observe","obtain","offer","order","owe","own","pack","park","pause","peel","peep","perform","pick","pinch","place","plant","play","plug","pop","possess","pour","pray","preach","prepare","pretend","punch","puncture","push","race","radiate","rain","realise","reflect","regret","repair","repeat","rescue","rewind","risk","rob","rock","roll","rot","ruin","rule","rush","sack","save","scare","scatter","scorch","scream","search","serve","shade","share","shave","shelter","shiver","shock","shop","shrug","sign","signal","sin","skip","slip","slow","smash","smell","smile","smoke","snatch","sneeze","snow","soak","soothe","sound","spare","spark","sparkle","spell","spill","spoil","spot","spray","sprout","squash","squeak","squeeze","stain","stamp","stare","stay","step","stitch","strip","stroke","suffer","suggest","supply","support","surprise","switch","tame","taste","terrify","thaw","tick","tickle","time","trace","trade","train","trap","treat","tremble","trick","trip","trot","trust","tumble","twist","vanish ","wail","wander","waste","watch","wave","whip","whirl","whisper","whistle","wink","wish","wonder","wreck","wrestle","zip","zoom"];
var pretitles = ["Lord", "Lady", "Mr", "Doctor", "Miss", "Captain", "Admiral", "Sir" ];
var posttitles =["Man", "Woman", "Dude", "Mistress", "Master", "Girl", "Kid", "Boy" ];
//case 6 name = noun(secondaryElement) + " " + noun(mainElement);
//case 5 name = noun(secondaryElement) + noun(mainElement).toLowerCase();
//case 2: name = noun(mainElement); if (randomizer.nextBoolean()) {name = "The " + name; }
//case 3: name = (String)pretitles.get(randomizer.nextInt(pretitles.size())) + " " + noun(mainElement);
//case 4: name = "The " + noun(mainElement) + " " + (String)posttitles.get(randomizer.nextInt(pretitles.size()));
//case 8: if (randomizer.nextBoolean()) {name = verb(mainElement) + noun(secondaryElement).toLowerCase();} else { name = verb(secondaryElement) + noun(mainElement).toLowerCase();}
//case 9: name = adj(secondaryElement) + " " + noun(mainElement);
// case 10: name = adj(mainElement);if (randomizer.nextBoolean()) {name = name + " " + (String)posttitles.get(randomizer.nextInt(posttitles.size()));}
//case 11: name = noun(mainElement) + " the " + adj(secondaryElement);
//static int[] elementChances = { 4, 4, 4, 4, 3, 4, 4, 2, 2, 2, 4, 4, 5, 10, 6, 9, 5, 9, 4, 5, 4, 6, 5, 3, 3, 3, 5, 5, 4, 4, 5 };
var cities=["Tokyo", "Jakarta", "Delhi", "Manila", "Seoul", "Shanghai", "Karachi", "Beijing", "New York City", "Guangzhou", "São Paulo", "Mexico City", "Mumbai", "Osaka", "Moscow", "Dhaka", "Cairo", "Los Angeles", "Bangkok", "Kolkata", "Buenos Aires", "Tehran", "Istanbul", "Lagos", "Shenzhen", "Rio de Janeiro", "Kinshasa", "Tianjin", "Paris", "Lima", "Chengdu", "London", "Nagoya", "Lahore", "Chennai", "Chicago", "Brockton Bay", "Bogotá", "Ho Chi Minh City", "Hyderabad", "Bengaluru", "Dongguan", "Johannesburg", "Wuhan", "Taipei", "Hangzhou", "Hong Kong", "Chongqing", "Ahmedabad", "Kuala Lumpur", "Quanzhou", "Essen–Düsseldorf", "Baghdad", "Toronto", "Santiago", "Dallas", "Madrid", "Nanjing", "Shenyang", "Xi'an–Xianyang", "San Francisco", "Luanda", "Qingdao–Jimo", "Houston", "Miami", "Bandung", "Riyadh", "Pune", "Singapore", "Philadelphia", "Surat", "Milan", "Suzhou", "Saint Petersburg", "Khartoum", "Atlanta", "Zhengzhou–Xingyang", "Washington, D.C.", "Surabaya", "Harbin", "Abidjan", "Yangon", "Nairobi", "Barcelona", "Alexandria", "Kabul", "Guadalajara", "Ankara", "Belo Horizonte", "Boston", "Xiamen", "Kuwait City", "Dar es Salaam", "Phoenix", "Dalian", "Accra", "Monterrey", "Berlin", "Sydney", "Fuzhou", "Medan", "Dubai", "Melbourne", "Rome", "Busan", "Cape Town", "Jinan", "Ningbo", "Hanoi", "Naples", "Taiyuan—Yuci", "Jeddah", "Detroit", "Hefei", "Changsha", "Kunming–Anning", "Wuxi", "Medellín", "Faisalabad", "Aleppo", "Kano", "Montreal", "Dakar", "Athens", "Changzhou", "Durban", "Porto Alegre", "Jaipur", "Fortaleza", "Addis Ababa", "Changchun", "Shijiazhuang", "Recife", "Mashhad", "Seattle", "Casablanca", "Salvador", "Ürümqi", "Lucknow", "Chittagong", "Wenzhou", "Ibadan", "İzmir", "Curitiba", "San Diego", "Yaoundé", "Kanpur", "Zhongshan", "Sana'a", "Tel Aviv"];