aQeynoscitizen.lua 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/aQeynoscitizen.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(3,4)
  10. if model == 1 then
  11. SetModelType(NPC, "111") -- barbarian female
  12. SpawnSet(NPC, "soga_model_type", "111")
  13. SpawnSet(NPC, "chest_type", "5457")
  14. SpawnSet(NPC, "legs_type", "5458")
  15. BarbarianCosmetics(NPC)
  16. elseif model == 2 then
  17. SetModelType(NPC, "112") -- barbarian male
  18. SpawnSet(NPC, "soga_model_type", "112")
  19. SpawnSet(NPC, "chest_type", "5461")
  20. SpawnSet(NPC, "legs_type", "5462")
  21. BarbarianCosmetics(NPC)
  22. elseif model == 3 then
  23. SetModelType(NPC, "109") -- dwarf female
  24. SpawnSet(NPC, "soga_model_type", "109")
  25. SpawnSet(NPC, "chest_type", "5473")
  26. SpawnSet(NPC, "legs_type", "5474")
  27. DwarfCosmetics(NPC)
  28. elseif model == 4 then
  29. SetModelType(NPC, "110") -- dwarf male
  30. SpawnSet(NPC, "soga_model_type", "110")
  31. SpawnSet(NPC, "chest_type", "5477")
  32. SpawnSet(NPC, "legs_type", "5478")
  33. DwarfCosmetics(NPC)
  34. elseif model == 5 then
  35. SetModelType(NPC, "121") -- gnome male
  36. SpawnSet(NPC, "soga_model_type", "121")
  37. SpawnSet(NPC, "chest_type", "5501")
  38. SpawnSet(NPC, "legs_type", "5502")
  39. GnomeCosmetics(NPC)
  40. else
  41. SetModelType(NPC, "122") -- gnome female
  42. SpawnSet(NPC, "soga_model_type", "122")
  43. SpawnSet(NPC, "chest_type", "5497")
  44. SpawnSet(NPC, "legs_type", "5498")
  45. GnomeCosmetics(NPC)
  46. end
  47. end
  48. function hailed(NPC, Spawn)
  49. FaceTarget(NPC, Spawn)
  50. end
  51. function respawn(NPC)
  52. spawn(NPC)
  53. end
  54. function BarbarianCosmetics(NPC)
  55. local Type = GetModelType(NPC)
  56. local hair = 0
  57. if Type == 111 then
  58. hair = MakeRandomInt(1136,1140) -- 1125, 1127, 1128, 1133
  59. SpawnSet(NPC, "hair_type", hair)
  60. SpawnSet(NPC, "soga_hair_type", hair)
  61. else
  62. hair = MakeRandomInt(1133,1140) -- 1126, 1133, 1135, 1136
  63. SpawnSet(NPC, "hair_type", hair)
  64. SpawnSet(NPC, "soga_hair_type", hair)
  65. end
  66. local beard = MakeRandomInt(1185,1189) -- 1184, 1185, 1186, 1188, 1189
  67. local beard_chance = MakeRandomInt(1,100)
  68. if beard_chance < 11 then
  69. SpawnSet(NPC, "facial_hair_type", "0")
  70. SpawnSet(NPC, "soga_facial_hair_type", "0")
  71. else
  72. SpawnSet(NPC, "facial_hair_type", beard)
  73. SpawnSet(NPC, "soga_facial_hair_type", beard)
  74. end
  75. local overall_look = MakeRandomInt(14,14)
  76. if overall_look == 1 then -- Brown golden highlights
  77. SpawnSet(NPC, "skin_color", "165 111 103")
  78. SpawnSet(NPC, "soga_skin_color", "165 111 103")
  79. SpawnSet(NPC, "eye_color", "49 101 117")
  80. SpawnSet(NPC, "soga_eye_color", "49 101 117")
  81. SpawnSet(NPC, "hair_type_color", "40 19 9")
  82. SpawnSet(NPC, "soga_hair_type_color", "40 19 9")
  83. SpawnSet(NPC, "hair_face_color", "40 19 9")
  84. SpawnSet(NPC, "soga_hair_face_color", "40 19 9")
  85. SpawnSet(NPC, "hair_type_highlight_color", "119 147 147")
  86. SpawnSet(NPC, "soga_hair_type_highlight_color", "119 147 147")
  87. SpawnSet(NPC, "hair_face_highlight_color", "119 147 147")
  88. SpawnSet(NPC, "soga_hair_face_highlight_color", "119 147 147")
  89. SpawnSet(NPC, "hair_color1", "79 28 15")
  90. SpawnSet(NPC, "soga_hair_color1", "79 28 15")
  91. SpawnSet(NPC, "hair_color2", "111 64 0")
  92. SpawnSet(NPC, "soga_hair_color2", "111 64 0")
  93. SpawnSet(NPC, "hair_highlight", "114 112 142")
  94. SpawnSet(NPC, "soga_hair_highlight", "114 112 142")
  95. elseif overall_look == 2 then -- Yellow bright
  96. SpawnSet(NPC, "skin_color", "121 94 57")
  97. SpawnSet(NPC, "soga_skin_color", "121 94 57")
  98. SpawnSet(NPC, "eye_color", "136 184 199")
  99. SpawnSet(NPC, "soga_eye_color", "136 184 199")
  100. SpawnSet(NPC, "hair_type_color", "225 181 22")
  101. SpawnSet(NPC, "soga_hair_type_color", "225 181 22")
  102. SpawnSet(NPC, "hair_face_color", "225 181 22")
  103. SpawnSet(NPC, "soga_hair_face_color", "225 181 22")
  104. SpawnSet(NPC, "hair_type_highlight_color", "184 128 10")
  105. SpawnSet(NPC, "soga_hair_type_highlight_color", "184 128 10")
  106. SpawnSet(NPC, "hair_face_highlight_color", "184 128 10")
  107. SpawnSet(NPC, "soga_hair_face_highlight_color", "184 128 10")
  108. SpawnSet(NPC, "hair_color1", "239 221 86")
  109. SpawnSet(NPC, "soga_hair_color1", "239 221 86")
  110. SpawnSet(NPC, "hair_color2", "99 53 22")
  111. SpawnSet(NPC, "soga_hair_color2", "99 53 22")
  112. SpawnSet(NPC, "hair_highlight", "209 131 22")
  113. SpawnSet(NPC, "soga_hair_highlight", "209 131 22")
  114. elseif overall_look == 3 then -- Chestnut
  115. SpawnSet(NPC, "skin_color", "255 255 255")
  116. SpawnSet(NPC, "soga_skin_color", "255 255 255")
  117. SpawnSet(NPC, "eye_color", "102 154 140")
  118. SpawnSet(NPC, "soga_eye_color", "102 154 140")
  119. SpawnSet(NPC, "hair_type_color", "0 0 0")
  120. SpawnSet(NPC, "soga_hair_type_color", "0 0 0")
  121. SpawnSet(NPC, "hair_face_color", "0 0 0")
  122. SpawnSet(NPC, "soga_hair_face_color", "0 0 0")
  123. SpawnSet(NPC, "hair_type_highlight_color", "15 1 21")
  124. SpawnSet(NPC, "soga_hair_type_highlight_color", "15 1 21")
  125. SpawnSet(NPC, "hair_face_highlight_color", "15 1 21")
  126. SpawnSet(NPC, "soga_hair_face_highlight_color", "15 1 21")
  127. SpawnSet(NPC, "hair_color1", "38 22 21")
  128. SpawnSet(NPC, "soga_hair_color1", "38 22 21")
  129. SpawnSet(NPC, "hair_color2", "120 50 0")
  130. SpawnSet(NPC, "soga_hair_color2", "120 50 0")
  131. SpawnSet(NPC, "hair_highlight", "29 21 28")
  132. SpawnSet(NPC, "soga_hair_highlight", "29 21 28")
  133. elseif overall_look == 4 then -- Yellow bright
  134. SpawnSet(NPC, "skin_color", "121 94 57")
  135. SpawnSet(NPC, "soga_skin_color", "121 94 57")
  136. SpawnSet(NPC, "eye_color", "61 104 65")
  137. SpawnSet(NPC, "soga_eye_color", "61 104 65")
  138. SpawnSet(NPC, "hair_type_color", "233 184 31")
  139. SpawnSet(NPC, "soga_hair_type_color", "233 184 31")
  140. SpawnSet(NPC, "hair_face_color", "233 184 31")
  141. SpawnSet(NPC, "soga_hair_face_color", "233 184 31")
  142. SpawnSet(NPC, "hair_type_highlight_color", "19 6 25")
  143. SpawnSet(NPC, "soga_hair_type_highlight_color", "19 6 25")
  144. SpawnSet(NPC, "hair_face_highlight_color", "19 6 25")
  145. SpawnSet(NPC, "soga_hair_face_highlight_color", "19 6 25")
  146. SpawnSet(NPC, "hair_color1", "246 219 114")
  147. SpawnSet(NPC, "soga_hair_color1", "246 219 114")
  148. SpawnSet(NPC, "hair_color2", "187 136 62")
  149. SpawnSet(NPC, "soga_hair_color2", "187 136 62")
  150. SpawnSet(NPC, "hair_highlight", "29 21 28")
  151. SpawnSet(NPC, "soga_hair_highlight", "29 21 28")
  152. elseif overall_look == 5 then -- White grey shine
  153. SpawnSet(NPC, "skin_color", "229 215 216")
  154. SpawnSet(NPC, "soga_skin_color", "229 215 216")
  155. SpawnSet(NPC, "eye_color", "47 95 110")
  156. SpawnSet(NPC, "soga_eye_color", "47 95 110")
  157. SpawnSet(NPC, "hair_type_color", "119 147 147")
  158. SpawnSet(NPC, "soga_hair_type_color", "119 147 147")
  159. SpawnSet(NPC, "hair_face_color", "119 147 147")
  160. SpawnSet(NPC, "soga_hair_face_color", "119 147 147")
  161. SpawnSet(NPC, "hair_type_highlight_color", "193 100 45")
  162. SpawnSet(NPC, "soga_hair_type_highlight_color", "193 100 45")
  163. SpawnSet(NPC, "hair_face_highlight_color", "193 100 45")
  164. SpawnSet(NPC, "soga_hair_face_highlight_color", "193 100 45")
  165. SpawnSet(NPC, "hair_color1", "114 112 142")
  166. SpawnSet(NPC, "soga_hair_color1", "114 112 142")
  167. SpawnSet(NPC, "hair_color2", "152 138 129")
  168. SpawnSet(NPC, "soga_hair_color2", "152 138 129")
  169. SpawnSet(NPC, "hair_highlight", "105 26 26")
  170. SpawnSet(NPC, "soga_hair_highlight", "105 26 26")
  171. elseif overall_look == 6 then -- Brown golden highlights
  172. SpawnSet(NPC, "skin_color", "229 215 216")
  173. SpawnSet(NPC, "soga_skin_color", "229 215 216")
  174. SpawnSet(NPC, "eye_color", "105 85 44")
  175. SpawnSet(NPC, "soga_eye_color", "105 85 44")
  176. SpawnSet(NPC, "hair_type_color", "37 22 5")
  177. SpawnSet(NPC, "soga_hair_type_color", "37 22 5")
  178. SpawnSet(NPC, "hair_face_color", "37 22 5")
  179. SpawnSet(NPC, "soga_hair_face_color", "37 22 5")
  180. SpawnSet(NPC, "hair_type_highlight_color", "27 15 35")
  181. SpawnSet(NPC, "soga_hair_type_highlight_color", "27 15 35")
  182. SpawnSet(NPC, "hair_face_highlight_color", "27 15 35")
  183. SpawnSet(NPC, "soga_hair_face_highlight_color", "27 15 35")
  184. SpawnSet(NPC, "hair_color1", "79 28 15")
  185. SpawnSet(NPC, "soga_hair_color1", "79 28 15")
  186. SpawnSet(NPC, "hair_color2", "111 64 0")
  187. SpawnSet(NPC, "soga_hair_color2", "111 64 0")
  188. SpawnSet(NPC, "hair_highlight", "29 21 28")
  189. SpawnSet(NPC, "soga_hair_highlight", "29 21 28")
  190. elseif overall_look == 7 then -- Orange light golden high lights
  191. SpawnSet(NPC, "skin_color", "229 215 216")
  192. SpawnSet(NPC, "soga_skin_color", "229 215 216")
  193. SpawnSet(NPC, "eye_color", "61 123 140")
  194. SpawnSet(NPC, "soga_eye_color", "61 123 140")
  195. SpawnSet(NPC, "hair_type_color", "173 66 27")
  196. SpawnSet(NPC, "soga_hair_type_color", "173 66 27")
  197. SpawnSet(NPC, "hair_face_color", "173 66 27")
  198. SpawnSet(NPC, "soga_hair_face_color", "173 66 27")
  199. SpawnSet(NPC, "hair_type_highlight_color", "83 58 8")
  200. SpawnSet(NPC, "soga_hair_type_highlight_color", "83 58 8")
  201. SpawnSet(NPC, "hair_face_highlight_color", "83 58 8")
  202. SpawnSet(NPC, "soga_hair_face_highlight_color", "83 58 8")
  203. SpawnSet(NPC, "hair_color1", "89 21 21")
  204. SpawnSet(NPC, "soga_hair_color1", "89 21 21")
  205. SpawnSet(NPC, "hair_color2", "171 87 0")
  206. SpawnSet(NPC, "soga_hair_color2", "171 87 0")
  207. SpawnSet(NPC, "hair_highlight", "56 33 26")
  208. SpawnSet(NPC, "soga_hair_highlight", "56 33 26")
  209. elseif overall_look == 8 then -- Orange light golden high lights
  210. SpawnSet(NPC, "skin_color", "161 140 92")
  211. SpawnSet(NPC, "soga_skin_color", "161 140 92")
  212. SpawnSet(NPC, "eye_color", "126 179 189")
  213. SpawnSet(NPC, "soga_eye_color", "126 179 189")
  214. SpawnSet(NPC, "hair_type_color", "168 59 22")
  215. SpawnSet(NPC, "soga_hair_type_color", "168 59 22")
  216. SpawnSet(NPC, "hair_face_color", "168 59 22")
  217. SpawnSet(NPC, "soga_hair_face_color", "168 59 22")
  218. SpawnSet(NPC, "hair_type_highlight_color", "84 0 0")
  219. SpawnSet(NPC, "soga_hair_type_highlight_color", "84 0 0")
  220. SpawnSet(NPC, "hair_face_highlight_color", "84 0 0")
  221. SpawnSet(NPC, "soga_hair_face_highlight_color", "84 0 0")
  222. SpawnSet(NPC, "hair_color1", "89 21 21")
  223. SpawnSet(NPC, "soga_hair_color1", "89 21 21")
  224. SpawnSet(NPC, "hair_color2", "171 87 0")
  225. SpawnSet(NPC, "soga_hair_color2", "171 87 0")
  226. SpawnSet(NPC, "hair_highlight", "109 14 49")
  227. SpawnSet(NPC, "soga_hair_highlight", "109 14 49")
  228. elseif overall_look == 9 then -- Yellow bright
  229. SpawnSet(NPC, "skin_color", "155 156 156")
  230. SpawnSet(NPC, "soga_skin_color", "155 156 156")
  231. SpawnSet(NPC, "eye_color", "49 100 115")
  232. SpawnSet(NPC, "soga_eye_color", "49 100 115")
  233. SpawnSet(NPC, "hair_type_color", "228 182 25")
  234. SpawnSet(NPC, "soga_hair_type_color", "228 182 25")
  235. SpawnSet(NPC, "hair_face_color", "228 182 25")
  236. SpawnSet(NPC, "soga_hair_face_color", "228 182 25")
  237. SpawnSet(NPC, "hair_type_highlight_color", "170 63 24")
  238. SpawnSet(NPC, "soga_hair_type_highlight_color", "170 63 24")
  239. SpawnSet(NPC, "hair_face_highlight_color", "170 63 24")
  240. SpawnSet(NPC, "soga_hair_face_highlight_color", "170 63 24")
  241. SpawnSet(NPC, "hair_color1", "246 219 114")
  242. SpawnSet(NPC, "soga_hair_color1", "246 219 114")
  243. SpawnSet(NPC, "hair_color2", "187 136 62")
  244. SpawnSet(NPC, "soga_hair_color2", "187 136 62")
  245. SpawnSet(NPC, "hair_highlight", "89 21 21")
  246. SpawnSet(NPC, "soga_hair_highlight", "89 21 21")
  247. elseif overall_look == 10 then -- Brown golden highlights
  248. SpawnSet(NPC, "skin_color", "242 252 252")
  249. SpawnSet(NPC, "soga_skin_color", "242 252 252")
  250. SpawnSet(NPC, "eye_color", "94 159 177")
  251. SpawnSet(NPC, "soga_eye_color", "94 159 177")
  252. SpawnSet(NPC, "hair_type_color", "35 24 1")
  253. SpawnSet(NPC, "soga_hair_type_color", "35 24 1")
  254. SpawnSet(NPC, "hair_face_color", "35 24 1")
  255. SpawnSet(NPC, "soga_hair_face_color", "35 24 1")
  256. SpawnSet(NPC, "hair_type_highlight_color", "100 70 10")
  257. SpawnSet(NPC, "soga_hair_type_highlight_color", "100 70 10")
  258. SpawnSet(NPC, "hair_face_highlight_color", "100 70 10")
  259. SpawnSet(NPC, "soga_hair_face_highlight_color", "100 70 10")
  260. SpawnSet(NPC, "hair_color1", "79 28 15")
  261. SpawnSet(NPC, "soga_hair_color1", "79 28 15")
  262. SpawnSet(NPC, "hair_color2", "111 64 0")
  263. SpawnSet(NPC, "soga_hair_color2", "111 64 0")
  264. SpawnSet(NPC, "hair_highlight", "56 33 26")
  265. SpawnSet(NPC, "soga_hair_highlight", "56 33 26")
  266. elseif overall_look == 11 then -- Yellow bright light
  267. SpawnSet(NPC, "skin_color", "240 204 208")
  268. SpawnSet(NPC, "soga_skin_color", "240 204 208")
  269. SpawnSet(NPC, "eye_color", "121 176 189")
  270. SpawnSet(NPC, "soga_eye_color", "121 176 189")
  271. SpawnSet(NPC, "hair_type_color", "229 182 26")
  272. SpawnSet(NPC, "soga_hair_type_color", "229 182 26")
  273. SpawnSet(NPC, "hair_face_color", "229 182 26")
  274. SpawnSet(NPC, "soga_hair_face_color", "229 182 26")
  275. SpawnSet(NPC, "hair_type_highlight_color", "244 246 246")
  276. SpawnSet(NPC, "soga_hair_type_highlight_color", "244 246 246")
  277. SpawnSet(NPC, "hair_face_highlight_color", "244 246 246")
  278. SpawnSet(NPC, "soga_hair_face_highlight_color", "244 246 246")
  279. SpawnSet(NPC, "hair_color1", "246 219 114")
  280. SpawnSet(NPC, "soga_hair_color1", "246 219 114")
  281. SpawnSet(NPC, "hair_color2", "187 136 62")
  282. SpawnSet(NPC, "soga_hair_color2", "187 136 62")
  283. SpawnSet(NPC, "hair_highlight", "161 165 168")
  284. SpawnSet(NPC, "soga_hair_highlight", "161 165 168")
  285. elseif overall_look == 12 then -- Yellow bright
  286. SpawnSet(NPC, "skin_color", "224 204 159")
  287. SpawnSet(NPC, "soga_skin_color", "224 204 159")
  288. SpawnSet(NPC, "eye_color", "43 69 43")
  289. SpawnSet(NPC, "soga_eye_color", "43 69 43")
  290. SpawnSet(NPC, "hair_type_color", "201 142 16")
  291. SpawnSet(NPC, "soga_hair_type_color", "201 142 16")
  292. SpawnSet(NPC, "hair_face_color", "201 142 16")
  293. SpawnSet(NPC, "soga_hair_face_color", "201 142 16")
  294. SpawnSet(NPC, "hair_type_highlight_color", "48 32 3")
  295. SpawnSet(NPC, "soga_hair_type_highlight_color", "48 32 3")
  296. SpawnSet(NPC, "hair_face_highlight_color", "48 32 3")
  297. SpawnSet(NPC, "soga_hair_face_highlight_color", "48 32 3")
  298. SpawnSet(NPC, "hair_color1", "209 131 22")
  299. SpawnSet(NPC, "soga_hair_color1", "209 131 22")
  300. SpawnSet(NPC, "hair_color2", "199 150 48")
  301. SpawnSet(NPC, "soga_hair_color2", "199 150 48")
  302. SpawnSet(NPC, "hair_highlight", "79 28 15")
  303. SpawnSet(NPC, "soga_hair_highlight", "79 28 15")
  304. elseif overall_look == 13 then -- Orange light yellow stripes
  305. SpawnSet(NPC, "skin_color", "105 105 105")
  306. SpawnSet(NPC, "soga_skin_color", "105 105 105")
  307. SpawnSet(NPC, "eye_color", "29 59 47")
  308. SpawnSet(NPC, "soga_eye_color", "29 59 47")
  309. SpawnSet(NPC, "hair_type_color", "100 70 10")
  310. SpawnSet(NPC, "soga_hair_type_color", "100 70 10")
  311. SpawnSet(NPC, "hair_face_color", "100 70 10")
  312. SpawnSet(NPC, "soga_hair_face_color", "100 70 10")
  313. SpawnSet(NPC, "hair_type_highlight_color", "244 246 246")
  314. SpawnSet(NPC, "soga_hair_type_highlight_color", "244 246 246")
  315. SpawnSet(NPC, "hair_face_highlight_color", "244 246 246")
  316. SpawnSet(NPC, "soga_hair_face_highlight_color", "244 246 246")
  317. SpawnSet(NPC, "hair_color1", "56 33 26")
  318. SpawnSet(NPC, "soga_hair_color1", "56 33 26")
  319. SpawnSet(NPC, "hair_color2", "94 59 11")
  320. SpawnSet(NPC, "soga_hair_color2", "94 59 11")
  321. SpawnSet(NPC, "hair_highlight", "161 165 168")
  322. SpawnSet(NPC, "soga_hair_highlight", "161 165 168")
  323. elseif overall_look == 14 then -- Brown dark
  324. SpawnSet(NPC, "skin_color", "101 67 52")
  325. SpawnSet(NPC, "soga_skin_color", "101 67 52")
  326. SpawnSet(NPC, "eye_color", "37 77 88")
  327. SpawnSet(NPC, "soga_eye_color", "37 77 88")
  328. SpawnSet(NPC, "hair_type_color", "18 9 1")
  329. SpawnSet(NPC, "soga_hair_type_color", "18 9 1")
  330. SpawnSet(NPC, "hair_face_color", "18 9 1")
  331. SpawnSet(NPC, "soga_hair_face_color", "18 9 1")
  332. SpawnSet(NPC, "hair_type_highlight_color", "67 28 10")
  333. SpawnSet(NPC, "soga_hair_type_highlight_color", "67 28 10")
  334. SpawnSet(NPC, "hair_face_highlight_color", "67 28 10")
  335. SpawnSet(NPC, "soga_hair_face_highlight_color", "67 28 10")
  336. SpawnSet(NPC, "hair_color1", "0 0 0")
  337. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  338. SpawnSet(NPC, "hair_color2", "0 0 0")
  339. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  340. SpawnSet(NPC, "hair_highlight", "0 0 0")
  341. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  342. end
  343. end
  344. function DwarfCosmetics(NPC)
  345. local Type = GetModelType(NPC)
  346. local hair = 0
  347. if Type == 109 then
  348. hair = MakeRandomInt(1135,1140) -- 1133, 1136, 1137
  349. SpawnSet(NPC, "hair_type", hair)
  350. SpawnSet(NPC, "soga_hair_type", hair)
  351. else
  352. hair = MakeRandomInt(1135,1140) -- 1113, 1133, 1136
  353. SpawnSet(NPC, "hair_type", hair)
  354. SpawnSet(NPC, "soga_hair_type", hair)
  355. end
  356. local beard = MakeRandomInt(1164,1170) -- 1184, 1185, 1187, 1188, 1189, 1190
  357. SpawnSet(NPC, "facial_hair_type", beard)
  358. SpawnSet(NPC, "soga_facial_hair_type", beard)
  359. local overall_look = MakeRandomInt(15,15)
  360. if overall_look == 1 then -- Chestnut golden highlights
  361. SpawnSet(NPC, "skin_color", "227 219 200")
  362. SpawnSet(NPC, "soga_skin_color", "227 219 200")
  363. SpawnSet(NPC, "eye_color", "53 34 13")
  364. SpawnSet(NPC, "soga_eye_color", "53 34 13")
  365. SpawnSet(NPC, "hair_type_color", "24 10 2")
  366. SpawnSet(NPC, "soga_hair_type_color", "24 10 2")
  367. SpawnSet(NPC, "hair_face_color", "24 10 2")
  368. SpawnSet(NPC, "soga_hair_face_color", "24 10 2")
  369. SpawnSet(NPC, "hair_type_highlight_color", "150 88 18")
  370. SpawnSet(NPC, "soga_hair_type_highlight_color", "150 88 18")
  371. SpawnSet(NPC, "hair_face_highlight_color", "150 88 18")
  372. SpawnSet(NPC, "soga_hair_face_highlight_color", "150 88 18")
  373. SpawnSet(NPC, "hair_color1", "0 0 0")
  374. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  375. SpawnSet(NPC, "hair_color2", "0 0 0")
  376. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  377. SpawnSet(NPC, "hair_highlight", "0 0 0")
  378. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  379. elseif overall_look == 2 then -- Red orange
  380. SpawnSet(NPC, "skin_color", "221 180 181")
  381. SpawnSet(NPC, "soga_skin_color", "221 180 181")
  382. SpawnSet(NPC, "eye_color", "110 160 149")
  383. SpawnSet(NPC, "soga_eye_color", "110 160 149")
  384. SpawnSet(NPC, "hair_type_color", "129 44 8")
  385. SpawnSet(NPC, "soga_hair_type_color", "129 44 8")
  386. SpawnSet(NPC, "hair_face_color", "129 44 8")
  387. SpawnSet(NPC, "soga_hair_face_color", "129 44 8")
  388. SpawnSet(NPC, "hair_type_highlight_color", "155 64 24")
  389. SpawnSet(NPC, "soga_hair_type_highlight_color", "155 64 24")
  390. SpawnSet(NPC, "hair_face_highlight_color", "155 64 24")
  391. SpawnSet(NPC, "soga_hair_face_highlight_color", "155 64 24")
  392. SpawnSet(NPC, "hair_color1", "0 0 0")
  393. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  394. SpawnSet(NPC, "hair_color2", "0 0 0")
  395. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  396. SpawnSet(NPC, "hair_highlight", "0 0 0")
  397. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  398. elseif overall_look == 3 then -- Beige light with brown and white stribes
  399. SpawnSet(NPC, "skin_color", "245 248 246")
  400. SpawnSet(NPC, "soga_skin_color", "245 248 246")
  401. SpawnSet(NPC, "eye_color", "131 163 133")
  402. SpawnSet(NPC, "soga_eye_color", "131 163 133")
  403. SpawnSet(NPC, "hair_type_color", "247 239 212")
  404. SpawnSet(NPC, "soga_hair_type_color", "247 239 212")
  405. SpawnSet(NPC, "hair_face_color", "247 239 212")
  406. SpawnSet(NPC, "soga_hair_face_color", "247 239 212")
  407. SpawnSet(NPC, "hair_type_highlight_color", "54 47 3")
  408. SpawnSet(NPC, "soga_hair_type_highlight_color", "54 47 3")
  409. SpawnSet(NPC, "hair_face_highlight_color", "54 47 3")
  410. SpawnSet(NPC, "soga_hair_face_highlight_color", "54 47 3")
  411. SpawnSet(NPC, "hair_color1", "0 0 0")
  412. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  413. SpawnSet(NPC, "hair_color2", "0 0 0")
  414. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  415. SpawnSet(NPC, "hair_highlight", "0 0 0")
  416. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  417. elseif overall_look == 4 then -- Orange
  418. SpawnSet(NPC, "skin_color", "201 155 130")
  419. SpawnSet(NPC, "soga_skin_color", "201 155 130")
  420. SpawnSet(NPC, "eye_color", "38 75 60")
  421. SpawnSet(NPC, "soga_eye_color", "38 75 60")
  422. SpawnSet(NPC, "hair_type_color", "146 60 12")
  423. SpawnSet(NPC, "soga_hair_type_color", "146 60 12")
  424. SpawnSet(NPC, "hair_face_color", "146 60 12")
  425. SpawnSet(NPC, "soga_hair_face_color", "146 60 12")
  426. SpawnSet(NPC, "hair_type_highlight_color", "45 21 5")
  427. SpawnSet(NPC, "soga_hair_type_highlight_color", "45 21 5")
  428. SpawnSet(NPC, "hair_face_highlight_color", "45 21 5")
  429. SpawnSet(NPC, "soga_hair_face_highlight_color", "45 21 5")
  430. SpawnSet(NPC, "hair_color1", "0 0 0")
  431. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  432. SpawnSet(NPC, "hair_color2", "0 0 0")
  433. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  434. SpawnSet(NPC, "hair_highlight", "0 0 0")
  435. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  436. elseif overall_look == 5 then -- Red orange
  437. SpawnSet(NPC, "skin_color", "196 146 123")
  438. SpawnSet(NPC, "soga_skin_color", "196 146 123")
  439. SpawnSet(NPC, "eye_color", "121 176 192")
  440. SpawnSet(NPC, "soga_eye_color", "121 176 192")
  441. SpawnSet(NPC, "hair_type_color", "119 43 9")
  442. SpawnSet(NPC, "soga_hair_type_color", "119 43 9")
  443. SpawnSet(NPC, "hair_face_color", "119 43 9")
  444. SpawnSet(NPC, "soga_hair_face_color", "119 43 9")
  445. SpawnSet(NPC, "hair_type_highlight_color", "66 28 9")
  446. SpawnSet(NPC, "soga_hair_type_highlight_color", "66 28 9")
  447. SpawnSet(NPC, "hair_face_highlight_color", "66 28 9")
  448. SpawnSet(NPC, "soga_hair_face_highlight_color", "66 28 9")
  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 == 6 then -- Brown light
  456. SpawnSet(NPC, "skin_color", "241 210 210")
  457. SpawnSet(NPC, "soga_skin_color", "241 210 210")
  458. SpawnSet(NPC, "eye_color", "99 161 170")
  459. SpawnSet(NPC, "soga_eye_color", "99 161 170")
  460. SpawnSet(NPC, "hair_type_color", "99 79 32")
  461. SpawnSet(NPC, "soga_hair_type_color", "99 79 32")
  462. SpawnSet(NPC, "hair_face_color", "99 79 32")
  463. SpawnSet(NPC, "soga_hair_face_color", "99 79 32")
  464. SpawnSet(NPC, "hair_type_highlight_color", "39 37 18")
  465. SpawnSet(NPC, "soga_hair_type_highlight_color", "39 37 18")
  466. SpawnSet(NPC, "hair_face_highlight_color", "39 37 18")
  467. SpawnSet(NPC, "soga_hair_face_highlight_color", "39 37 18")
  468. SpawnSet(NPC, "hair_color1", "0 0 0")
  469. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  470. SpawnSet(NPC, "hair_color2", "0 0 0")
  471. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  472. SpawnSet(NPC, "hair_highlight", "0 0 0")
  473. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  474. elseif overall_look == 7 then -- Grey dark beige
  475. SpawnSet(NPC, "skin_color", "219 228 220")
  476. SpawnSet(NPC, "soga_skin_color", "219 228 220")
  477. SpawnSet(NPC, "eye_color", "32 67 73")
  478. SpawnSet(NPC, "soga_eye_color", "32 67 73")
  479. SpawnSet(NPC, "hair_type_color", "126 126 125")
  480. SpawnSet(NPC, "soga_hair_type_color", "126 126 125")
  481. SpawnSet(NPC, "hair_face_color", "126 126 125")
  482. SpawnSet(NPC, "soga_hair_face_color", "126 126 125")
  483. SpawnSet(NPC, "hair_type_highlight_color", "90 89 88")
  484. SpawnSet(NPC, "soga_hair_type_highlight_color", "90 89 88")
  485. SpawnSet(NPC, "hair_face_highlight_color", "90 89 88")
  486. SpawnSet(NPC, "soga_hair_face_highlight_color", "90 89 88")
  487. SpawnSet(NPC, "hair_color1", "0 0 0")
  488. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  489. SpawnSet(NPC, "hair_color2", "0 0 0")
  490. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  491. SpawnSet(NPC, "hair_highlight", "0 0 0")
  492. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  493. elseif overall_look == 8 then -- Beige light
  494. SpawnSet(NPC, "skin_color", "237 237 230")
  495. SpawnSet(NPC, "soga_skin_color", "237 237 230")
  496. SpawnSet(NPC, "eye_color", "31 66 65")
  497. SpawnSet(NPC, "soga_eye_color", "31 66 65")
  498. SpawnSet(NPC, "hair_type_color", "157 145 110")
  499. SpawnSet(NPC, "soga_hair_type_color", "157 145 110")
  500. SpawnSet(NPC, "hair_face_color", "157 145 110")
  501. SpawnSet(NPC, "soga_hair_face_color", "157 145 110")
  502. SpawnSet(NPC, "hair_type_highlight_color", "71 49 21")
  503. SpawnSet(NPC, "soga_hair_type_highlight_color", "71 49 21")
  504. SpawnSet(NPC, "hair_face_highlight_color", "71 49 21")
  505. SpawnSet(NPC, "soga_hair_face_highlight_color", "71 49 21")
  506. SpawnSet(NPC, "hair_color1", "0 0 0")
  507. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  508. SpawnSet(NPC, "hair_color2", "0 0 0")
  509. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  510. SpawnSet(NPC, "hair_highlight", "0 0 0")
  511. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  512. elseif overall_look == 9 then -- Brown
  513. SpawnSet(NPC, "skin_color", "225 171 169")
  514. SpawnSet(NPC, "soga_skin_color", "225 171 169")
  515. SpawnSet(NPC, "eye_color", "70 59 31")
  516. SpawnSet(NPC, "soga_eye_color", "70 59 31")
  517. SpawnSet(NPC, "hair_type_color", "83 77 59")
  518. SpawnSet(NPC, "soga_hair_type_color", "83 77 59")
  519. SpawnSet(NPC, "hair_face_color", "83 77 59")
  520. SpawnSet(NPC, "soga_hair_face_color", "83 77 59")
  521. SpawnSet(NPC, "hair_type_highlight_color", "75 47 0")
  522. SpawnSet(NPC, "soga_hair_type_highlight_color", "75 47 0")
  523. SpawnSet(NPC, "hair_face_highlight_color", "75 47 0")
  524. SpawnSet(NPC, "soga_hair_face_highlight_color", "75 47 0")
  525. SpawnSet(NPC, "hair_color1", "0 0 0")
  526. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  527. SpawnSet(NPC, "hair_color2", "0 0 0")
  528. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  529. SpawnSet(NPC, "hair_highlight", "0 0 0")
  530. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  531. elseif overall_look == 10 then -- Beige greyish
  532. SpawnSet(NPC, "skin_color", "228 189 174")
  533. SpawnSet(NPC, "soga_skin_color", "228 189 174")
  534. SpawnSet(NPC, "eye_color", "138 174 156")
  535. SpawnSet(NPC, "soga_eye_color", "138 174 156")
  536. SpawnSet(NPC, "hair_type_color", "233 195 179")
  537. SpawnSet(NPC, "soga_hair_type_color", "233 195 179")
  538. SpawnSet(NPC, "hair_face_color", "233 195 179")
  539. SpawnSet(NPC, "soga_hair_face_color", "233 195 179")
  540. SpawnSet(NPC, "hair_type_highlight_color", "41 15 5")
  541. SpawnSet(NPC, "soga_hair_type_highlight_color", "41 15 5")
  542. SpawnSet(NPC, "hair_face_highlight_color", "41 15 5")
  543. SpawnSet(NPC, "soga_hair_face_highlight_color", "41 15 5")
  544. SpawnSet(NPC, "hair_color1", "0 0 0")
  545. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  546. SpawnSet(NPC, "hair_color2", "0 0 0")
  547. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  548. SpawnSet(NPC, "hair_highlight", "0 0 0")
  549. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  550. elseif overall_look == 11 then -- Brown dark
  551. SpawnSet(NPC, "skin_color", "215 194 160")
  552. SpawnSet(NPC, "soga_skin_color", "215 194 160")
  553. SpawnSet(NPC, "eye_color", "73 42 13")
  554. SpawnSet(NPC, "soga_eye_color", "73 42 13")
  555. SpawnSet(NPC, "hair_type_color", "25 18 6")
  556. SpawnSet(NPC, "soga_hair_type_color", "25 18 6")
  557. SpawnSet(NPC, "hair_face_color", "25 18 6")
  558. SpawnSet(NPC, "soga_hair_face_color", "25 18 6")
  559. SpawnSet(NPC, "hair_type_highlight_color", "89 52 8")
  560. SpawnSet(NPC, "soga_hair_type_highlight_color", "89 52 8")
  561. SpawnSet(NPC, "hair_face_highlight_color", "89 52 8")
  562. SpawnSet(NPC, "soga_hair_face_highlight_color", "89 52 8")
  563. SpawnSet(NPC, "hair_color1", "0 0 0")
  564. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  565. SpawnSet(NPC, "hair_color2", "0 0 0")
  566. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  567. SpawnSet(NPC, "hair_highlight", "0 0 0")
  568. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  569. elseif overall_look == 12 then -- Brown dark
  570. SpawnSet(NPC, "skin_color", "197 141 123")
  571. SpawnSet(NPC, "soga_skin_color", "197 141 123")
  572. SpawnSet(NPC, "eye_color", "104 166 185")
  573. SpawnSet(NPC, "soga_eye_color", "104 166 185")
  574. SpawnSet(NPC, "hair_type_color", "39 19 4")
  575. SpawnSet(NPC, "soga_hair_type_color", "39 19 4")
  576. SpawnSet(NPC, "hair_face_color", "39 19 4")
  577. SpawnSet(NPC, "soga_hair_face_color", "39 19 4")
  578. SpawnSet(NPC, "hair_type_highlight_color", "28 18 0")
  579. SpawnSet(NPC, "soga_hair_type_highlight_color", "28 18 0")
  580. SpawnSet(NPC, "hair_face_highlight_color", "28 18 0")
  581. SpawnSet(NPC, "soga_hair_face_highlight_color", "28 18 0")
  582. SpawnSet(NPC, "hair_color1", "0 0 0")
  583. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  584. SpawnSet(NPC, "hair_color2", "0 0 0")
  585. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  586. SpawnSet(NPC, "hair_highlight", "0 0 0")
  587. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  588. elseif overall_look == 13 then -- Brown light yellow stripes
  589. SpawnSet(NPC, "skin_color", "222 186 188")
  590. SpawnSet(NPC, "soga_skin_color", "222 186 188")
  591. SpawnSet(NPC, "eye_color", "71 61 32")
  592. SpawnSet(NPC, "soga_eye_color", "71 61 32")
  593. SpawnSet(NPC, "hair_type_color", "112 40 8")
  594. SpawnSet(NPC, "soga_hair_type_color", "112 40 8")
  595. SpawnSet(NPC, "hair_face_color", "112 40 8")
  596. SpawnSet(NPC, "soga_hair_face_color", "112 40 8")
  597. SpawnSet(NPC, "hair_type_highlight_color", "228 218 132")
  598. SpawnSet(NPC, "soga_hair_type_highlight_color", "228 218 132")
  599. SpawnSet(NPC, "hair_face_highlight_color", "228 218 132")
  600. SpawnSet(NPC, "soga_hair_face_highlight_color", "228 218 132")
  601. SpawnSet(NPC, "hair_color1", "0 0 0")
  602. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  603. SpawnSet(NPC, "hair_color2", "0 0 0")
  604. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  605. SpawnSet(NPC, "hair_highlight", "0 0 0")
  606. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  607. elseif overall_look == 14 then -- Brown light yellow stripes
  608. SpawnSet(NPC, "skin_color", "200 185 153")
  609. SpawnSet(NPC, "soga_skin_color", "200 185 153")
  610. SpawnSet(NPC, "eye_color", "130 182 197")
  611. SpawnSet(NPC, "soga_eye_color", "130 182 197")
  612. SpawnSet(NPC, "hair_type_color", "58 45 18")
  613. SpawnSet(NPC, "soga_hair_type_color", "58 45 18")
  614. SpawnSet(NPC, "hair_face_color", "58 45 18")
  615. SpawnSet(NPC, "soga_hair_face_color", "58 45 18")
  616. SpawnSet(NPC, "hair_type_highlight_color", "219 180 3")
  617. SpawnSet(NPC, "soga_hair_type_highlight_color", "219 180 3")
  618. SpawnSet(NPC, "hair_face_highlight_color", "219 180 3")
  619. SpawnSet(NPC, "soga_hair_face_highlight_color", "219 180 3")
  620. SpawnSet(NPC, "hair_color1", "0 0 0")
  621. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  622. SpawnSet(NPC, "hair_color2", "0 0 0")
  623. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  624. SpawnSet(NPC, "hair_highlight", "0 0 0")
  625. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  626. elseif overall_look == 15 then -- Brown dark
  627. SpawnSet(NPC, "skin_color", "239 206 205")
  628. SpawnSet(NPC, "soga_skin_color", "239 206 205")
  629. SpawnSet(NPC, "eye_color", "45 93 84")
  630. SpawnSet(NPC, "soga_eye_color", "45 93 84")
  631. SpawnSet(NPC, "hair_type_color", "40 21 12")
  632. SpawnSet(NPC, "soga_hair_type_color", "40 21 12")
  633. SpawnSet(NPC, "hair_face_color", "40 21 12")
  634. SpawnSet(NPC, "soga_hair_face_color", "40 21 12")
  635. SpawnSet(NPC, "hair_type_highlight_color", "106 105 105")
  636. SpawnSet(NPC, "soga_hair_type_highlight_color", "106 105 105")
  637. SpawnSet(NPC, "hair_face_highlight_color", "106 105 105")
  638. SpawnSet(NPC, "soga_hair_face_highlight_color", "106 105 105")
  639. SpawnSet(NPC, "hair_color1", "0 0 0")
  640. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  641. SpawnSet(NPC, "hair_color2", "0 0 0")
  642. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  643. SpawnSet(NPC, "hair_highlight", "0 0 0")
  644. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  645. end
  646. end
  647. function GnomeCosmetics(NPC)
  648. local hair = MakeRandomInt(1133,1140) -- 1133 (f|), 1136 (f|m), 1137 (f|) 1138 (|m)
  649. SpawnSet(NPC, "hair_type", hair)
  650. SpawnSet(NPC, "soga_hair_type", hair)
  651. --[[ local trinket = MakeRandomInt(1185,1189) -- 0
  652. local trinket_chance = MakeRandomInt(1,100)
  653. if trinket_chance < 21 then
  654. SpawnSet(NPC, "facial_hair_type", "0")
  655. SpawnSet(NPC, "soga_facial_hair_type", "0")
  656. else
  657. SpawnSet(NPC, "facial_hair_type", trinket)
  658. SpawnSet(NPC, "soga_facial_hair_type", trinket)
  659. end--]]
  660. local overall_look = MakeRandomInt(5,5)
  661. if overall_look == 1 then -- Brown golden highlights
  662. SpawnSet(NPC, "skin_color", "230 217 211")
  663. SpawnSet(NPC, "soga_skin_color", "230 217 211")
  664. SpawnSet(NPC, "eye_color", "40 84 88")
  665. SpawnSet(NPC, "soga_eye_color", "40 84 88")
  666. SpawnSet(NPC, "hair_type_color", "41 32 19")
  667. SpawnSet(NPC, "soga_hair_type_color", "41 32 19")
  668. SpawnSet(NPC, "hair_type_highlight_color", "200 71 37")
  669. SpawnSet(NPC, "soga_hair_type_highlight_color", "200 71 37")
  670. SpawnSet(NPC, "hair_color1", "0 0 0")
  671. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  672. SpawnSet(NPC, "hair_color2", "0 0 0")
  673. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  674. SpawnSet(NPC, "hair_highlight", "0 0 0")
  675. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  676. elseif overall_look == 2 then -- Black light
  677. SpawnSet(NPC, "skin_color", "253 254 254")
  678. SpawnSet(NPC, "soga_skin_color", "253 254 254")
  679. SpawnSet(NPC, "eye_color", "158 197 204")
  680. SpawnSet(NPC, "soga_eye_color", "158 197 204")
  681. SpawnSet(NPC, "hair_type_color", "77 103 103")
  682. SpawnSet(NPC, "soga_hair_type_color", "77 103 103")
  683. SpawnSet(NPC, "hair_type_highlight_color", "119 46 8")
  684. SpawnSet(NPC, "soga_hair_type_highlight_color", "119 46 8")
  685. SpawnSet(NPC, "hair_color1", "0 0 0")
  686. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  687. SpawnSet(NPC, "hair_color2", "0 0 0")
  688. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  689. SpawnSet(NPC, "hair_highlight", "0 0 0")
  690. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  691. elseif overall_look == 3 then -- Brown dark
  692. SpawnSet(NPC, "skin_color", "245 214 215")
  693. SpawnSet(NPC, "soga_skin_color", "245 214 215")
  694. SpawnSet(NPC, "eye_color", "108 80 37")
  695. SpawnSet(NPC, "soga_eye_color", "108 80 37")
  696. SpawnSet(NPC, "hair_type_color", "45 50 40")
  697. SpawnSet(NPC, "soga_hair_type_color", "45 50 40")
  698. SpawnSet(NPC, "hair_type_highlight_color", "125 78 1")
  699. SpawnSet(NPC, "soga_hair_type_highlight_color", "125 78 1")
  700. SpawnSet(NPC, "hair_color1", "0 0 0")
  701. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  702. SpawnSet(NPC, "hair_color2", "0 0 0")
  703. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  704. SpawnSet(NPC, "hair_highlight", "0 0 0")
  705. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  706. elseif overall_look == 4 then -- Caramel
  707. SpawnSet(NPC, "skin_color", "220 231 230")
  708. SpawnSet(NPC, "soga_skin_color", "220 231 230")
  709. SpawnSet(NPC, "eye_color", "41 84 95")
  710. SpawnSet(NPC, "soga_eye_color", "41 84 95")
  711. SpawnSet(NPC, "hair_type_color", "132 90 60")
  712. SpawnSet(NPC, "soga_hair_type_color", "132 90 60")
  713. SpawnSet(NPC, "hair_type_highlight_color", "124 48 7")
  714. SpawnSet(NPC, "soga_hair_type_highlight_color", "124 48 7")
  715. SpawnSet(NPC, "hair_color1", "0 0 0")
  716. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  717. SpawnSet(NPC, "hair_color2", "0 0 0")
  718. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  719. SpawnSet(NPC, "hair_highlight", "0 0 0")
  720. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  721. elseif overall_look == 5 then -- Yellow beige light
  722. SpawnSet(NPC, "skin_color", "231 228 212")
  723. SpawnSet(NPC, "soga_skin_color", "231 228 212")
  724. SpawnSet(NPC, "eye_color", "133 180 184")
  725. SpawnSet(NPC, "soga_eye_color", "133 180 184")
  726. SpawnSet(NPC, "hair_type_color", "242 188 115")
  727. SpawnSet(NPC, "soga_hair_type_color", "242 188 115")
  728. SpawnSet(NPC, "hair_type_highlight_color", "170 61 28")
  729. SpawnSet(NPC, "soga_hair_type_highlight_color", "170 61 28")
  730. SpawnSet(NPC, "hair_color1", "0 0 0")
  731. SpawnSet(NPC, "soga_hair_color1", "0 0 0")
  732. SpawnSet(NPC, "hair_color2", "0 0 0")
  733. SpawnSet(NPC, "soga_hair_color2", "0 0 0")
  734. SpawnSet(NPC, "hair_highlight", "0 0 0")
  735. SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
  736. end
  737. end