_face_image.qsrc 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. # $face_image
  2. !!use with - <img <<$set_imgh>> src="<<func(''$face_image'')>>">
  3. if face_style['type'] = 1:
  4. if $face_style['avatar_path'] = '': $face_style['avatar_path'] = 'images/avatar.jpg'
  5. $result = $face_style['avatar_path']
  6. elseif face_style['type'] = 2:
  7. $result = 'images/pc/body/head/'
  8. !!----------GLASSES----------
  9. !! stylish
  10. if glass >= 2:
  11. $result += 'stylish/'
  12. !! cheap
  13. elseif glass = 1:
  14. !! $result += 'cheap/' !! missing !! will load stylish !!
  15. $result += 'stylish/'
  16. !! none
  17. else
  18. $result += 'noglass/'
  19. end
  20. !!----------EYE COLOR----------
  21. !! hazel
  22. if pcs_eyecol = 0:
  23. !! $result += 'hazel/' !! missing !! will load blue !!
  24. $result += 'blue/'
  25. !! grey
  26. elseif pcs_eyecol = 1:
  27. !! $result += 'grey/' !! missing !! will load blue !!
  28. $result += 'blue/'
  29. !! green
  30. elseif pcs_eyecol = 2:
  31. $result += 'green/'
  32. !! blue
  33. elseif pcs_eyecol = 3:
  34. $result += 'blue/'
  35. !! other
  36. else
  37. !! $result += 'other/' !! missing !! will load blue !!
  38. $result += 'blue/'
  39. end
  40. !!----------HAIR COLOR----------
  41. !! black
  42. if pcs_haircol = 0:
  43. $result += 'black/'
  44. !! brunette
  45. elseif pcs_haircol = 1:
  46. $result += 'brunette/'
  47. !! red
  48. elseif pcs_haircol = 2:
  49. $result += 'red/'
  50. !! blonde
  51. elseif pcs_haircol = 3:
  52. $result += 'blonde/'
  53. !! other
  54. else
  55. !! $result += 'other' !! missing !! will load brunette !!
  56. $result += 'brunette/'
  57. end
  58. !!----------HAIR LENGTH----------
  59. !! very long
  60. if pcs_hairlng > 400:
  61. !! $result += 'very_long/' !! missing !! will load long !!
  62. $result += 'long/'
  63. !! long
  64. elseif pcs_hairlng > 260:
  65. $result += 'long/'
  66. !! medium long
  67. elseif pcs_hairlng > 160:
  68. !! $result += 'medium_long/' !! missing !! will load medium !!
  69. $result += 'medium/'
  70. !! medium
  71. elseif pcs_hairlng > 80:
  72. $result += 'medium/'
  73. !! short
  74. elseif pcs_hairlng > 30:
  75. $result += 'short/'
  76. !! very short
  77. else
  78. $result += 'very_short/'
  79. end
  80. !!----------HAIR STYLE----------
  81. !! messy/tangled
  82. if pcs_hairbsh <= 0:
  83. $result += 'messy/'
  84. !! braids
  85. elseif pcs_hairlng > 80:
  86. if hbraids > 0:
  87. $result += 'braids/'
  88. !! pigtails
  89. elseif hpigtail > 0:
  90. $result += 'pigtails/'
  91. !! curly-bangs-buns
  92. elseif curly > 0 and hbangs > 0 and hpingripw > 0:
  93. !! $result += 'curly-bangs-buns/' !! missing !! will load curly !!
  94. $result += 'curly/'
  95. !! curly-bangs-scrunch
  96. elseif curly > 0 and hbangs > 0 and hscrunchw > 0:
  97. !! $result += 'curly-bangs-scrunch/' !! missing !! will load curly !!
  98. $result += 'curly/'
  99. !! curly-bangs
  100. elseif curly > 0 and hbangs > 0:
  101. !! $result += 'curly-bangs/' !! missing !! will load curly !!
  102. $result += 'curly/'
  103. !! curly-buns
  104. elseif curly > 0 and hpingripw > 0:
  105. !! $result += 'curly-buns/' !! missing !! will load curly !!
  106. $result += 'curly/'
  107. !! curly-scrunch
  108. elseif curly > 0 and hscrunchw > 0:
  109. !! $result += 'curly-scrunch/' !! missing !! will load curly !!
  110. $result += 'curly/'
  111. !! bangs-buns
  112. elseif hbangs > 0 and hpingripw > 0:
  113. !! $result += 'bangs-buns/' !! missing !! will load bangs !!
  114. $result += 'bangs/'
  115. !! bangs-scrunch
  116. elseif hbangs > 0 and hscrunchw > 0:
  117. !! $result += 'bangs-scrunch/' !! missing !! will load bangs !!
  118. $result += 'bangs/'
  119. !! curly
  120. elseif curly > 0:
  121. $result += 'curly/'
  122. !! bangs
  123. elseif hbangs > 0:
  124. $result += 'bangs/'
  125. !! buns (updo)
  126. elseif hpingripw > 0:
  127. $result += 'buns/'
  128. !! scrunch (ponytail)
  129. elseif hscrunchw > 0:
  130. $result += 'scrunch/'
  131. !! normal
  132. else
  133. $result += 'normal/'
  134. end
  135. elseif pcs_hairlng > 30:
  136. if hbangs > 0:
  137. $result += 'bangs/'
  138. elseif curly > 0:
  139. $result += 'curly/'
  140. else
  141. $result += 'normal/'
  142. end
  143. else
  144. $result += 'normal/'
  145. end
  146. !!----------MAKEUP----------
  147. !! none
  148. if pcs_makeup = 1:
  149. $result += 'no_makeup_'
  150. !! light
  151. elseif pcs_makeup = 2:
  152. !! $result += 'light_' !! missing !! will load vibrant !!
  153. $result += 'vibrant_'
  154. !! vibrant
  155. elseif pcs_makeup = 3:
  156. $result += 'vibrant_'
  157. !! heavy
  158. elseif pcs_makeup = 4:
  159. !! $result += 'heavy_' !! missing !! will load vibrant !!
  160. $result += 'vibrant_'
  161. !! professional
  162. elseif pcs_makeup = 5:
  163. !! $result += 'prof_' !! missing !! will load vibrant !!
  164. $result += 'vibrant_'
  165. !! bimbo
  166. elseif pcs_makeup = 6:
  167. !! $result += 'bimbo_' !! missing !! will load vibrant !!
  168. $result += 'vibrant_'
  169. !! smeared
  170. else
  171. $result += 'smeared_'
  172. end
  173. !!----------CUM----------
  174. if cumloc[11] = 1:
  175. !! enormous
  176. if cumvol[11] > 250:
  177. !! $result += 'enormous' !! missing !! will load decent !!
  178. $result += 'decent'
  179. !! huge
  180. elseif cumvol[11] > 100:
  181. !! $result += 'huge' !! missing !! will load decent !!
  182. $result += 'decent'
  183. !! decent
  184. elseif cumvol[11] >= 20:
  185. $result += 'decent'
  186. !! small
  187. else
  188. !! $result += 'small' !! missing !! will load decent !!
  189. $result += 'decent'
  190. end
  191. !! none
  192. else
  193. $result += 'no_cum'
  194. end
  195. $result += '.jpg'
  196. else
  197. !! These images are missing from my copy of the image folder, so I am commenting them out for now
  198. !!if glass = 2:
  199. !! $result = 'images/pc/body/hcolglass<<pcs_haircol>>.jpg'
  200. !! exit
  201. !!end
  202. !!if glass = 1:
  203. !! $result = 'images/pc/body/nerd.jpg'
  204. !! exit
  205. !!end
  206. !!if shorthair = 1:
  207. !! $result = 'images/pc/body/shcol<<pcs_haircol>>.jpg'
  208. !! exit
  209. !!end
  210. $result = 'images/pc/body/hairstyles/'
  211. if pcs_haircol > 3:
  212. $result += 'colours'
  213. jump 'skipsteps'
  214. end
  215. !! length
  216. if pcs_hairlng > 400:
  217. $result += 'vlng'
  218. elseif pcs_hairlng > 260:
  219. $result += 'lng'
  220. elseif pcs_hairlng > 160:
  221. $result += 'medlo'
  222. elseif pcs_hairlng > 80:
  223. $result += 'med'
  224. elseif pcs_hairlng > 30:
  225. $result += 'short'
  226. else
  227. $result += 'vshort'
  228. end
  229. $result += '/'
  230. !! style for medium or longer hair
  231. if pcs_hairlng > 80:
  232. if hbraids > 0:
  233. $result += 'braids'
  234. elseif hpigtail > 0:
  235. $result += 'pigtails'
  236. elseif curly > 0 and hbangs > 0 and hpingripw > 0:
  237. $result += 'curly-bangs-buns'
  238. elseif curly > 0 and hbangs > 0 and hscrunchw > 0:
  239. $result += 'curly-bangs-scrunch'
  240. elseif curly > 0 and hbangs > 0:
  241. $result += 'curly-bangs'
  242. elseif curly > 0 and hpingripw > 0:
  243. $result += 'curly-buns'
  244. elseif curly > 0 and hscrunchw > 0:
  245. $result += 'curly-scrunch'
  246. elseif hbangs > 0 and hpingripw > 0:
  247. $result += 'bangs-buns'
  248. elseif hbangs > 0 and hscrunchw > 0:
  249. $result += 'bangs-scrunch'
  250. elseif curly > 0:
  251. $result += 'curly'
  252. elseif hbangs > 0:
  253. $result += 'bangs'
  254. elseif hpingripw > 0:
  255. $result += 'buns'
  256. elseif hscrunchw > 0:
  257. $result += 'scrunch'
  258. else
  259. $result += 'normal'
  260. end
  261. !! style for short hair (other images don''t exist)
  262. elseif pcs_hairlng > 30:
  263. if hbangs > 0:
  264. $result += 'bangs'
  265. elseif curly > 0:
  266. $result += 'curly'
  267. else
  268. $result += 'normal'
  269. end
  270. !! style for very short hair (other images don''t exist)
  271. else
  272. $result += 'normal'
  273. end
  274. :skipsteps
  275. $result += '/'
  276. !! color
  277. $result += 'hcol<<pcs_haircol>>.jpg'
  278. end
  279. --- $face_image ---------------------------------