wuxiaClans.js (6035B)
1 var nm1 = [ 2 ["bao", "leopard"], 3 ["da", "elephant"], 4 ["da", "rat"], 5 ["duan", "alligator"], 6 ["gou", "dog"], 7 ["he", "hippo"], 8 ["hei", "chimp"], 9 ["hou", "monkey"], 10 ["hu", "fox"], 11 ["zhu", "spider"], 12 ["chong", "insect"], 13 ["lang", "wolf"], 14 ["lao", "tiger"], 15 ["lie", "hyena"], 16 ["lu", "deer"], 17 ["ma", "horse"], 18 ["mao", "cat"], 19 ["niao", "bird"], 20 ["shan", "goat"], 21 ["she", "snake"], 22 ["shi", "lion"], 23 ["tu", "rabbit"], 24 ["xi", "rhino"], 25 ["xiao", "mouse"], 26 ["xiong", "bear"], 27 ["xiong", "panda"], 28 ["yang", "sheep"], 29 ["ying", "eagle"], 30 ["yu", "fish"], 31 ["cao", "grass"], 32 ["di", "Earth"], 33 ["guo", "orchard"], 34 ["hua", "flower"], 35 ["pu", "waterfall"], 36 ["xuan", "cliff"], 37 ["yuan", "garden"], 38 ["yun", "cloud"], 39 ["xin", "heart"], 40 ["shi", "stone"], 41 ["jing", "mind"], 42 ["mu", "tomb"], 43 ["wan", "night"], 44 ["pingheng", "balance"], 45 ["dou", "fight"], 46 ["zandou", "battle"], 47 ["meili", "beauty"], 48 ["wuxian", "infinity"], 49 ["xue", "blood"], 50 ["yonggan", "bravery"], 51 ["lian", "chain"], 52 ["hundun", "chaos"], 53 ["yongqi", "courage"], 54 ["wangguan", "crown"], 55 ["xi", "delight"], 56 ["huoli", "energy"], 57 ["yongheng", "eternity"], 58 ["yan", "flame"], 59 ["huo", "fire"], 60 ["hexie", "harmony"], 61 ["rongyu", "honor"], 62 ["zhengyi", "justice"], 63 ["zhishi", "knowledge"], 64 ["zhongcheng", "loyalty"], 65 ["dalishi", "marble"], 66 ["naixin", "patience"], 67 ["du", "poison"], 68 ["duye", "venom"], 69 ["zihoa", "pride"], 70 ["fengboa", "storm"], 71 ["mimi", "secret"], 72 ["si", "silk"], 73 ["yin", "silver"], 74 ["lei", "thunder"], 75 ["wangzuo", "throne"], 76 ["sheng", "victory"], 77 ["zhihui", "wisdom"], 78 ["zhide", "worth"], 79 ["hefeng", "zephyr"] 80 ]; 81 var nm2 = [ 82 ["shan", "mountain"], 83 ["sen", "forest"], 84 ["sha", "desert"], 85 ["he", "river"], 86 ["hu", "lake"], 87 ["an", "shore"], 88 ["dao", "island"], 89 ["hai", "ocean"], 90 ["hai", "sea"], 91 ["men", "gate"] 92 ]; 93 var nm3 = [ 94 ["an", "quiet"], 95 ["bai", "white"], 96 ["bo", "thin"], 97 ["chang", "long"], 98 ["cheng", "orange"], 99 ["da", "big"], 100 ["duan", "short"], 101 ["fei", "flying"], 102 ["fen", "pink"], 103 ["guo", "foreign"], 104 ["han", "cold"], 105 ["hao", "good"], 106 ["hei", "black"], 107 ["hei", "dark"], 108 ["hong", "red"], 109 ["hou", "thick"], 110 ["huan", "slow"], 111 ["huang", "yellow"], 112 ["hui", "gray"], 113 ["jin", "gold"], 114 ["kuan", "wide"], 115 ["lan", "blue"], 116 ["lao", "old"], 117 ["li", "maroon"], 118 ["lu", "green"], 119 ["nian", "young"], 120 ["pan", "coiled"], 121 ["qiang", "powerful"], 122 ["qing", "light"], 123 ["qiu", "curling"], 124 ["re", "hot"], 125 ["ruan", "soft"], 126 ["ruo", "weak"], 127 ["shen", "spirit"], 128 ["shu", "tree"], 129 ["tai", "sun"], 130 ["teng", "soaring"], 131 ["tian", "heavenly"], 132 ["tian", "sky"], 133 ["wu", "fog"], 134 ["xing", "star"], 135 ["xue", "snow"], 136 ["yao", "herb"], 137 ["yin", "silver"], 138 ["ying", "hard"], 139 ["ying", "responsive"], 140 ["yu", "rain"], 141 ["zhai", "narrow"], 142 ["zhong", "heavy"], 143 ["zi", "purple"], 144 ["gu", "ancient"], 145 ["jingren", "amazing"], 146 ["yan", "austere"], 147 ["jing", "brilliant"], 148 ["niao", "delicate"], 149 ["ya", "elegant"], 150 ["ti", "exalted"], 151 ["kaiming", "enlightened"], 152 ["dadan", "fearless"], 153 ["yan", "glamorous"], 154 ["qinqie", "gracious"], 155 ["youmei", "graceful"], 156 ["xie", "harmonious"], 157 ["tian", "heavenly"], 158 ["yin", "hidden"], 159 ["xiang", "infinite"], 160 ["wuxing", "invisible"], 161 ["shuo", "luminous"], 162 ["juan", "illustrious"], 163 ["gui", "marvelous"], 164 ["zhuangli", "magnificent"], 165 ["xiongwei", "majestic"], 166 ["shenmi", "mysterious"], 167 ["anxiang", "serene"], 168 ["zuigao", "supreme"], 169 ["ningjing", "tranquil"], 170 ["liu", "wandering"] 171 ]; 172 var nm4 = [ 173 ["pai", "sect"], 174 ["bang", "gang"], 175 ["pai", "sect"], 176 ["bang", "gang"], 177 ["men", "sect"], 178 ["men", "cult"], 179 ["jiao", "cult"], 180 ["hui", "society"], 181 ["gong", "palace"], 182 ["jiao", "cult"], 183 ["hui", "society"], 184 ["gong", "palace"] 185 ]; 186 var br = ""; 187 188 function nameGen() { 189 $('#placeholder').css('textTransform', 'capitalize'); 190 var element = document.createElement("div"); 191 element.setAttribute("id", "result"); 192 for (i = 0; i < 10; i++) { 193 rnd = Math.random() * nm4.length | 0; 194 nTp = Math.random() * 10 | 0; 195 if (nTp < 2) { 196 rnd2 = Math.random() * nm3.length | 0; 197 names = nm3[rnd2][0] + nm4[rnd][0] + " (" + nm3[rnd2][1] + " + " + nm4[rnd][1] + ")"; 198 } else if (nTp < 4) { 199 rnd2 = Math.random() * nm3.length | 0; 200 rnd3 = Math.random() * nm1.length | 0; 201 names = nm3[rnd2][0] + nm1[rnd3][0] + nm4[rnd][0] + " (" + nm3[rnd2][1] + " + " + nm1[rnd3][1] + " + " + nm4[rnd][1] + ")"; 202 } else if (nTp < 6) { 203 rnd2 = Math.random() * nm3.length | 0; 204 rnd3 = Math.random() * nm2.length | 0; 205 names = nm3[rnd2][0] + nm2[rnd3][0] + nm4[rnd][0] + " (" + nm3[rnd2][1] + " + " + nm2[rnd3][1] + " + " + nm4[rnd][1] + ")"; 206 } else if (nTp < 8) { 207 rnd2 = Math.random() * nm1.length | 0; 208 rnd3 = Math.random() * nm2.length | 0; 209 names = nm1[rnd2][0] + nm2[rnd3][0] + nm4[rnd][0] + " (" + nm1[rnd2][1] + " + " + nm2[rnd3][1] + " + " + nm4[rnd][1] + ")"; 210 } else { 211 rnd2 = Math.random() * nm1.length | 0; 212 names = nm1[rnd2][0] + nm4[rnd][0] + " (" + nm1[rnd2][1] + " + " + nm4[rnd][1] + ")"; 213 } 214 br = document.createElement('br'); 215 element.appendChild(document.createTextNode(names)); 216 element.appendChild(br); 217 } 218 if (document.getElementById("result")) { 219 document.getElementById("placeholder").removeChild(document.getElementById("result")); 220 } 221 document.getElementById("placeholder").appendChild(element); 222 }