123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910 |
- --[[
- Script Name : SpawnScripts/qeynos_combined02/aTunarianscout.lua
- Script Author : Rylec
- Script Date : 2021.03.14 08:03:20
- Script Purpose :
- :
- --]]
- function spawn(NPC)
- local model = MakeRandomInt(1,8)
- if model == 1 then
- SetModelType(NPC, "132") -- human female
- SpawnSet(NPC, "soga_model_type", "132")
- SpawnSet(NPC, "chest_type", "5529")
- SpawnSet(NPC, "legs_type", "5530")
- HumanCosmetics(NPC)
- elseif model == 2 then
- SetModelType(NPC, "134") -- human male
- SpawnSet(NPC, "soga_model_type", "134")
- SpawnSet(NPC, "chest_type", "5533")
- SpawnSet(NPC, "legs_type", "5534")
- HumanCosmetics(NPC)
- elseif model == 3 then
- SetModelType(NPC, "135") -- high elf female
- SpawnSet(NPC, "soga_model_type", "135")
- SpawnSet(NPC, "chest_type", "5521")
- SpawnSet(NPC, "legs_type", "5522")
- HighElfCosmetics(NPC)
- elseif model == 4 then
- SetModelType(NPC, "136") -- high elf male
- SpawnSet(NPC, "soga_model_type", "136")
- SpawnSet(NPC, "chest_type", "5525")
- SpawnSet(NPC, "legs_type", "5526")
- HighElfCosmetics(NPC)
- elseif model == 5 then
- SetModelType(NPC, "78") -- half elf male
- SpawnSet(NPC, "soga_model_type", "78")
- SpawnSet(NPC, "chest_type", "5509")
- SpawnSet(NPC, "legs_type", "5510")
- HalfElfCosmetics(NPC)
- elseif model == 6 then
- SetModelType(NPC, "79") -- half elf female
- SpawnSet(NPC, "soga_model_type", "79")
- SpawnSet(NPC, "chest_type", "5505")
- SpawnSet(NPC, "legs_type", "5506")
- HalfElfCosmetics(NPC)
- elseif model == 7 then
- SetModelType(NPC, "113") -- wood elf female
- SpawnSet(NPC, "soga_model_type", "113")
- SpawnSet(NPC, "chest_type", "5573")
- SpawnSet(NPC, "legs_type", "5574")
- WoodElfCosmetics(NPC)
- else
- SetModelType(NPC, "114") -- wood elf male
- SpawnSet(NPC, "soga_model_type", "114")
- SpawnSet(NPC, "chest_type", "5577")
- SpawnSet(NPC, "legs_type", "5578")
- WoodElfCosmetics(NPC)
- end
- SetEquipment(NPC, 2, 0)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function HalfElfCosmetics(NPC)
- local hair = MakeRandomInt(1137,1140) -- 1125 (f|), 1127 (f|), 1133 (f|m), 1138 (f|)
- SpawnSet(NPC, "hair_type", hair)
- SpawnSet(NPC, "soga_hair_type", hair)
-
- local piercing = MakeRandomInt(1185,1191) -- 1166 (f|m), 1184 (f|), 1185 (|), 1187 (|m), 1191 (f|)
- local piercing_chance = MakeRandomInt(1,100)
- if piercing_chance < 21 then
- SpawnSet(NPC, "facial_hair_type", "0")
- SpawnSet(NPC, "soga_facial_hair_type", "0")
- else
- SpawnSet(NPC, "facial_hair_type", piercing)
- SpawnSet(NPC, "soga_facial_hair_type", piercing)
- end
- local overall_look = MakeRandomInt(9,9)
- if overall_look == 1 then -- Bright white
- SpawnSet(NPC, "skin_color", "146 147 120")
- SpawnSet(NPC, "soga_skin_color", "146 147 120")
- SpawnSet(NPC, "eye_color", "45 95 98")
- SpawnSet(NPC, "soga_eye_color", "45 95 98")
- SpawnSet(NPC, "hair_type_color", "236 240 239")
- SpawnSet(NPC, "soga_hair_type_color", "236 240 239")
- SpawnSet(NPC, "hair_type_highlight_color", "236 240 239")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "236 240 239")
- SpawnSet(NPC, "hair_color1", "161 165 168")
- SpawnSet(NPC, "soga_hair_color1", "161 165 168")
- SpawnSet(NPC, "hair_color2", "50 69 69")
- SpawnSet(NPC, "soga_hair_color2", "50 69 69")
- SpawnSet(NPC, "hair_highlight", "246 219 114")
- SpawnSet(NPC, "soga_hair_highlight", "246 219 114")
- elseif overall_look == 2 then -- Red dark and black/lilac
- SpawnSet(NPC, "skin_color", "217 193 160")
- SpawnSet(NPC, "soga_skin_color", "217 193 160")
- SpawnSet(NPC, "eye_color", "135 162 128")
- SpawnSet(NPC, "soga_eye_color", "135 162 128")
- SpawnSet(NPC, "hair_type_color", "91 7 6")
- SpawnSet(NPC, "soga_hair_type_color", "91 7 6")
- SpawnSet(NPC, "hair_type_highlight_color", "40 34 51")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "40 34 51")
- SpawnSet(NPC, "hair_color1", "109 14 49")
- SpawnSet(NPC, "soga_hair_color1", "109 14 49")
- SpawnSet(NPC, "hair_color2", "185 97 0")
- SpawnSet(NPC, "soga_hair_color2", "185 97 0")
- SpawnSet(NPC, "hair_highlight", "43 36 70")
- SpawnSet(NPC, "soga_hair_highlight", "43 36 70")
- elseif overall_look == 3 then -- Red and white
- SpawnSet(NPC, "skin_color", "85 87 87")
- SpawnSet(NPC, "soga_skin_color", "85 87 87")
- SpawnSet(NPC, "eye_color", "94 125 77")
- SpawnSet(NPC, "soga_eye_color", "94 125 77")
- SpawnSet(NPC, "hair_type_color", "119 147 147")
- SpawnSet(NPC, "soga_hair_type_color", "119 147 147")
- SpawnSet(NPC, "hair_type_highlight_color", "84 0 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "84 0 0")
- SpawnSet(NPC, "hair_color1", "114 112 142")
- SpawnSet(NPC, "soga_hair_color1", "114 112 142")
- SpawnSet(NPC, "hair_color2", "152 138 129")
- SpawnSet(NPC, "soga_hair_color2", "152 138 129")
- SpawnSet(NPC, "hair_highlight", "109 14 49")
- SpawnSet(NPC, "soga_hair_highlight", "109 14 49")
- elseif overall_look == 4 then -- Black dark
- SpawnSet(NPC, "skin_color", "213 187 157")
- SpawnSet(NPC, "soga_skin_color", "213 187 157")
- SpawnSet(NPC, "eye_color", "76 60 30")
- SpawnSet(NPC, "soga_eye_color", "76 60 30")
- SpawnSet(NPC, "hair_type_color", "0 0 0")
- SpawnSet(NPC, "soga_hair_type_color", "0 0 0")
- SpawnSet(NPC, "hair_type_highlight_color", "0 0 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "0 0 0")
- SpawnSet(NPC, "hair_color1", "38 22 21")
- SpawnSet(NPC, "soga_hair_color1", "38 22 21")
- SpawnSet(NPC, "hair_color2", "120 50 0")
- SpawnSet(NPC, "soga_hair_color2", "120 50 0")
- SpawnSet(NPC, "hair_highlight", "246 219 114")
- SpawnSet(NPC, "soga_hair_highlight", "246 219 114")
- elseif overall_look == 5 then -- Yellow and Dark red
- SpawnSet(NPC, "skin_color", "213 187 157")
- SpawnSet(NPC, "soga_skin_color", "213 187 157")
- SpawnSet(NPC, "eye_color", "89 134 93")
- SpawnSet(NPC, "soga_eye_color", "89 134 93")
- SpawnSet(NPC, "hair_type_color", "84 0 0")
- SpawnSet(NPC, "soga_hair_type_color", "84 0 0")
- SpawnSet(NPC, "hair_type_highlight_color", "223 181 20")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "223 181 20")
- SpawnSet(NPC, "hair_color1", "109 14 49")
- SpawnSet(NPC, "soga_hair_color1", "109 14 49")
- SpawnSet(NPC, "hair_color2", "185 97 0")
- SpawnSet(NPC, "soga_hair_color2", "185 97 0")
- SpawnSet(NPC, "hair_highlight", "239 221 86")
- SpawnSet(NPC, "soga_hair_highlight", "239 221 86")
- elseif overall_look == 6 then -- White and yellow
- SpawnSet(NPC, "skin_color", "213 187 157")
- SpawnSet(NPC, "soga_skin_color", "213 187 157")
- SpawnSet(NPC, "eye_color", "76 60 30")
- SpawnSet(NPC, "soga_eye_color", "76 60 30")
- SpawnSet(NPC, "hair_type_color", "244 246 246")
- SpawnSet(NPC, "soga_hair_type_color", "244 246 246")
- SpawnSet(NPC, "hair_type_highlight_color", "233 184 31")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "233 184 31")
- SpawnSet(NPC, "hair_color1", "161 165 168")
- SpawnSet(NPC, "soga_hair_color1", "161 165 168")
- SpawnSet(NPC, "hair_color2", "50 69 69")
- SpawnSet(NPC, "soga_hair_color2", "50 69 69")
- SpawnSet(NPC, "hair_highlight", "246 219 114")
- SpawnSet(NPC, "soga_hair_highlight", "246 219 114")
- elseif overall_look == 7 then -- Orange and red
- SpawnSet(NPC, "skin_color", "137 134 101")
- SpawnSet(NPC, "soga_skin_color", "137 134 101")
- SpawnSet(NPC, "eye_color", "55 115 127")
- SpawnSet(NPC, "soga_eye_color", "55 115 127")
- SpawnSet(NPC, "hair_type_color", "93 10 9")
- SpawnSet(NPC, "soga_hair_type_color", "93 10 9")
- SpawnSet(NPC, "hair_type_highlight_color", "168 59 22")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "168 59 22")
- SpawnSet(NPC, "hair_color1", "109 14 49")
- SpawnSet(NPC, "soga_hair_color1", "109 14 49")
- SpawnSet(NPC, "hair_color2", "185 97 0")
- SpawnSet(NPC, "soga_hair_color2", "185 97 0")
- SpawnSet(NPC, "hair_highlight", "89 21 21")
- SpawnSet(NPC, "soga_hair_highlight", "89 21 21")
- elseif overall_look == 8 then -- Red light and black/lilac
- SpawnSet(NPC, "skin_color", "242 233 234")
- SpawnSet(NPC, "soga_skin_color", "242 233 234")
- SpawnSet(NPC, "eye_color", "37 71 51")
- SpawnSet(NPC, "soga_eye_color", "37 71 51")
- SpawnSet(NPC, "hair_type_color", "15 1 21")
- SpawnSet(NPC, "soga_hair_type_color", "15 1 21")
- SpawnSet(NPC, "hair_type_highlight_color", "119 36 33")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "119 36 33")
- SpawnSet(NPC, "hair_color1", "29 21 28")
- SpawnSet(NPC, "soga_hair_color1", "29 21 28")
- SpawnSet(NPC, "hair_color2", "39 32 39")
- SpawnSet(NPC, "soga_hair_color2", "39 32 39")
- SpawnSet(NPC, "hair_highlight", "91 21 51")
- SpawnSet(NPC, "soga_hair_highlight", "91 21 51")
- elseif overall_look == 9 then -- White and yellow
- SpawnSet(NPC, "skin_color", "132 141 137")
- SpawnSet(NPC, "soga_skin_color", "132 141 137")
- SpawnSet(NPC, "eye_color", "199 174 134")
- SpawnSet(NPC, "soga_eye_color", "199 174 134")
- SpawnSet(NPC, "hair_type_color", "244 246 246")
- SpawnSet(NPC, "soga_hair_type_color", "244 246 246")
- SpawnSet(NPC, "hair_type_highlight_color", "193 100 45")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "193 100 45")
- SpawnSet(NPC, "hair_color1", "161 165 168")
- SpawnSet(NPC, "soga_hair_color1", "161 165 168")
- SpawnSet(NPC, "hair_color2", "56 62 62")
- SpawnSet(NPC, "soga_hair_color2", "56 62 62")
- SpawnSet(NPC, "hair_highlight", "105 26 26")
- SpawnSet(NPC, "soga_hair_highlight", "105 26 26")
- end
- end
- function WoodElfCosmetics(NPC)
- local hair = MakeRandomInt(1133,1139) -- 1113 (|m), 1130 (f|), 1131 (f|), 1133 (|m), 1136 (|m), 1137 (f|)
- SpawnSet(NPC, "hair_type", hair)
- SpawnSet(NPC, "soga_hair_type", hair)
-
- local overall_look = MakeRandomInt(12,12)
- if overall_look == 1 then -- Beige reddish light
- SpawnSet(NPC, "skin_color", "203 148 115")
- SpawnSet(NPC, "soga_skin_color", "203 148 115")
- SpawnSet(NPC, "eye_color", "149 190 197")
- SpawnSet(NPC, "soga_eye_color", "149 190 197")
- SpawnSet(NPC, "hair_type_color", "169 120 99")
- SpawnSet(NPC, "soga_hair_type_color", "169 120 99")
- SpawnSet(NPC, "hair_type_highlight_color", "135 55 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "135 55 0")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 2 then -- Yellow dark
- SpawnSet(NPC, "skin_color", "217 193 160")
- SpawnSet(NPC, "soga_skin_color", "217 193 160")
- SpawnSet(NPC, "eye_color", "202 188 158")
- SpawnSet(NPC, "soga_eye_color", "202 188 158")
- SpawnSet(NPC, "hair_type_color", "172 148 51")
- SpawnSet(NPC, "soga_hair_type_color", "172 148 51")
- SpawnSet(NPC, "hair_type_highlight_color", "4 1 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "4 1 0")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 3 then -- Yellow dark vers 2
- SpawnSet(NPC, "skin_color", "191 166 131")
- SpawnSet(NPC, "soga_skin_color", "191 166 131")
- SpawnSet(NPC, "eye_color", "63 129 143")
- SpawnSet(NPC, "soga_eye_color", "63 129 143")
- SpawnSet(NPC, "hair_type_color", "166 126 37")
- SpawnSet(NPC, "soga_hair_type_color", "166 126 37")
- SpawnSet(NPC, "hair_type_highlight_color", "84 41 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "84 41 0")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 4 then -- Beige reddish medium bright highlight
- SpawnSet(NPC, "skin_color", "202 180 137")
- SpawnSet(NPC, "soga_skin_color", "202 180 137")
- SpawnSet(NPC, "eye_color", "44 93 88")
- SpawnSet(NPC, "soga_eye_color", "44 93 88")
- SpawnSet(NPC, "hair_type_color", "151 81 46")
- SpawnSet(NPC, "soga_hair_type_color", "151 81 46")
- SpawnSet(NPC, "hair_type_highlight_color", "137 120 98")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "137 120 98")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 5 then -- Beige reddish medium grey highlight
- SpawnSet(NPC, "skin_color", "191 166 131")
- SpawnSet(NPC, "soga_skin_color", "191 166 131")
- SpawnSet(NPC, "eye_color", "52 112 112")
- SpawnSet(NPC, "soga_eye_color", "52 112 112")
- SpawnSet(NPC, "hair_type_color", "139 80 51")
- SpawnSet(NPC, "soga_hair_type_color", "139 80 51")
- SpawnSet(NPC, "hair_type_highlight_color", "84 84 83")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "84 84 83")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 6 then -- White light grey
- SpawnSet(NPC, "skin_color", "172 106 62")
- SpawnSet(NPC, "soga_skin_color", "172 106 62")
- SpawnSet(NPC, "eye_color", "157 187 169")
- SpawnSet(NPC, "soga_eye_color", "157 187 169")
- SpawnSet(NPC, "hair_type_color", "212 210 207")
- SpawnSet(NPC, "soga_hair_type_color", "212 210 207")
- SpawnSet(NPC, "hair_type_highlight_color", "125 66 4")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "125 66 4")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 7 then -- Beige light
- SpawnSet(NPC, "skin_color", "189 168 120")
- SpawnSet(NPC, "soga_skin_color", "189 168 120")
- SpawnSet(NPC, "eye_color", "43 87 100")
- SpawnSet(NPC, "soga_eye_color", "43 87 100")
- SpawnSet(NPC, "hair_type_color", "178 155 145")
- SpawnSet(NPC, "soga_hair_type_color", "178 155 145")
- SpawnSet(NPC, "hair_type_highlight_color", "114 106 39")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "114 106 39")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 8 then -- Yellow beige light
- SpawnSet(NPC, "skin_color", "168 119 69")
- SpawnSet(NPC, "soga_skin_color", "168 119 69")
- SpawnSet(NPC, "eye_color", "126 178 194")
- SpawnSet(NPC, "soga_eye_color", "126 178 194")
- SpawnSet(NPC, "hair_type_color", "208 197 90")
- SpawnSet(NPC, "soga_hair_type_color", "208 197 90")
- SpawnSet(NPC, "hair_type_highlight_color", "22 8 2")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "22 8 2")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 9 then -- Yellow warm gold
- SpawnSet(NPC, "skin_color", "177 117 83")
- SpawnSet(NPC, "soga_skin_color", "177 117 83")
- SpawnSet(NPC, "eye_color", "188 176 141")
- SpawnSet(NPC, "soga_eye_color", "188 176 141")
- SpawnSet(NPC, "hair_type_color", "158 120 35")
- SpawnSet(NPC, "soga_hair_type_color", "158 120 35")
- SpawnSet(NPC, "hair_type_highlight_color", "114 94 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "114 94 0")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 10 then -- Yellow light
- SpawnSet(NPC, "skin_color", "190 142 104")
- SpawnSet(NPC, "soga_skin_color", "190 142 104")
- SpawnSet(NPC, "eye_color", "139 179 169")
- SpawnSet(NPC, "soga_eye_color", "139 179 169")
- SpawnSet(NPC, "hair_type_color", "215 203 91")
- SpawnSet(NPC, "soga_hair_type_color", "215 203 91")
- SpawnSet(NPC, "hair_type_highlight_color", "84 70 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "84 70 0")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 11 then -- Yellow dark golden
- SpawnSet(NPC, "skin_color", "182 139 92")
- SpawnSet(NPC, "soga_skin_color", "182 139 92")
- SpawnSet(NPC, "eye_color", "55 112 129")
- SpawnSet(NPC, "soga_eye_color", "55 112 129")
- SpawnSet(NPC, "hair_type_color", "160 114 32")
- SpawnSet(NPC, "soga_hair_type_color", "160 114 32")
- SpawnSet(NPC, "hair_type_highlight_color", "61 28 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "61 28 0")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 12 then -- White and orange
- SpawnSet(NPC, "skin_color", "183 150 105")
- SpawnSet(NPC, "soga_skin_color", "183 150 105")
- SpawnSet(NPC, "eye_color", "163 182 156")
- SpawnSet(NPC, "soga_eye_color", "163 182 156")
- SpawnSet(NPC, "hair_type_color", "171 166 94")
- SpawnSet(NPC, "soga_hair_type_color", "171 166 94")
- SpawnSet(NPC, "hair_type_highlight_color", "39 20 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "39 20 0")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- end
- end
- function HighElfCosmetics(NPC)
- local hair = MakeRandomInt(1133,1140) -- 1133 (f|m), 1136 (f|), 1137 (f|m)
- SpawnSet(NPC, "hair_type", hair)
- SpawnSet(NPC, "soga_hair_type", hair)
- local overall_look = MakeRandomInt(15,15)
- if overall_look == 1 then -- White
- SpawnSet(NPC, "skin_color", "235 243 243")
- SpawnSet(NPC, "soga_skin_color", "235 243 243")
- SpawnSet(NPC, "eye_color", "112 168 180")
- SpawnSet(NPC, "soga_eye_color", "112 168 180")
- SpawnSet(NPC, "hair_type_color", "247 240 227")
- SpawnSet(NPC, "soga_hair_type_color", "247 240 227")
- SpawnSet(NPC, "hair_type_highlight_color", "14 11 9")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "14 11 9")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 2 then -- Light grey
- SpawnSet(NPC, "skin_color", "209 181 133")
- SpawnSet(NPC, "soga_skin_color", "209 181 133")
- SpawnSet(NPC, "eye_color", "69 82 46")
- SpawnSet(NPC, "soga_eye_color", "69 82 46")
- SpawnSet(NPC, "hair_type_color", "219 219 216")
- SpawnSet(NPC, "soga_hair_type_color", "219 219 216")
- SpawnSet(NPC, "hair_type_highlight_color", "54 22 8")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "54 22 8")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 3 then -- Very light yellow
- SpawnSet(NPC, "skin_color", "240 249 246")
- SpawnSet(NPC, "soga_skin_color", "240 249 246")
- SpawnSet(NPC, "eye_color", "96 160 174")
- SpawnSet(NPC, "soga_eye_color", "96 160 174")
- SpawnSet(NPC, "hair_type_color", "214 184 120")
- SpawnSet(NPC, "soga_hair_type_color", "214 184 120")
- SpawnSet(NPC, "hair_type_highlight_color", "65 61 27")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "65 61 27")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 4 then -- Light yellow
- SpawnSet(NPC, "skin_color", "255 255 255")
- SpawnSet(NPC, "soga_skin_color", "255 255 255")
- SpawnSet(NPC, "eye_color", "58 62 34")
- SpawnSet(NPC, "soga_eye_color", "58 62 34")
- SpawnSet(NPC, "hair_type_color", "213 215 126")
- SpawnSet(NPC, "soga_hair_type_color", "213 215 126")
- SpawnSet(NPC, "hair_type_highlight_color", "54 32 1")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "54 32 1")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 5 then -- Bright yellow
- SpawnSet(NPC, "skin_color", "193 199 199")
- SpawnSet(NPC, "soga_skin_color", "193 199 199")
- SpawnSet(NPC, "eye_color", "71 57 30")
- SpawnSet(NPC, "soga_eye_color", "71 57 30")
- SpawnSet(NPC, "hair_type_color", "236 195 50")
- SpawnSet(NPC, "soga_hair_type_color", "236 195 50")
- SpawnSet(NPC, "hair_type_highlight_color", "65 37 3")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "65 37 3")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 6 then -- Light yellow vers 2
- SpawnSet(NPC, "skin_color", "193 199 199")
- SpawnSet(NPC, "soga_skin_color", "193 199 199")
- SpawnSet(NPC, "eye_color", "71 57 30")
- SpawnSet(NPC, "soga_eye_color", "71 57 30")
- SpawnSet(NPC, "hair_type_color", "236 233 113")
- SpawnSet(NPC, "soga_hair_type_color", "236 195 50")
- SpawnSet(NPC, "hair_type_highlight_color", "104 102 100")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "65 37 3")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 7 then -- Dark yellow
- SpawnSet(NPC, "skin_color", "240 249 246")
- SpawnSet(NPC, "soga_skin_color", "240 249 246")
- SpawnSet(NPC, "eye_color", "105 85 44")
- SpawnSet(NPC, "soga_eye_color", "105 85 44")
- SpawnSet(NPC, "hair_type_color", "211 157 3")
- SpawnSet(NPC, "soga_hair_type_color", "211 157 3")
- SpawnSet(NPC, "hair_type_highlight_color", "125 50 1")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "125 50 1")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 8 then -- Orange dark
- SpawnSet(NPC, "skin_color", "218 229 229")
- SpawnSet(NPC, "soga_skin_color", "218 229 229")
- SpawnSet(NPC, "eye_color", "102 70 30")
- SpawnSet(NPC, "soga_eye_color", "102 70 30")
- SpawnSet(NPC, "hair_type_color", "219 136 25")
- SpawnSet(NPC, "soga_hair_type_color", "219 136 25")
- SpawnSet(NPC, "hair_type_highlight_color", "59 54 48")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "59 54 48")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 9 then -- Orange light
- SpawnSet(NPC, "skin_color", "225 232 227")
- SpawnSet(NPC, "soga_skin_color", "225 232 227")
- SpawnSet(NPC, "eye_color", "200 175 137")
- SpawnSet(NPC, "soga_eye_color", "200 175 137")
- SpawnSet(NPC, "hair_type_color", "220 138 23")
- SpawnSet(NPC, "soga_hair_type_color", "220 138 23")
- SpawnSet(NPC, "hair_type_highlight_color", "113 39 21")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "113 39 21")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 10 then -- White yellow light
- SpawnSet(NPC, "skin_color", "221 225 225")
- SpawnSet(NPC, "soga_skin_color", "221 225 225")
- SpawnSet(NPC, "eye_color", "138 174 156")
- SpawnSet(NPC, "soga_eye_color", "138 174 156")
- SpawnSet(NPC, "hair_type_color", "222 210 186")
- SpawnSet(NPC, "soga_hair_type_color", "222 210 186")
- SpawnSet(NPC, "hair_type_highlight_color", "118 116 114")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "118 116 114")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 11 then -- Yellow light mat
- SpawnSet(NPC, "skin_color", "223 183 127")
- SpawnSet(NPC, "soga_skin_color", "223 183 127")
- SpawnSet(NPC, "eye_color", "53 109 120")
- SpawnSet(NPC, "soga_eye_color", "53 109 120")
- SpawnSet(NPC, "hair_type_color", "224 221 88")
- SpawnSet(NPC, "soga_hair_type_color", "224 221 88")
- SpawnSet(NPC, "hair_type_highlight_color", "107 54 9")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "107 54 9")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 12 then -- Yellow
- SpawnSet(NPC, "skin_color", "221 228 228")
- SpawnSet(NPC, "soga_skin_color", "221 228 228")
- SpawnSet(NPC, "eye_color", "108 147 112")
- SpawnSet(NPC, "soga_eye_color", "108 147 112")
- SpawnSet(NPC, "hair_type_color", "224 223 107")
- SpawnSet(NPC, "soga_hair_type_color", "224 223 107")
- SpawnSet(NPC, "hair_type_highlight_color", "145 129 21")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "145 129 21")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 13 then -- Yellow light mat
- SpawnSet(NPC, "skin_color", "213 179 131")
- SpawnSet(NPC, "soga_skin_color", "213 179 131")
- SpawnSet(NPC, "eye_color", "46 93 108")
- SpawnSet(NPC, "soga_eye_color", "46 93 108")
- SpawnSet(NPC, "hair_type_color", "207 195 0")
- SpawnSet(NPC, "soga_hair_type_color", "207 195 0")
- SpawnSet(NPC, "hair_type_highlight_color", "136 54 22")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "136 54 22")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 14 then -- Yellow light
- SpawnSet(NPC, "skin_color", "253 254 254")
- SpawnSet(NPC, "soga_skin_color", "253 254 254")
- SpawnSet(NPC, "eye_color", "139 185 192")
- SpawnSet(NPC, "soga_eye_color", "139 185 192")
- SpawnSet(NPC, "hair_type_color", "209 211 130")
- SpawnSet(NPC, "soga_hair_type_color", "209 211 130")
- SpawnSet(NPC, "hair_type_highlight_color", "105 91 74")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "105 91 74")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- elseif overall_look == 15 then -- Yellow golden dark
- SpawnSet(NPC, "skin_color", "235 205 162")
- SpawnSet(NPC, "soga_skin_color", "235 205 162")
- SpawnSet(NPC, "eye_color", "145 190 203")
- SpawnSet(NPC, "soga_eye_color", "145 190 203")
- SpawnSet(NPC, "hair_type_color", "214 158 10")
- SpawnSet(NPC, "soga_hair_type_color", "214 158 10")
- SpawnSet(NPC, "hair_type_highlight_color", "84 58 25")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "84 58 25")
- SpawnSet(NPC, "hair_color1", "0 0 0")
- SpawnSet(NPC, "soga_hair_color1", "0 0 0")
- SpawnSet(NPC, "hair_color2", "0 0 0")
- SpawnSet(NPC, "soga_hair_color2", "0 0 0")
- SpawnSet(NPC, "hair_highlight", "0 0 0")
- SpawnSet(NPC, "soga_hair_highlight", "0 0 0")
- end
- end
- function HumanCosmetics(NPC)
- local hair = MakeRandomInt(1121,1140)
- SpawnSet(NPC, "hair_type", hair)
- SpawnSet(NPC, "soga_hair_type", hair)
- local beard = MakeRandomInt(1164,1191)
- local beard_chance = MakeRandomInt(1,100)
- if beard_chance < 51 then
- SpawnSet(NPC, "facial_hair_type", "0")
- SpawnSet(NPC, "soga_facial_hair_type", "0")
- else
- SpawnSet(NPC, "facial_hair_type", beard)
- SpawnSet(NPC, "soga_facial_hair_type", beard)
- end
- local overall_look = MakeRandomInt(1,14)
-
- if overall_look == 1 then -- Bright yellow
- SpawnSet(NPC, "skin_color", "206 162 137")
- SpawnSet(NPC, "soga_skin_color", "206 162 137")
- SpawnSet(NPC, "eye_color", "47 100 102")
- SpawnSet(NPC, "soga_eye_color", "47 100 102")
- SpawnSet(NPC, "hair_type_color", "194 164 6")
- SpawnSet(NPC, "soga_hair_type_color", "194 164 6")
- SpawnSet(NPC, "hair_face_color", "194 164 6")
- SpawnSet(NPC, "soga_hair_face_color", "194 164 6")
- SpawnSet(NPC, "hair_type_highlight_color", "188 168 37")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "188 168 37")
- SpawnSet(NPC, "hair_face_highlight_color", "188 168 37")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "188 168 37")
- elseif overall_look == 2 then -- Extra light chestnut (towards yellow)
- SpawnSet(NPC, "skin_color", "241 245 221")
- SpawnSet(NPC, "soga_skin_color", "241 245 221")
- SpawnSet(NPC, "eye_color", "38 65 40")
- SpawnSet(NPC, "soga_eye_color", "38 65 40")
- SpawnSet(NPC, "hair_type_color", "100 70 10")
- SpawnSet(NPC, "soga_hair_type_color", "100 70 10")
- SpawnSet(NPC, "hair_face_color", "100 70 10")
- SpawnSet(NPC, "soga_hair_face_color", "100 70 10")
- SpawnSet(NPC, "hair_type_highlight_color", "231 170 26")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "231 170 26")
- SpawnSet(NPC, "hair_face_highlight_color", "231 170 26")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "231 170 26")
- SpawnSet(NPC, "hair_color1", "56 33 26")
- SpawnSet(NPC, "soga_hair_color1", "56 33 26")
- SpawnSet(NPC, "hair_color2", "94 59 11")
- SpawnSet(NPC, "soga_hair_color2", "94 59 11")
- SpawnSet(NPC, "hair_highlight", "200 165 96")
- SpawnSet(NPC, "soga_hair_highlight", "200 165 96")
- elseif overall_look == 3 then -- Light orange
- SpawnSet(NPC, "skin_color", "210 188 159")
- SpawnSet(NPC, "soga_skin_color", "210 188 159")
- SpawnSet(NPC, "eye_color", "74 130 98")
- SpawnSet(NPC, "soga_eye_color", "74 130 98")
- SpawnSet(NPC, "hair_type_color", "184 128 10")
- SpawnSet(NPC, "soga_hair_type_color", "184 128 10")
- SpawnSet(NPC, "hair_face_color", "184 128 10")
- SpawnSet(NPC, "soga_hair_face_color", "184 128 10")
- SpawnSet(NPC, "hair_type_highlight_color", "37 10 14")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "37 10 14")
- SpawnSet(NPC, "hair_face_highlight_color", "37 10 14")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "37 10 14")
- SpawnSet(NPC, "hair_color1", "213 84 34")
- SpawnSet(NPC, "soga_hair_color1", "213 84 34")
- SpawnSet(NPC, "hair_color2", "2 0 0")
- SpawnSet(NPC, "soga_hair_color2", "2 0 0")
- elseif overall_look == 4 then -- Orange with bright highlights
- SpawnSet(NPC, "skin_color", "234 244 244")
- SpawnSet(NPC, "soga_skin_color", "234 244 244")
- SpawnSet(NPC, "eye_color", "37 76 88")
- SpawnSet(NPC, "soga_eye_color", "37 76 88")
- SpawnSet(NPC, "hair_type_color", "121 38 35")
- SpawnSet(NPC, "soga_hair_type_color", "121 38 35")
- SpawnSet(NPC, "hair_face_color", "121 38 35")
- SpawnSet(NPC, "soga_hair_face_color", "121 38 35")
- SpawnSet(NPC, "hair_type_highlight_color", "233 184 31")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "233 184 31")
- SpawnSet(NPC, "hair_face_highlight_color", "233 184 31")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "233 184 31")
- SpawnSet(NPC, "hair_color1", "91 21 51")
- SpawnSet(NPC, "soga_hair_color1", "91 21 51")
- SpawnSet(NPC, "hair_color2", "159 88 0")
- SpawnSet(NPC, "soga_hair_color2", "159 88 0")
- SpawnSet(NPC, "hair_highlight", "246 219 114")
- SpawnSet(NPC, "soga_hair_highlight", "246 219 114")
- elseif overall_look == 5 then -- Light chestnut
- SpawnSet(NPC, "skin_color", "245 249 245")
- SpawnSet(NPC, "soga_skin_color", "245 249 245")
- SpawnSet(NPC, "eye_color", "43 70 43")
- SpawnSet(NPC, "soga_eye_color", "43 70 43")
- SpawnSet(NPC, "hair_type_color", "37 22 5")
- SpawnSet(NPC, "soga_hair_type_color", "37 22 5")
- SpawnSet(NPC, "hair_face_color", "37 22 5")
- SpawnSet(NPC, "soga_hair_face_color", "37 22 5")
- SpawnSet(NPC, "hair_type_highlight_color", "121 38 35")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "121 38 35")
- SpawnSet(NPC, "hair_face_highlight_color", "121 38 35")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "121 38 35")
- SpawnSet(NPC, "hair_color1", "79 28 15")
- SpawnSet(NPC, "soga_hair_color1", "79 28 15")
- SpawnSet(NPC, "hair_color2", "111 64 0")
- SpawnSet(NPC, "soga_hair_color2", "111 64 0")
- SpawnSet(NPC, "hair_highlight", "91 21 51")
- SpawnSet(NPC, "soga_hair_highlight", "91 21 51")
- elseif overall_look == 6 then -- Chestnut
- SpawnSet(NPC, "skin_color", "241 245 221")
- SpawnSet(NPC, "soga_skin_color", "241 245 221")
- SpawnSet(NPC, "eye_color", "102 154 140")
- SpawnSet(NPC, "soga_eye_color", "102 154 140")
- SpawnSet(NPC, "hair_type_color", "0 0 0")
- SpawnSet(NPC, "soga_hair_type_color", "0 0 0")
- SpawnSet(NPC, "hair_face_color", "0 0 0")
- SpawnSet(NPC, "soga_hair_face_color", "0 0 0")
- SpawnSet(NPC, "hair_type_highlight_color", "15 1 21")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "15 1 21")
- SpawnSet(NPC, "hair_face_highlight_color", "15 1 21")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "15 1 21")
- SpawnSet(NPC, "hair_color1", "38 22 21")
- SpawnSet(NPC, "soga_hair_color1", "38 22 21")
- SpawnSet(NPC, "hair_color2", "120 50 0")
- SpawnSet(NPC, "soga_hair_color2", "120 50 0")
- SpawnSet(NPC, "hair_highlight", "29 21 28")
- SpawnSet(NPC, "soga_hair_highlight", "29 21 28")
- elseif overall_look == 7 then -- Chestnut and brown skin
- SpawnSet(NPC, "skin_color", "46 35 12")
- SpawnSet(NPC, "soga_skin_color", "46 35 12")
- SpawnSet(NPC, "eye_color", "105 85 44")
- SpawnSet(NPC, "soga_eye_color", "105 85 44")
- SpawnSet(NPC, "hair_type_color", "40 20 7")
- SpawnSet(NPC, "soga_hair_type_color", "40 20 7")
- SpawnSet(NPC, "hair_face_color", "40 20 7")
- SpawnSet(NPC, "soga_hair_face_color", "40 20 7")
- SpawnSet(NPC, "hair_type_highlight_color", "47 42 59")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "47 42 59")
- SpawnSet(NPC, "hair_face_highlight_color", "47 42 59")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "47 42 59")
- elseif overall_look == 8 then -- Dark brown
- SpawnSet(NPC, "skin_color", "176 156 105")
- SpawnSet(NPC, "soga_skin_color", "176 156 105")
- SpawnSet(NPC, "eye_color", "67 132 116")
- SpawnSet(NPC, "soga_eye_color", "67 132 116")
- SpawnSet(NPC, "hair_type_color", "33 24 12")
- SpawnSet(NPC, "soga_hair_type_color", "33 24 12")
- SpawnSet(NPC, "hair_face_color", "33 24 12")
- SpawnSet(NPC, "soga_hair_face_color", "33 24 12")
- SpawnSet(NPC, "hair_type_highlight_color", "11 6 1")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "11 6 1")
- SpawnSet(NPC, "hair_face_highlight_color", "11 6 1")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "11 6 1")
- elseif overall_look == 9 then -- Dark brown and brown skin
- SpawnSet(NPC, "skin_color", "46 35 12")
- SpawnSet(NPC, "soga_skin_color", "46 35 12")
- SpawnSet(NPC, "eye_color", "105 85 44")
- SpawnSet(NPC, "soga_eye_color", "105 85 44")
- SpawnSet(NPC, "hair_type_color", "33 24 12")
- SpawnSet(NPC, "soga_hair_type_color", "33 24 12")
- SpawnSet(NPC, "hair_face_color", "33 24 12")
- SpawnSet(NPC, "soga_hair_face_color", "33 24 12")
- SpawnSet(NPC, "hair_type_highlight_color", "11 6 1")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "11 6 1")
- SpawnSet(NPC, "hair_face_highlight_color", "11 6 1")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "11 6 1")
- elseif overall_look == 10 then -- Lige grey towards white
- SpawnSet(NPC, "skin_color", "181 132 94")
- SpawnSet(NPC, "soga_skin_color", "181 132 94")
- SpawnSet(NPC, "eye_color", "31 68 69")
- SpawnSet(NPC, "soga_eye_color", "31 68 69")
- SpawnSet(NPC, "hair_type_color", "213 209 159")
- SpawnSet(NPC, "soga_hair_type_color", "213 209 159")
- SpawnSet(NPC, "hair_face_color", "213 209 159")
- SpawnSet(NPC, "soga_hair_face_color", "213 209 159")
- SpawnSet(NPC, "hair_type_highlight_color", "56 40 19")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "56 40 19")
- SpawnSet(NPC, "hair_face_highlight_color", "56 40 19")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "56 40 19")
- elseif overall_look == 11 then -- Dark grey
- SpawnSet(NPC, "skin_color", "186 191 170")
- SpawnSet(NPC, "soga_skin_color", "186 191 170")
- SpawnSet(NPC, "eye_color", "38 77 88")
- SpawnSet(NPC, "soga_eye_color", "38 77 88")
- SpawnSet(NPC, "hair_type_color", "59 58 73")
- SpawnSet(NPC, "soga_hair_type_color", "59 58 73")
- SpawnSet(NPC, "hair_face_color", "59 58 73")
- SpawnSet(NPC, "soga_hair_face_color", "59 58 73")
- SpawnSet(NPC, "hair_type_highlight_color", "119 147 147")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "119 147 147")
- SpawnSet(NPC, "hair_face_highlight_color", "119 147 147")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "119 147 147")
- SpawnSet(NPC, "hair_color1", "43 36 70")
- SpawnSet(NPC, "soga_hair_color1", "43 36 70")
- SpawnSet(NPC, "hair_color2", "64 76 74")
- SpawnSet(NPC, "soga_hair_color2", "64 76 74")
- SpawnSet(NPC, "hair_highlight", "114 112 142")
- SpawnSet(NPC, "soga_hair_highlight", "114 112 142")
- elseif overall_look == 12 then -- Dark grey and brown skin
- SpawnSet(NPC, "skin_color", "46 35 12")
- SpawnSet(NPC, "soga_skin_color", "46 35 12")
- SpawnSet(NPC, "eye_color", "105 85 44")
- SpawnSet(NPC, "soga_eye_color", "105 85 44")
- SpawnSet(NPC, "hair_type_color", "59 58 73")
- SpawnSet(NPC, "soga_hair_type_color", "59 58 73")
- SpawnSet(NPC, "hair_face_color", "59 58 73")
- SpawnSet(NPC, "soga_hair_face_color", "59 58 73")
- SpawnSet(NPC, "hair_type_highlight_color", "119 147 147")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "119 147 147")
- SpawnSet(NPC, "hair_face_highlight_color", "119 147 147")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "119 147 147")
- SpawnSet(NPC, "hair_color1", "43 36 70")
- SpawnSet(NPC, "soga_hair_color1", "43 36 70")
- SpawnSet(NPC, "hair_color2", "64 76 74")
- SpawnSet(NPC, "soga_hair_color2", "64 76 74")
- SpawnSet(NPC, "hair_highlight", "114 112 142")
- SpawnSet(NPC, "soga_hair_highlight", "114 112 142")
- elseif overall_look == 13 then -- Black with white highlights
- SpawnSet(NPC, "skin_color", "179 188 188")
- SpawnSet(NPC, "soga_skin_color", "179 188 188")
- SpawnSet(NPC, "eye_color", "105 165 179")
- SpawnSet(NPC, "soga_eye_color", "105 165 179")
- SpawnSet(NPC, "hair_type_color", "15 1 21")
- SpawnSet(NPC, "soga_hair_type_color", "15 1 21")
- SpawnSet(NPC, "hair_face_color", "15 1 21")
- SpawnSet(NPC, "soga_hair_face_color", "15 1 21")
- SpawnSet(NPC, "hair_type_highlight_color", "211 220 220")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "211 220 220")
- SpawnSet(NPC, "hair_face_highlight_color", "211 220 220")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "211 220 220")
- SpawnSet(NPC, "hair_color1", "29 21 28")
- SpawnSet(NPC, "soga_hair_color1", "29 21 28")
- SpawnSet(NPC, "hair_color2", "39 32 39")
- SpawnSet(NPC, "soga_hair_color2", "39 32 39")
- SpawnSet(NPC, "hair_highlight", "161 165 168")
- SpawnSet(NPC, "soga_hair_highlight", "161 165 168")
- else -- Light black
- SpawnSet(NPC, "skin_color", "176 156 105")
- SpawnSet(NPC, "soga_skin_color", "176 156 105")
- SpawnSet(NPC, "eye_color", "67 132 116")
- SpawnSet(NPC, "soga_eye_color", "67 132 116")
- SpawnSet(NPC, "hair_type_color", "39 50 50")
- SpawnSet(NPC, "soga_hair_type_color", "39 50 50")
- SpawnSet(NPC, "hair_face_color", "39 50 50")
- SpawnSet(NPC, "soga_hair_face_color", "39 50 50")
- SpawnSet(NPC, "hair_type_highlight_color", "18 11 0")
- SpawnSet(NPC, "soga_hair_type_highlight_color", "18 11 0")
- SpawnSet(NPC, "hair_face_highlight_color", "18 11 0")
- SpawnSet(NPC, "soga_hair_face_highlight_color", "18 11 0")
- end
- end
|