aTunarianscout.lua 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/aTunarianscout.lua
  3. Script Author : Rylec
  4. Script Date : 2021.03.14 08:03:20
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. local model = MakeRandomInt(1,8)
  10. if model == 1 then
  11. SetModelType(NPC, "132") -- human female
  12. SpawnSet(NPC, "soga_model_type", "132")
  13. SpawnSet(NPC, "chest_type", "5529")
  14. SpawnSet(NPC, "legs_type", "5530")
  15. HumanCosmetics(NPC)
  16. elseif model == 2 then
  17. SetModelType(NPC, "134") -- human male
  18. SpawnSet(NPC, "soga_model_type", "134")
  19. SpawnSet(NPC, "chest_type", "5533")
  20. SpawnSet(NPC, "legs_type", "5534")
  21. HumanCosmetics(NPC)
  22. elseif model == 3 then
  23. SetModelType(NPC, "135") -- high elf female
  24. SpawnSet(NPC, "soga_model_type", "135")
  25. SpawnSet(NPC, "chest_type", "5521")
  26. SpawnSet(NPC, "legs_type", "5522")
  27. HighElfCosmetics(NPC)
  28. elseif model == 4 then
  29. SetModelType(NPC, "136") -- high elf male
  30. SpawnSet(NPC, "soga_model_type", "136")
  31. SpawnSet(NPC, "chest_type", "5525")
  32. SpawnSet(NPC, "legs_type", "5526")
  33. HighElfCosmetics(NPC)
  34. elseif model == 5 then
  35. SetModelType(NPC, "78") -- half elf male
  36. SpawnSet(NPC, "soga_model_type", "78")
  37. SpawnSet(NPC, "chest_type", "5509")
  38. SpawnSet(NPC, "legs_type", "5510")
  39. HalfElfCosmetics(NPC)
  40. elseif model == 6 then
  41. SetModelType(NPC, "79") -- half elf female
  42. SpawnSet(NPC, "soga_model_type", "79")
  43. SpawnSet(NPC, "chest_type", "5505")
  44. SpawnSet(NPC, "legs_type", "5506")
  45. HalfElfCosmetics(NPC)
  46. elseif model == 7 then
  47. SetModelType(NPC, "113") -- wood elf female
  48. SpawnSet(NPC, "soga_model_type", "113")
  49. SpawnSet(NPC, "chest_type", "5573")
  50. SpawnSet(NPC, "legs_type", "5574")
  51. WoodElfCosmetics(NPC)
  52. else
  53. SetModelType(NPC, "114") -- wood elf male
  54. SpawnSet(NPC, "soga_model_type", "114")
  55. SpawnSet(NPC, "chest_type", "5577")
  56. SpawnSet(NPC, "legs_type", "5578")
  57. WoodElfCosmetics(NPC)
  58. end
  59. SetEquipment(NPC, 2, 0)
  60. end
  61. function hailed(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. end
  64. function respawn(NPC)
  65. spawn(NPC)
  66. end
  67. function HalfElfCosmetics(NPC)
  68. local hair = MakeRandomInt(1137,1140) -- 1125 (f|), 1127 (f|), 1133 (f|m), 1138 (f|)
  69. SpawnSet(NPC, "hair_type", hair)
  70. SpawnSet(NPC, "soga_hair_type", hair)
  71. local piercing = MakeRandomInt(1185,1191) -- 1166 (f|m), 1184 (f|), 1185 (|), 1187 (|m), 1191 (f|)
  72. local piercing_chance = MakeRandomInt(1,100)
  73. if piercing_chance < 21 then
  74. SpawnSet(NPC, "facial_hair_type", "0")
  75. SpawnSet(NPC, "soga_facial_hair_type", "0")
  76. else
  77. SpawnSet(NPC, "facial_hair_type", piercing)
  78. SpawnSet(NPC, "soga_facial_hair_type", piercing)
  79. end
  80. local overall_look = MakeRandomInt(9,9)
  81. if overall_look == 1 then -- Bright white
  82. SpawnSet(NPC, "skin_color", "146 147 120")
  83. SpawnSet(NPC, "soga_skin_color", "146 147 120")
  84. SpawnSet(NPC, "eye_color", "45 95 98")
  85. SpawnSet(NPC, "soga_eye_color", "45 95 98")
  86. SpawnSet(NPC, "hair_type_color", "236 240 239")
  87. SpawnSet(NPC, "soga_hair_type_color", "236 240 239")
  88. SpawnSet(NPC, "hair_type_highlight_color", "236 240 239")
  89. SpawnSet(NPC, "soga_hair_type_highlight_color", "236 240 239")
  90. SpawnSet(NPC, "hair_color1", "161 165 168")
  91. SpawnSet(NPC, "soga_hair_color1", "161 165 168")
  92. SpawnSet(NPC, "hair_color2", "50 69 69")
  93. SpawnSet(NPC, "soga_hair_color2", "50 69 69")
  94. SpawnSet(NPC, "hair_highlight", "246 219 114")
  95. SpawnSet(NPC, "soga_hair_highlight", "246 219 114")
  96. elseif overall_look == 2 then -- Red dark and black/lilac
  97. SpawnSet(NPC, "skin_color", "217 193 160")
  98. SpawnSet(NPC, "soga_skin_color", "217 193 160")
  99. SpawnSet(NPC, "eye_color", "135 162 128")
  100. SpawnSet(NPC, "soga_eye_color", "135 162 128")
  101. SpawnSet(NPC, "hair_type_color", "91 7 6")
  102. SpawnSet(NPC, "soga_hair_type_color", "91 7 6")
  103. SpawnSet(NPC, "hair_type_highlight_color", "40 34 51")
  104. SpawnSet(NPC, "soga_hair_type_highlight_color", "40 34 51")
  105. SpawnSet(NPC, "hair_color1", "109 14 49")
  106. SpawnSet(NPC, "soga_hair_color1", "109 14 49")
  107. SpawnSet(NPC, "hair_color2", "185 97 0")
  108. SpawnSet(NPC, "soga_hair_color2", "185 97 0")
  109. SpawnSet(NPC, "hair_highlight", "43 36 70")
  110. SpawnSet(NPC, "soga_hair_highlight", "43 36 70")
  111. elseif overall_look == 3 then -- Red and white
  112. SpawnSet(NPC, "skin_color", "85 87 87")
  113. SpawnSet(NPC, "soga_skin_color", "85 87 87")
  114. SpawnSet(NPC, "eye_color", "94 125 77")
  115. SpawnSet(NPC, "soga_eye_color", "94 125 77")
  116. SpawnSet(NPC, "hair_type_color", "119 147 147")
  117. SpawnSet(NPC, "soga_hair_type_color", "119 147 147")
  118. SpawnSet(NPC, "hair_type_highlight_color", "84 0 0")
  119. SpawnSet(NPC, "soga_hair_type_highlight_color", "84 0 0")
  120. SpawnSet(NPC, "hair_color1", "114 112 142")
  121. SpawnSet(NPC, "soga_hair_color1", "114 112 142")
  122. SpawnSet(NPC, "hair_color2", "152 138 129")
  123. SpawnSet(NPC, "soga_hair_color2", "152 138 129")
  124. SpawnSet(NPC, "hair_highlight", "109 14 49")
  125. SpawnSet(NPC, "soga_hair_highlight", "109 14 49")
  126. elseif overall_look == 4 then -- Black dark
  127. SpawnSet(NPC, "skin_color", "213 187 157")
  128. SpawnSet(NPC, "soga_skin_color", "213 187 157")
  129. SpawnSet(NPC, "eye_color", "76 60 30")
  130. SpawnSet(NPC, "soga_eye_color", "76 60 30")
  131. SpawnSet(NPC, "hair_type_color", "0 0 0")
  132. SpawnSet(NPC, "soga_hair_type_color", "0 0 0")
  133. SpawnSet(NPC, "hair_type_highlight_color", "0 0 0")
  134. SpawnSet(NPC, "soga_hair_type_highlight_color", "0 0 0")
  135. SpawnSet(NPC, "hair_color1", "38 22 21")
  136. SpawnSet(NPC, "soga_hair_color1", "38 22 21")
  137. SpawnSet(NPC, "hair_color2", "120 50 0")
  138. SpawnSet(NPC, "soga_hair_color2", "120 50 0")
  139. SpawnSet(NPC, "hair_highlight", "246 219 114")
  140. SpawnSet(NPC, "soga_hair_highlight", "246 219 114")
  141. elseif overall_look == 5 then -- Yellow and Dark red
  142. SpawnSet(NPC, "skin_color", "213 187 157")
  143. SpawnSet(NPC, "soga_skin_color", "213 187 157")
  144. SpawnSet(NPC, "eye_color", "89 134 93")
  145. SpawnSet(NPC, "soga_eye_color", "89 134 93")
  146. SpawnSet(NPC, "hair_type_color", "84 0 0")
  147. SpawnSet(NPC, "soga_hair_type_color", "84 0 0")
  148. SpawnSet(NPC, "hair_type_highlight_color", "223 181 20")
  149. SpawnSet(NPC, "soga_hair_type_highlight_color", "223 181 20")
  150. SpawnSet(NPC, "hair_color1", "109 14 49")
  151. SpawnSet(NPC, "soga_hair_color1", "109 14 49")
  152. SpawnSet(NPC, "hair_color2", "185 97 0")
  153. SpawnSet(NPC, "soga_hair_color2", "185 97 0")
  154. SpawnSet(NPC, "hair_highlight", "239 221 86")
  155. SpawnSet(NPC, "soga_hair_highlight", "239 221 86")
  156. elseif overall_look == 6 then -- White and yellow
  157. SpawnSet(NPC, "skin_color", "213 187 157")
  158. SpawnSet(NPC, "soga_skin_color", "213 187 157")
  159. SpawnSet(NPC, "eye_color", "76 60 30")
  160. SpawnSet(NPC, "soga_eye_color", "76 60 30")
  161. SpawnSet(NPC, "hair_type_color", "244 246 246")
  162. SpawnSet(NPC, "soga_hair_type_color", "244 246 246")
  163. SpawnSet(NPC, "hair_type_highlight_color", "233 184 31")
  164. SpawnSet(NPC, "soga_hair_type_highlight_color", "233 184 31")
  165. SpawnSet(NPC, "hair_color1", "161 165 168")
  166. SpawnSet(NPC, "soga_hair_color1", "161 165 168")
  167. SpawnSet(NPC, "hair_color2", "50 69 69")
  168. SpawnSet(NPC, "soga_hair_color2", "50 69 69")
  169. SpawnSet(NPC, "hair_highlight", "246 219 114")
  170. SpawnSet(NPC, "soga_hair_highlight", "246 219 114")
  171. elseif overall_look == 7 then -- Orange and red
  172. SpawnSet(NPC, "skin_color", "137 134 101")
  173. SpawnSet(NPC, "soga_skin_color", "137 134 101")
  174. SpawnSet(NPC, "eye_color", "55 115 127")
  175. SpawnSet(NPC, "soga_eye_color", "55 115 127")
  176. SpawnSet(NPC, "hair_type_color", "93 10 9")
  177. SpawnSet(NPC, "soga_hair_type_color", "93 10 9")
  178. SpawnSet(NPC, "hair_type_highlight_color", "168 59 22")
  179. SpawnSet(NPC, "soga_hair_type_highlight_color", "168 59 22")
  180. SpawnSet(NPC, "hair_color1", "109 14 49")
  181. SpawnSet(NPC, "soga_hair_color1", "109 14 49")
  182. SpawnSet(NPC, "hair_color2", "185 97 0")
  183. SpawnSet(NPC, "soga_hair_color2", "185 97 0")
  184. SpawnSet(NPC, "hair_highlight", "89 21 21")
  185. SpawnSet(NPC, "soga_hair_highlight", "89 21 21")
  186. elseif overall_look == 8 then -- Red light and black/lilac
  187. SpawnSet(NPC, "skin_color", "242 233 234")
  188. SpawnSet(NPC, "soga_skin_color", "242 233 234")
  189. SpawnSet(NPC, "eye_color", "37 71 51")
  190. SpawnSet(NPC, "soga_eye_color", "37 71 51")
  191. SpawnSet(NPC, "hair_type_color", "15 1 21")
  192. SpawnSet(NPC, "soga_hair_type_color", "15 1 21")
  193. SpawnSet(NPC, "hair_type_highlight_color", "119 36 33")
  194. SpawnSet(NPC, "soga_hair_type_highlight_color", "119 36 33")
  195. SpawnSet(NPC, "hair_color1", "29 21 28")
  196. SpawnSet(NPC, "soga_hair_color1", "29 21 28")
  197. SpawnSet(NPC, "hair_color2", "39 32 39")
  198. SpawnSet(NPC, "soga_hair_color2", "39 32 39")
  199. SpawnSet(NPC, "hair_highlight", "91 21 51")
  200. SpawnSet(NPC, "soga_hair_highlight", "91 21 51")
  201. elseif overall_look == 9 then -- White and yellow
  202. SpawnSet(NPC, "skin_color", "132 141 137")
  203. SpawnSet(NPC, "soga_skin_color", "132 141 137")
  204. SpawnSet(NPC, "eye_color", "199 174 134")
  205. SpawnSet(NPC, "soga_eye_color", "199 174 134")
  206. SpawnSet(NPC, "hair_type_color", "244 246 246")
  207. SpawnSet(NPC, "soga_hair_type_color", "244 246 246")
  208. SpawnSet(NPC, "hair_type_highlight_color", "193 100 45")
  209. SpawnSet(NPC, "soga_hair_type_highlight_color", "193 100 45")
  210. SpawnSet(NPC, "hair_color1", "161 165 168")
  211. SpawnSet(NPC, "soga_hair_color1", "161 165 168")
  212. SpawnSet(NPC, "hair_color2", "56 62 62")
  213. SpawnSet(NPC, "soga_hair_color2", "56 62 62")
  214. SpawnSet(NPC, "hair_highlight", "105 26 26")
  215. SpawnSet(NPC, "soga_hair_highlight", "105 26 26")
  216. end
  217. end
  218. function WoodElfCosmetics(NPC)
  219. local hair = MakeRandomInt(1133,1139) -- 1113 (|m), 1130 (f|), 1131 (f|), 1133 (|m), 1136 (|m), 1137 (f|)
  220. SpawnSet(NPC, "hair_type", hair)
  221. SpawnSet(NPC, "soga_hair_type", hair)
  222. local overall_look = MakeRandomInt(12,12)
  223. if overall_look == 1 then -- Beige reddish light
  224. SpawnSet(NPC, "skin_color", "203 148 115")
  225. SpawnSet(NPC, "soga_skin_color", "203 148 115")
  226. SpawnSet(NPC, "eye_color", "149 190 197")
  227. SpawnSet(NPC, "soga_eye_color", "149 190 197")
  228. SpawnSet(NPC, "hair_type_color", "169 120 99")
  229. SpawnSet(NPC, "soga_hair_type_color", "169 120 99")
  230. SpawnSet(NPC, "hair_type_highlight_color", "135 55 0")
  231. SpawnSet(NPC, "soga_hair_type_highlight_color", "135 55 0")
  232. SpawnSet(NPC, "hair_color1", "0 0 0")
  233. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  234. SpawnSet(NPC, "hair_color2", "0 0 0")
  235. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  236. SpawnSet(NPC, "hair_highlight", "0 0 0")
  237. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  238. elseif overall_look == 2 then -- Yellow dark
  239. SpawnSet(NPC, "skin_color", "217 193 160")
  240. SpawnSet(NPC, "soga_skin_color", "217 193 160")
  241. SpawnSet(NPC, "eye_color", "202 188 158")
  242. SpawnSet(NPC, "soga_eye_color", "202 188 158")
  243. SpawnSet(NPC, "hair_type_color", "172 148 51")
  244. SpawnSet(NPC, "soga_hair_type_color", "172 148 51")
  245. SpawnSet(NPC, "hair_type_highlight_color", "4 1 0")
  246. SpawnSet(NPC, "soga_hair_type_highlight_color", "4 1 0")
  247. SpawnSet(NPC, "hair_color1", "0 0 0")
  248. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  249. SpawnSet(NPC, "hair_color2", "0 0 0")
  250. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  251. SpawnSet(NPC, "hair_highlight", "0 0 0")
  252. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  253. elseif overall_look == 3 then -- Yellow dark vers 2
  254. SpawnSet(NPC, "skin_color", "191 166 131")
  255. SpawnSet(NPC, "soga_skin_color", "191 166 131")
  256. SpawnSet(NPC, "eye_color", "63 129 143")
  257. SpawnSet(NPC, "soga_eye_color", "63 129 143")
  258. SpawnSet(NPC, "hair_type_color", "166 126 37")
  259. SpawnSet(NPC, "soga_hair_type_color", "166 126 37")
  260. SpawnSet(NPC, "hair_type_highlight_color", "84 41 0")
  261. SpawnSet(NPC, "soga_hair_type_highlight_color", "84 41 0")
  262. SpawnSet(NPC, "hair_color1", "0 0 0")
  263. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  264. SpawnSet(NPC, "hair_color2", "0 0 0")
  265. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  266. SpawnSet(NPC, "hair_highlight", "0 0 0")
  267. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  268. elseif overall_look == 4 then -- Beige reddish medium bright highlight
  269. SpawnSet(NPC, "skin_color", "202 180 137")
  270. SpawnSet(NPC, "soga_skin_color", "202 180 137")
  271. SpawnSet(NPC, "eye_color", "44 93 88")
  272. SpawnSet(NPC, "soga_eye_color", "44 93 88")
  273. SpawnSet(NPC, "hair_type_color", "151 81 46")
  274. SpawnSet(NPC, "soga_hair_type_color", "151 81 46")
  275. SpawnSet(NPC, "hair_type_highlight_color", "137 120 98")
  276. SpawnSet(NPC, "soga_hair_type_highlight_color", "137 120 98")
  277. SpawnSet(NPC, "hair_color1", "0 0 0")
  278. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  279. SpawnSet(NPC, "hair_color2", "0 0 0")
  280. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  281. SpawnSet(NPC, "hair_highlight", "0 0 0")
  282. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  283. elseif overall_look == 5 then -- Beige reddish medium grey highlight
  284. SpawnSet(NPC, "skin_color", "191 166 131")
  285. SpawnSet(NPC, "soga_skin_color", "191 166 131")
  286. SpawnSet(NPC, "eye_color", "52 112 112")
  287. SpawnSet(NPC, "soga_eye_color", "52 112 112")
  288. SpawnSet(NPC, "hair_type_color", "139 80 51")
  289. SpawnSet(NPC, "soga_hair_type_color", "139 80 51")
  290. SpawnSet(NPC, "hair_type_highlight_color", "84 84 83")
  291. SpawnSet(NPC, "soga_hair_type_highlight_color", "84 84 83")
  292. SpawnSet(NPC, "hair_color1", "0 0 0")
  293. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  294. SpawnSet(NPC, "hair_color2", "0 0 0")
  295. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  296. SpawnSet(NPC, "hair_highlight", "0 0 0")
  297. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  298. elseif overall_look == 6 then -- White light grey
  299. SpawnSet(NPC, "skin_color", "172 106 62")
  300. SpawnSet(NPC, "soga_skin_color", "172 106 62")
  301. SpawnSet(NPC, "eye_color", "157 187 169")
  302. SpawnSet(NPC, "soga_eye_color", "157 187 169")
  303. SpawnSet(NPC, "hair_type_color", "212 210 207")
  304. SpawnSet(NPC, "soga_hair_type_color", "212 210 207")
  305. SpawnSet(NPC, "hair_type_highlight_color", "125 66 4")
  306. SpawnSet(NPC, "soga_hair_type_highlight_color", "125 66 4")
  307. SpawnSet(NPC, "hair_color1", "0 0 0")
  308. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  309. SpawnSet(NPC, "hair_color2", "0 0 0")
  310. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  311. SpawnSet(NPC, "hair_highlight", "0 0 0")
  312. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  313. elseif overall_look == 7 then -- Beige light
  314. SpawnSet(NPC, "skin_color", "189 168 120")
  315. SpawnSet(NPC, "soga_skin_color", "189 168 120")
  316. SpawnSet(NPC, "eye_color", "43 87 100")
  317. SpawnSet(NPC, "soga_eye_color", "43 87 100")
  318. SpawnSet(NPC, "hair_type_color", "178 155 145")
  319. SpawnSet(NPC, "soga_hair_type_color", "178 155 145")
  320. SpawnSet(NPC, "hair_type_highlight_color", "114 106 39")
  321. SpawnSet(NPC, "soga_hair_type_highlight_color", "114 106 39")
  322. SpawnSet(NPC, "hair_color1", "0 0 0")
  323. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  324. SpawnSet(NPC, "hair_color2", "0 0 0")
  325. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  326. SpawnSet(NPC, "hair_highlight", "0 0 0")
  327. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  328. elseif overall_look == 8 then -- Yellow beige light
  329. SpawnSet(NPC, "skin_color", "168 119 69")
  330. SpawnSet(NPC, "soga_skin_color", "168 119 69")
  331. SpawnSet(NPC, "eye_color", "126 178 194")
  332. SpawnSet(NPC, "soga_eye_color", "126 178 194")
  333. SpawnSet(NPC, "hair_type_color", "208 197 90")
  334. SpawnSet(NPC, "soga_hair_type_color", "208 197 90")
  335. SpawnSet(NPC, "hair_type_highlight_color", "22 8 2")
  336. SpawnSet(NPC, "soga_hair_type_highlight_color", "22 8 2")
  337. SpawnSet(NPC, "hair_color1", "0 0 0")
  338. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  339. SpawnSet(NPC, "hair_color2", "0 0 0")
  340. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  341. SpawnSet(NPC, "hair_highlight", "0 0 0")
  342. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  343. elseif overall_look == 9 then -- Yellow warm gold
  344. SpawnSet(NPC, "skin_color", "177 117 83")
  345. SpawnSet(NPC, "soga_skin_color", "177 117 83")
  346. SpawnSet(NPC, "eye_color", "188 176 141")
  347. SpawnSet(NPC, "soga_eye_color", "188 176 141")
  348. SpawnSet(NPC, "hair_type_color", "158 120 35")
  349. SpawnSet(NPC, "soga_hair_type_color", "158 120 35")
  350. SpawnSet(NPC, "hair_type_highlight_color", "114 94 0")
  351. SpawnSet(NPC, "soga_hair_type_highlight_color", "114 94 0")
  352. SpawnSet(NPC, "hair_color1", "0 0 0")
  353. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  354. SpawnSet(NPC, "hair_color2", "0 0 0")
  355. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  356. SpawnSet(NPC, "hair_highlight", "0 0 0")
  357. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  358. elseif overall_look == 10 then -- Yellow light
  359. SpawnSet(NPC, "skin_color", "190 142 104")
  360. SpawnSet(NPC, "soga_skin_color", "190 142 104")
  361. SpawnSet(NPC, "eye_color", "139 179 169")
  362. SpawnSet(NPC, "soga_eye_color", "139 179 169")
  363. SpawnSet(NPC, "hair_type_color", "215 203 91")
  364. SpawnSet(NPC, "soga_hair_type_color", "215 203 91")
  365. SpawnSet(NPC, "hair_type_highlight_color", "84 70 0")
  366. SpawnSet(NPC, "soga_hair_type_highlight_color", "84 70 0")
  367. SpawnSet(NPC, "hair_color1", "0 0 0")
  368. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  369. SpawnSet(NPC, "hair_color2", "0 0 0")
  370. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  371. SpawnSet(NPC, "hair_highlight", "0 0 0")
  372. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  373. elseif overall_look == 11 then -- Yellow dark golden
  374. SpawnSet(NPC, "skin_color", "182 139 92")
  375. SpawnSet(NPC, "soga_skin_color", "182 139 92")
  376. SpawnSet(NPC, "eye_color", "55 112 129")
  377. SpawnSet(NPC, "soga_eye_color", "55 112 129")
  378. SpawnSet(NPC, "hair_type_color", "160 114 32")
  379. SpawnSet(NPC, "soga_hair_type_color", "160 114 32")
  380. SpawnSet(NPC, "hair_type_highlight_color", "61 28 0")
  381. SpawnSet(NPC, "soga_hair_type_highlight_color", "61 28 0")
  382. SpawnSet(NPC, "hair_color1", "0 0 0")
  383. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  384. SpawnSet(NPC, "hair_color2", "0 0 0")
  385. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  386. SpawnSet(NPC, "hair_highlight", "0 0 0")
  387. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  388. elseif overall_look == 12 then -- White and orange
  389. SpawnSet(NPC, "skin_color", "183 150 105")
  390. SpawnSet(NPC, "soga_skin_color", "183 150 105")
  391. SpawnSet(NPC, "eye_color", "163 182 156")
  392. SpawnSet(NPC, "soga_eye_color", "163 182 156")
  393. SpawnSet(NPC, "hair_type_color", "171 166 94")
  394. SpawnSet(NPC, "soga_hair_type_color", "171 166 94")
  395. SpawnSet(NPC, "hair_type_highlight_color", "39 20 0")
  396. SpawnSet(NPC, "soga_hair_type_highlight_color", "39 20 0")
  397. SpawnSet(NPC, "hair_color1", "0 0 0")
  398. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  399. SpawnSet(NPC, "hair_color2", "0 0 0")
  400. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  401. SpawnSet(NPC, "hair_highlight", "0 0 0")
  402. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  403. end
  404. end
  405. function HighElfCosmetics(NPC)
  406. local hair = MakeRandomInt(1133,1140) -- 1133 (f|m), 1136 (f|), 1137 (f|m)
  407. SpawnSet(NPC, "hair_type", hair)
  408. SpawnSet(NPC, "soga_hair_type", hair)
  409. local overall_look = MakeRandomInt(15,15)
  410. if overall_look == 1 then -- White
  411. SpawnSet(NPC, "skin_color", "235 243 243")
  412. SpawnSet(NPC, "soga_skin_color", "235 243 243")
  413. SpawnSet(NPC, "eye_color", "112 168 180")
  414. SpawnSet(NPC, "soga_eye_color", "112 168 180")
  415. SpawnSet(NPC, "hair_type_color", "247 240 227")
  416. SpawnSet(NPC, "soga_hair_type_color", "247 240 227")
  417. SpawnSet(NPC, "hair_type_highlight_color", "14 11 9")
  418. SpawnSet(NPC, "soga_hair_type_highlight_color", "14 11 9")
  419. SpawnSet(NPC, "hair_color1", "0 0 0")
  420. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  421. SpawnSet(NPC, "hair_color2", "0 0 0")
  422. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  423. SpawnSet(NPC, "hair_highlight", "0 0 0")
  424. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  425. elseif overall_look == 2 then -- Light grey
  426. SpawnSet(NPC, "skin_color", "209 181 133")
  427. SpawnSet(NPC, "soga_skin_color", "209 181 133")
  428. SpawnSet(NPC, "eye_color", "69 82 46")
  429. SpawnSet(NPC, "soga_eye_color", "69 82 46")
  430. SpawnSet(NPC, "hair_type_color", "219 219 216")
  431. SpawnSet(NPC, "soga_hair_type_color", "219 219 216")
  432. SpawnSet(NPC, "hair_type_highlight_color", "54 22 8")
  433. SpawnSet(NPC, "soga_hair_type_highlight_color", "54 22 8")
  434. SpawnSet(NPC, "hair_color1", "0 0 0")
  435. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  436. SpawnSet(NPC, "hair_color2", "0 0 0")
  437. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  438. SpawnSet(NPC, "hair_highlight", "0 0 0")
  439. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  440. elseif overall_look == 3 then -- Very light yellow
  441. SpawnSet(NPC, "skin_color", "240 249 246")
  442. SpawnSet(NPC, "soga_skin_color", "240 249 246")
  443. SpawnSet(NPC, "eye_color", "96 160 174")
  444. SpawnSet(NPC, "soga_eye_color", "96 160 174")
  445. SpawnSet(NPC, "hair_type_color", "214 184 120")
  446. SpawnSet(NPC, "soga_hair_type_color", "214 184 120")
  447. SpawnSet(NPC, "hair_type_highlight_color", "65 61 27")
  448. SpawnSet(NPC, "soga_hair_type_highlight_color", "65 61 27")
  449. SpawnSet(NPC, "hair_color1", "0 0 0")
  450. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  451. SpawnSet(NPC, "hair_color2", "0 0 0")
  452. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  453. SpawnSet(NPC, "hair_highlight", "0 0 0")
  454. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  455. elseif overall_look == 4 then -- Light yellow
  456. SpawnSet(NPC, "skin_color", "255 255 255")
  457. SpawnSet(NPC, "soga_skin_color", "255 255 255")
  458. SpawnSet(NPC, "eye_color", "58 62 34")
  459. SpawnSet(NPC, "soga_eye_color", "58 62 34")
  460. SpawnSet(NPC, "hair_type_color", "213 215 126")
  461. SpawnSet(NPC, "soga_hair_type_color", "213 215 126")
  462. SpawnSet(NPC, "hair_type_highlight_color", "54 32 1")
  463. SpawnSet(NPC, "soga_hair_type_highlight_color", "54 32 1")
  464. SpawnSet(NPC, "hair_color1", "0 0 0")
  465. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  466. SpawnSet(NPC, "hair_color2", "0 0 0")
  467. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  468. SpawnSet(NPC, "hair_highlight", "0 0 0")
  469. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  470. elseif overall_look == 5 then -- Bright yellow
  471. SpawnSet(NPC, "skin_color", "193 199 199")
  472. SpawnSet(NPC, "soga_skin_color", "193 199 199")
  473. SpawnSet(NPC, "eye_color", "71 57 30")
  474. SpawnSet(NPC, "soga_eye_color", "71 57 30")
  475. SpawnSet(NPC, "hair_type_color", "236 195 50")
  476. SpawnSet(NPC, "soga_hair_type_color", "236 195 50")
  477. SpawnSet(NPC, "hair_type_highlight_color", "65 37 3")
  478. SpawnSet(NPC, "soga_hair_type_highlight_color", "65 37 3")
  479. SpawnSet(NPC, "hair_color1", "0 0 0")
  480. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  481. SpawnSet(NPC, "hair_color2", "0 0 0")
  482. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  483. SpawnSet(NPC, "hair_highlight", "0 0 0")
  484. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  485. elseif overall_look == 6 then -- Light yellow vers 2
  486. SpawnSet(NPC, "skin_color", "193 199 199")
  487. SpawnSet(NPC, "soga_skin_color", "193 199 199")
  488. SpawnSet(NPC, "eye_color", "71 57 30")
  489. SpawnSet(NPC, "soga_eye_color", "71 57 30")
  490. SpawnSet(NPC, "hair_type_color", "236 233 113")
  491. SpawnSet(NPC, "soga_hair_type_color", "236 195 50")
  492. SpawnSet(NPC, "hair_type_highlight_color", "104 102 100")
  493. SpawnSet(NPC, "soga_hair_type_highlight_color", "65 37 3")
  494. SpawnSet(NPC, "hair_color1", "0 0 0")
  495. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  496. SpawnSet(NPC, "hair_color2", "0 0 0")
  497. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  498. SpawnSet(NPC, "hair_highlight", "0 0 0")
  499. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  500. elseif overall_look == 7 then -- Dark yellow
  501. SpawnSet(NPC, "skin_color", "240 249 246")
  502. SpawnSet(NPC, "soga_skin_color", "240 249 246")
  503. SpawnSet(NPC, "eye_color", "105 85 44")
  504. SpawnSet(NPC, "soga_eye_color", "105 85 44")
  505. SpawnSet(NPC, "hair_type_color", "211 157 3")
  506. SpawnSet(NPC, "soga_hair_type_color", "211 157 3")
  507. SpawnSet(NPC, "hair_type_highlight_color", "125 50 1")
  508. SpawnSet(NPC, "soga_hair_type_highlight_color", "125 50 1")
  509. SpawnSet(NPC, "hair_color1", "0 0 0")
  510. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  511. SpawnSet(NPC, "hair_color2", "0 0 0")
  512. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  513. SpawnSet(NPC, "hair_highlight", "0 0 0")
  514. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  515. elseif overall_look == 8 then -- Orange dark
  516. SpawnSet(NPC, "skin_color", "218 229 229")
  517. SpawnSet(NPC, "soga_skin_color", "218 229 229")
  518. SpawnSet(NPC, "eye_color", "102 70 30")
  519. SpawnSet(NPC, "soga_eye_color", "102 70 30")
  520. SpawnSet(NPC, "hair_type_color", "219 136 25")
  521. SpawnSet(NPC, "soga_hair_type_color", "219 136 25")
  522. SpawnSet(NPC, "hair_type_highlight_color", "59 54 48")
  523. SpawnSet(NPC, "soga_hair_type_highlight_color", "59 54 48")
  524. SpawnSet(NPC, "hair_color1", "0 0 0")
  525. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  526. SpawnSet(NPC, "hair_color2", "0 0 0")
  527. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  528. SpawnSet(NPC, "hair_highlight", "0 0 0")
  529. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  530. elseif overall_look == 9 then -- Orange light
  531. SpawnSet(NPC, "skin_color", "225 232 227")
  532. SpawnSet(NPC, "soga_skin_color", "225 232 227")
  533. SpawnSet(NPC, "eye_color", "200 175 137")
  534. SpawnSet(NPC, "soga_eye_color", "200 175 137")
  535. SpawnSet(NPC, "hair_type_color", "220 138 23")
  536. SpawnSet(NPC, "soga_hair_type_color", "220 138 23")
  537. SpawnSet(NPC, "hair_type_highlight_color", "113 39 21")
  538. SpawnSet(NPC, "soga_hair_type_highlight_color", "113 39 21")
  539. SpawnSet(NPC, "hair_color1", "0 0 0")
  540. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  541. SpawnSet(NPC, "hair_color2", "0 0 0")
  542. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  543. SpawnSet(NPC, "hair_highlight", "0 0 0")
  544. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  545. elseif overall_look == 10 then -- White yellow light
  546. SpawnSet(NPC, "skin_color", "221 225 225")
  547. SpawnSet(NPC, "soga_skin_color", "221 225 225")
  548. SpawnSet(NPC, "eye_color", "138 174 156")
  549. SpawnSet(NPC, "soga_eye_color", "138 174 156")
  550. SpawnSet(NPC, "hair_type_color", "222 210 186")
  551. SpawnSet(NPC, "soga_hair_type_color", "222 210 186")
  552. SpawnSet(NPC, "hair_type_highlight_color", "118 116 114")
  553. SpawnSet(NPC, "soga_hair_type_highlight_color", "118 116 114")
  554. SpawnSet(NPC, "hair_color1", "0 0 0")
  555. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  556. SpawnSet(NPC, "hair_color2", "0 0 0")
  557. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  558. SpawnSet(NPC, "hair_highlight", "0 0 0")
  559. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  560. elseif overall_look == 11 then -- Yellow light mat
  561. SpawnSet(NPC, "skin_color", "223 183 127")
  562. SpawnSet(NPC, "soga_skin_color", "223 183 127")
  563. SpawnSet(NPC, "eye_color", "53 109 120")
  564. SpawnSet(NPC, "soga_eye_color", "53 109 120")
  565. SpawnSet(NPC, "hair_type_color", "224 221 88")
  566. SpawnSet(NPC, "soga_hair_type_color", "224 221 88")
  567. SpawnSet(NPC, "hair_type_highlight_color", "107 54 9")
  568. SpawnSet(NPC, "soga_hair_type_highlight_color", "107 54 9")
  569. SpawnSet(NPC, "hair_color1", "0 0 0")
  570. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  571. SpawnSet(NPC, "hair_color2", "0 0 0")
  572. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  573. SpawnSet(NPC, "hair_highlight", "0 0 0")
  574. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  575. elseif overall_look == 12 then -- Yellow
  576. SpawnSet(NPC, "skin_color", "221 228 228")
  577. SpawnSet(NPC, "soga_skin_color", "221 228 228")
  578. SpawnSet(NPC, "eye_color", "108 147 112")
  579. SpawnSet(NPC, "soga_eye_color", "108 147 112")
  580. SpawnSet(NPC, "hair_type_color", "224 223 107")
  581. SpawnSet(NPC, "soga_hair_type_color", "224 223 107")
  582. SpawnSet(NPC, "hair_type_highlight_color", "145 129 21")
  583. SpawnSet(NPC, "soga_hair_type_highlight_color", "145 129 21")
  584. SpawnSet(NPC, "hair_color1", "0 0 0")
  585. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  586. SpawnSet(NPC, "hair_color2", "0 0 0")
  587. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  588. SpawnSet(NPC, "hair_highlight", "0 0 0")
  589. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  590. elseif overall_look == 13 then -- Yellow light mat
  591. SpawnSet(NPC, "skin_color", "213 179 131")
  592. SpawnSet(NPC, "soga_skin_color", "213 179 131")
  593. SpawnSet(NPC, "eye_color", "46 93 108")
  594. SpawnSet(NPC, "soga_eye_color", "46 93 108")
  595. SpawnSet(NPC, "hair_type_color", "207 195 0")
  596. SpawnSet(NPC, "soga_hair_type_color", "207 195 0")
  597. SpawnSet(NPC, "hair_type_highlight_color", "136 54 22")
  598. SpawnSet(NPC, "soga_hair_type_highlight_color", "136 54 22")
  599. SpawnSet(NPC, "hair_color1", "0 0 0")
  600. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  601. SpawnSet(NPC, "hair_color2", "0 0 0")
  602. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  603. SpawnSet(NPC, "hair_highlight", "0 0 0")
  604. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  605. elseif overall_look == 14 then -- Yellow light
  606. SpawnSet(NPC, "skin_color", "253 254 254")
  607. SpawnSet(NPC, "soga_skin_color", "253 254 254")
  608. SpawnSet(NPC, "eye_color", "139 185 192")
  609. SpawnSet(NPC, "soga_eye_color", "139 185 192")
  610. SpawnSet(NPC, "hair_type_color", "209 211 130")
  611. SpawnSet(NPC, "soga_hair_type_color", "209 211 130")
  612. SpawnSet(NPC, "hair_type_highlight_color", "105 91 74")
  613. SpawnSet(NPC, "soga_hair_type_highlight_color", "105 91 74")
  614. SpawnSet(NPC, "hair_color1", "0 0 0")
  615. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  616. SpawnSet(NPC, "hair_color2", "0 0 0")
  617. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  618. SpawnSet(NPC, "hair_highlight", "0 0 0")
  619. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  620. elseif overall_look == 15 then -- Yellow golden dark
  621. SpawnSet(NPC, "skin_color", "235 205 162")
  622. SpawnSet(NPC, "soga_skin_color", "235 205 162")
  623. SpawnSet(NPC, "eye_color", "145 190 203")
  624. SpawnSet(NPC, "soga_eye_color", "145 190 203")
  625. SpawnSet(NPC, "hair_type_color", "214 158 10")
  626. SpawnSet(NPC, "soga_hair_type_color", "214 158 10")
  627. SpawnSet(NPC, "hair_type_highlight_color", "84 58 25")
  628. SpawnSet(NPC, "soga_hair_type_highlight_color", "84 58 25")
  629. SpawnSet(NPC, "hair_color1", "0 0 0")
  630. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  631. SpawnSet(NPC, "hair_color2", "0 0 0")
  632. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  633. SpawnSet(NPC, "hair_highlight", "0 0 0")
  634. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  635. end
  636. end
  637. function HumanCosmetics(NPC)
  638. local hair = MakeRandomInt(1121,1140)
  639. SpawnSet(NPC, "hair_type", hair)
  640. SpawnSet(NPC, "soga_hair_type", hair)
  641. local beard = MakeRandomInt(1164,1191)
  642. local beard_chance = MakeRandomInt(1,100)
  643. if beard_chance < 51 then
  644. SpawnSet(NPC, "facial_hair_type", "0")
  645. SpawnSet(NPC, "soga_facial_hair_type", "0")
  646. else
  647. SpawnSet(NPC, "facial_hair_type", beard)
  648. SpawnSet(NPC, "soga_facial_hair_type", beard)
  649. end
  650. local overall_look = MakeRandomInt(1,14)
  651. if overall_look == 1 then -- Bright yellow
  652. SpawnSet(NPC, "skin_color", "206 162 137")
  653. SpawnSet(NPC, "soga_skin_color", "206 162 137")
  654. SpawnSet(NPC, "eye_color", "47 100 102")
  655. SpawnSet(NPC, "soga_eye_color", "47 100 102")
  656. SpawnSet(NPC, "hair_type_color", "194 164 6")
  657. SpawnSet(NPC, "soga_hair_type_color", "194 164 6")
  658. SpawnSet(NPC, "hair_face_color", "194 164 6")
  659. SpawnSet(NPC, "soga_hair_face_color", "194 164 6")
  660. SpawnSet(NPC, "hair_type_highlight_color", "188 168 37")
  661. SpawnSet(NPC, "soga_hair_type_highlight_color", "188 168 37")
  662. SpawnSet(NPC, "hair_face_highlight_color", "188 168 37")
  663. SpawnSet(NPC, "soga_hair_face_highlight_color", "188 168 37")
  664. elseif overall_look == 2 then -- Extra light chestnut (towards yellow)
  665. SpawnSet(NPC, "skin_color", "241 245 221")
  666. SpawnSet(NPC, "soga_skin_color", "241 245 221")
  667. SpawnSet(NPC, "eye_color", "38 65 40")
  668. SpawnSet(NPC, "soga_eye_color", "38 65 40")
  669. SpawnSet(NPC, "hair_type_color", "100 70 10")
  670. SpawnSet(NPC, "soga_hair_type_color", "100 70 10")
  671. SpawnSet(NPC, "hair_face_color", "100 70 10")
  672. SpawnSet(NPC, "soga_hair_face_color", "100 70 10")
  673. SpawnSet(NPC, "hair_type_highlight_color", "231 170 26")
  674. SpawnSet(NPC, "soga_hair_type_highlight_color", "231 170 26")
  675. SpawnSet(NPC, "hair_face_highlight_color", "231 170 26")
  676. SpawnSet(NPC, "soga_hair_face_highlight_color", "231 170 26")
  677. SpawnSet(NPC, "hair_color1", "56 33 26")
  678. SpawnSet(NPC, "soga_hair_color1", "56 33 26")
  679. SpawnSet(NPC, "hair_color2", "94 59 11")
  680. SpawnSet(NPC, "soga_hair_color2", "94 59 11")
  681. SpawnSet(NPC, "hair_highlight", "200 165 96")
  682. SpawnSet(NPC, "soga_hair_highlight", "200 165 96")
  683. elseif overall_look == 3 then -- Light orange
  684. SpawnSet(NPC, "skin_color", "210 188 159")
  685. SpawnSet(NPC, "soga_skin_color", "210 188 159")
  686. SpawnSet(NPC, "eye_color", "74 130 98")
  687. SpawnSet(NPC, "soga_eye_color", "74 130 98")
  688. SpawnSet(NPC, "hair_type_color", "184 128 10")
  689. SpawnSet(NPC, "soga_hair_type_color", "184 128 10")
  690. SpawnSet(NPC, "hair_face_color", "184 128 10")
  691. SpawnSet(NPC, "soga_hair_face_color", "184 128 10")
  692. SpawnSet(NPC, "hair_type_highlight_color", "37 10 14")
  693. SpawnSet(NPC, "soga_hair_type_highlight_color", "37 10 14")
  694. SpawnSet(NPC, "hair_face_highlight_color", "37 10 14")
  695. SpawnSet(NPC, "soga_hair_face_highlight_color", "37 10 14")
  696. SpawnSet(NPC, "hair_color1", "213 84 34")
  697. SpawnSet(NPC, "soga_hair_color1", "213 84 34")
  698. SpawnSet(NPC, "hair_color2", "2 0 0")
  699. SpawnSet(NPC, "soga_hair_color2", "2 0 0")
  700. elseif overall_look == 4 then -- Orange with bright highlights
  701. SpawnSet(NPC, "skin_color", "234 244 244")
  702. SpawnSet(NPC, "soga_skin_color", "234 244 244")
  703. SpawnSet(NPC, "eye_color", "37 76 88")
  704. SpawnSet(NPC, "soga_eye_color", "37 76 88")
  705. SpawnSet(NPC, "hair_type_color", "121 38 35")
  706. SpawnSet(NPC, "soga_hair_type_color", "121 38 35")
  707. SpawnSet(NPC, "hair_face_color", "121 38 35")
  708. SpawnSet(NPC, "soga_hair_face_color", "121 38 35")
  709. SpawnSet(NPC, "hair_type_highlight_color", "233 184 31")
  710. SpawnSet(NPC, "soga_hair_type_highlight_color", "233 184 31")
  711. SpawnSet(NPC, "hair_face_highlight_color", "233 184 31")
  712. SpawnSet(NPC, "soga_hair_face_highlight_color", "233 184 31")
  713. SpawnSet(NPC, "hair_color1", "91 21 51")
  714. SpawnSet(NPC, "soga_hair_color1", "91 21 51")
  715. SpawnSet(NPC, "hair_color2", "159 88 0")
  716. SpawnSet(NPC, "soga_hair_color2", "159 88 0")
  717. SpawnSet(NPC, "hair_highlight", "246 219 114")
  718. SpawnSet(NPC, "soga_hair_highlight", "246 219 114")
  719. elseif overall_look == 5 then -- Light chestnut
  720. SpawnSet(NPC, "skin_color", "245 249 245")
  721. SpawnSet(NPC, "soga_skin_color", "245 249 245")
  722. SpawnSet(NPC, "eye_color", "43 70 43")
  723. SpawnSet(NPC, "soga_eye_color", "43 70 43")
  724. SpawnSet(NPC, "hair_type_color", "37 22 5")
  725. SpawnSet(NPC, "soga_hair_type_color", "37 22 5")
  726. SpawnSet(NPC, "hair_face_color", "37 22 5")
  727. SpawnSet(NPC, "soga_hair_face_color", "37 22 5")
  728. SpawnSet(NPC, "hair_type_highlight_color", "121 38 35")
  729. SpawnSet(NPC, "soga_hair_type_highlight_color", "121 38 35")
  730. SpawnSet(NPC, "hair_face_highlight_color", "121 38 35")
  731. SpawnSet(NPC, "soga_hair_face_highlight_color", "121 38 35")
  732. SpawnSet(NPC, "hair_color1", "79 28 15")
  733. SpawnSet(NPC, "soga_hair_color1", "79 28 15")
  734. SpawnSet(NPC, "hair_color2", "111 64 0")
  735. SpawnSet(NPC, "soga_hair_color2", "111 64 0")
  736. SpawnSet(NPC, "hair_highlight", "91 21 51")
  737. SpawnSet(NPC, "soga_hair_highlight", "91 21 51")
  738. elseif overall_look == 6 then -- Chestnut
  739. SpawnSet(NPC, "skin_color", "241 245 221")
  740. SpawnSet(NPC, "soga_skin_color", "241 245 221")
  741. SpawnSet(NPC, "eye_color", "102 154 140")
  742. SpawnSet(NPC, "soga_eye_color", "102 154 140")
  743. SpawnSet(NPC, "hair_type_color", "0 0 0")
  744. SpawnSet(NPC, "soga_hair_type_color", "0 0 0")
  745. SpawnSet(NPC, "hair_face_color", "0 0 0")
  746. SpawnSet(NPC, "soga_hair_face_color", "0 0 0")
  747. SpawnSet(NPC, "hair_type_highlight_color", "15 1 21")
  748. SpawnSet(NPC, "soga_hair_type_highlight_color", "15 1 21")
  749. SpawnSet(NPC, "hair_face_highlight_color", "15 1 21")
  750. SpawnSet(NPC, "soga_hair_face_highlight_color", "15 1 21")
  751. SpawnSet(NPC, "hair_color1", "38 22 21")
  752. SpawnSet(NPC, "soga_hair_color1", "38 22 21")
  753. SpawnSet(NPC, "hair_color2", "120 50 0")
  754. SpawnSet(NPC, "soga_hair_color2", "120 50 0")
  755. SpawnSet(NPC, "hair_highlight", "29 21 28")
  756. SpawnSet(NPC, "soga_hair_highlight", "29 21 28")
  757. elseif overall_look == 7 then -- Chestnut and brown skin
  758. SpawnSet(NPC, "skin_color", "46 35 12")
  759. SpawnSet(NPC, "soga_skin_color", "46 35 12")
  760. SpawnSet(NPC, "eye_color", "105 85 44")
  761. SpawnSet(NPC, "soga_eye_color", "105 85 44")
  762. SpawnSet(NPC, "hair_type_color", "40 20 7")
  763. SpawnSet(NPC, "soga_hair_type_color", "40 20 7")
  764. SpawnSet(NPC, "hair_face_color", "40 20 7")
  765. SpawnSet(NPC, "soga_hair_face_color", "40 20 7")
  766. SpawnSet(NPC, "hair_type_highlight_color", "47 42 59")
  767. SpawnSet(NPC, "soga_hair_type_highlight_color", "47 42 59")
  768. SpawnSet(NPC, "hair_face_highlight_color", "47 42 59")
  769. SpawnSet(NPC, "soga_hair_face_highlight_color", "47 42 59")
  770. elseif overall_look == 8 then -- Dark brown
  771. SpawnSet(NPC, "skin_color", "176 156 105")
  772. SpawnSet(NPC, "soga_skin_color", "176 156 105")
  773. SpawnSet(NPC, "eye_color", "67 132 116")
  774. SpawnSet(NPC, "soga_eye_color", "67 132 116")
  775. SpawnSet(NPC, "hair_type_color", "33 24 12")
  776. SpawnSet(NPC, "soga_hair_type_color", "33 24 12")
  777. SpawnSet(NPC, "hair_face_color", "33 24 12")
  778. SpawnSet(NPC, "soga_hair_face_color", "33 24 12")
  779. SpawnSet(NPC, "hair_type_highlight_color", "11 6 1")
  780. SpawnSet(NPC, "soga_hair_type_highlight_color", "11 6 1")
  781. SpawnSet(NPC, "hair_face_highlight_color", "11 6 1")
  782. SpawnSet(NPC, "soga_hair_face_highlight_color", "11 6 1")
  783. elseif overall_look == 9 then -- Dark brown and brown skin
  784. SpawnSet(NPC, "skin_color", "46 35 12")
  785. SpawnSet(NPC, "soga_skin_color", "46 35 12")
  786. SpawnSet(NPC, "eye_color", "105 85 44")
  787. SpawnSet(NPC, "soga_eye_color", "105 85 44")
  788. SpawnSet(NPC, "hair_type_color", "33 24 12")
  789. SpawnSet(NPC, "soga_hair_type_color", "33 24 12")
  790. SpawnSet(NPC, "hair_face_color", "33 24 12")
  791. SpawnSet(NPC, "soga_hair_face_color", "33 24 12")
  792. SpawnSet(NPC, "hair_type_highlight_color", "11 6 1")
  793. SpawnSet(NPC, "soga_hair_type_highlight_color", "11 6 1")
  794. SpawnSet(NPC, "hair_face_highlight_color", "11 6 1")
  795. SpawnSet(NPC, "soga_hair_face_highlight_color", "11 6 1")
  796. elseif overall_look == 10 then -- Lige grey towards white
  797. SpawnSet(NPC, "skin_color", "181 132 94")
  798. SpawnSet(NPC, "soga_skin_color", "181 132 94")
  799. SpawnSet(NPC, "eye_color", "31 68 69")
  800. SpawnSet(NPC, "soga_eye_color", "31 68 69")
  801. SpawnSet(NPC, "hair_type_color", "213 209 159")
  802. SpawnSet(NPC, "soga_hair_type_color", "213 209 159")
  803. SpawnSet(NPC, "hair_face_color", "213 209 159")
  804. SpawnSet(NPC, "soga_hair_face_color", "213 209 159")
  805. SpawnSet(NPC, "hair_type_highlight_color", "56 40 19")
  806. SpawnSet(NPC, "soga_hair_type_highlight_color", "56 40 19")
  807. SpawnSet(NPC, "hair_face_highlight_color", "56 40 19")
  808. SpawnSet(NPC, "soga_hair_face_highlight_color", "56 40 19")
  809. elseif overall_look == 11 then -- Dark grey
  810. SpawnSet(NPC, "skin_color", "186 191 170")
  811. SpawnSet(NPC, "soga_skin_color", "186 191 170")
  812. SpawnSet(NPC, "eye_color", "38 77 88")
  813. SpawnSet(NPC, "soga_eye_color", "38 77 88")
  814. SpawnSet(NPC, "hair_type_color", "59 58 73")
  815. SpawnSet(NPC, "soga_hair_type_color", "59 58 73")
  816. SpawnSet(NPC, "hair_face_color", "59 58 73")
  817. SpawnSet(NPC, "soga_hair_face_color", "59 58 73")
  818. SpawnSet(NPC, "hair_type_highlight_color", "119 147 147")
  819. SpawnSet(NPC, "soga_hair_type_highlight_color", "119 147 147")
  820. SpawnSet(NPC, "hair_face_highlight_color", "119 147 147")
  821. SpawnSet(NPC, "soga_hair_face_highlight_color", "119 147 147")
  822. SpawnSet(NPC, "hair_color1", "43 36 70")
  823. SpawnSet(NPC, "soga_hair_color1", "43 36 70")
  824. SpawnSet(NPC, "hair_color2", "64 76 74")
  825. SpawnSet(NPC, "soga_hair_color2", "64 76 74")
  826. SpawnSet(NPC, "hair_highlight", "114 112 142")
  827. SpawnSet(NPC, "soga_hair_highlight", "114 112 142")
  828. elseif overall_look == 12 then -- Dark grey and brown skin
  829. SpawnSet(NPC, "skin_color", "46 35 12")
  830. SpawnSet(NPC, "soga_skin_color", "46 35 12")
  831. SpawnSet(NPC, "eye_color", "105 85 44")
  832. SpawnSet(NPC, "soga_eye_color", "105 85 44")
  833. SpawnSet(NPC, "hair_type_color", "59 58 73")
  834. SpawnSet(NPC, "soga_hair_type_color", "59 58 73")
  835. SpawnSet(NPC, "hair_face_color", "59 58 73")
  836. SpawnSet(NPC, "soga_hair_face_color", "59 58 73")
  837. SpawnSet(NPC, "hair_type_highlight_color", "119 147 147")
  838. SpawnSet(NPC, "soga_hair_type_highlight_color", "119 147 147")
  839. SpawnSet(NPC, "hair_face_highlight_color", "119 147 147")
  840. SpawnSet(NPC, "soga_hair_face_highlight_color", "119 147 147")
  841. SpawnSet(NPC, "hair_color1", "43 36 70")
  842. SpawnSet(NPC, "soga_hair_color1", "43 36 70")
  843. SpawnSet(NPC, "hair_color2", "64 76 74")
  844. SpawnSet(NPC, "soga_hair_color2", "64 76 74")
  845. SpawnSet(NPC, "hair_highlight", "114 112 142")
  846. SpawnSet(NPC, "soga_hair_highlight", "114 112 142")
  847. elseif overall_look == 13 then -- Black with white highlights
  848. SpawnSet(NPC, "skin_color", "179 188 188")
  849. SpawnSet(NPC, "soga_skin_color", "179 188 188")
  850. SpawnSet(NPC, "eye_color", "105 165 179")
  851. SpawnSet(NPC, "soga_eye_color", "105 165 179")
  852. SpawnSet(NPC, "hair_type_color", "15 1 21")
  853. SpawnSet(NPC, "soga_hair_type_color", "15 1 21")
  854. SpawnSet(NPC, "hair_face_color", "15 1 21")
  855. SpawnSet(NPC, "soga_hair_face_color", "15 1 21")
  856. SpawnSet(NPC, "hair_type_highlight_color", "211 220 220")
  857. SpawnSet(NPC, "soga_hair_type_highlight_color", "211 220 220")
  858. SpawnSet(NPC, "hair_face_highlight_color", "211 220 220")
  859. SpawnSet(NPC, "soga_hair_face_highlight_color", "211 220 220")
  860. SpawnSet(NPC, "hair_color1", "29 21 28")
  861. SpawnSet(NPC, "soga_hair_color1", "29 21 28")
  862. SpawnSet(NPC, "hair_color2", "39 32 39")
  863. SpawnSet(NPC, "soga_hair_color2", "39 32 39")
  864. SpawnSet(NPC, "hair_highlight", "161 165 168")
  865. SpawnSet(NPC, "soga_hair_highlight", "161 165 168")
  866. else -- Light black
  867. SpawnSet(NPC, "skin_color", "176 156 105")
  868. SpawnSet(NPC, "soga_skin_color", "176 156 105")
  869. SpawnSet(NPC, "eye_color", "67 132 116")
  870. SpawnSet(NPC, "soga_eye_color", "67 132 116")
  871. SpawnSet(NPC, "hair_type_color", "39 50 50")
  872. SpawnSet(NPC, "soga_hair_type_color", "39 50 50")
  873. SpawnSet(NPC, "hair_face_color", "39 50 50")
  874. SpawnSet(NPC, "soga_hair_face_color", "39 50 50")
  875. SpawnSet(NPC, "hair_type_highlight_color", "18 11 0")
  876. SpawnSet(NPC, "soga_hair_type_highlight_color", "18 11 0")
  877. SpawnSet(NPC, "hair_face_highlight_color", "18 11 0")
  878. SpawnSet(NPC, "soga_hair_face_highlight_color", "18 11 0")
  879. end
  880. end