1
0

_face_image.qsrc 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # $face_image
  2. if player_avatar = 1:$RESULT = 'images/avatar.jpg' & exit
  3. !! These images are missing from my copy of the image folder, so I am commenting them out for now
  4. !!if glass = 2:
  5. !! $RESULT = 'images/pc/body/hcolglass<<pcs_haircol>>.jpg'
  6. !! exit
  7. !!end
  8. !!if glass = 1:
  9. !! $RESULT = 'images/pc/body/nerd.jpg'
  10. !! exit
  11. !!end
  12. !!if shorthair = 1:
  13. !! $RESULT = 'images/pc/body/shcol<<pcs_haircol>>.jpg'
  14. !! exit
  15. !!end
  16. $RESULT = 'images/pc/body/hairstyles/'
  17. if pcs_haircol > 3:
  18. $RESULT += 'colours'
  19. jump 'skipsteps'
  20. end
  21. !! length
  22. if pcs_hairlng > 400:
  23. $RESULT += 'vlng'
  24. elseif pcs_hairlng > 260:
  25. $RESULT += 'lng'
  26. elseif pcs_hairlng > 160:
  27. $RESULT += 'medlo'
  28. elseif pcs_hairlng > 80:
  29. $RESULT += 'med'
  30. elseif pcs_hairlng > 30:
  31. $RESULT += 'short'
  32. else
  33. $RESULT += 'vshort'
  34. end
  35. $RESULT += '/'
  36. !! style for medium or longer hair
  37. if pcs_hairlng > 80:
  38. if hbraids > 0:
  39. $RESULT += 'braids'
  40. elseif hpigtail > 0:
  41. $RESULT += 'pigtails'
  42. elseif curly > 0 and hbangs > 0 and hpingripw > 0:
  43. $RESULT += 'curly-bangs-buns'
  44. elseif curly > 0 and hbangs > 0 and hscrunchw > 0:
  45. $RESULT += 'curly-bangs-scrunch'
  46. elseif curly > 0 and hbangs > 0:
  47. $RESULT += 'curly-bangs'
  48. elseif curly > 0 and hpingripw > 0:
  49. $RESULT += 'curly-buns'
  50. elseif curly > 0 and hscrunchw > 0:
  51. $RESULT += 'curly-scrunch'
  52. elseif hbangs > 0 and hpingripw > 0:
  53. $RESULT += 'bangs-buns'
  54. elseif hbangs > 0 and hscrunchw > 0:
  55. $RESULT += 'bangs-scrunch'
  56. elseif curly > 0:
  57. $RESULT += 'curly'
  58. elseif hbangs > 0:
  59. $RESULT += 'bangs'
  60. elseif hpingripw > 0:
  61. $RESULT += 'buns'
  62. elseif hscrunchw > 0:
  63. $RESULT += 'scrunch'
  64. else
  65. $RESULT += 'normal'
  66. end
  67. !! style for short hair (other images don't exist)
  68. elseif pcs_hairlng <= 80 and pcs_hairlng > 30:
  69. if hbangs > 0:
  70. $RESULT += 'bangs'
  71. else
  72. $RESULT += 'normal'
  73. end
  74. !! style for very short hair (other images don't exist)
  75. else
  76. $RESULT += 'normal'
  77. end
  78. :skipsteps
  79. $RESULT += '/'
  80. !! color
  81. $RESULT += 'hcol<<pcs_haircol>>.jpg'
  82. --- $face_image ---------------------------------