1
0

_face_image 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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
  37. if hbraids > 0:
  38. $RESULT += 'braids'
  39. elseif hpigtail > 0:
  40. $RESULT += 'pigtails'
  41. elseif curly > 0 and hbangs > 0 and hpingripw > 0:
  42. $RESULT += 'curly-bangs-buns'
  43. elseif curly > 0 and hbangs > 0 and hscrunchw > 0:
  44. $RESULT += 'curly-bangs-scrunch'
  45. elseif curly > 0 and hbangs > 0:
  46. $RESULT += 'curly-bangs'
  47. elseif curly > 0 and hpingripw > 0:
  48. $RESULT += 'curly-buns'
  49. elseif curly > 0 and hscrunchw > 0:
  50. $RESULT += 'curly-scrunch'
  51. elseif hbangs > 0 and hpingripw > 0:
  52. $RESULT += 'bangs-buns'
  53. elseif hbangs > 0 and hscrunchw > 0:
  54. $RESULT += 'bangs-scrunch'
  55. elseif curly > 0:
  56. $RESULT += 'curly'
  57. elseif hbangs > 0:
  58. $RESULT += 'bangs'
  59. elseif hpingripw > 0:
  60. $RESULT += 'buns'
  61. elseif hscrunchw > 0:
  62. $RESULT += 'scrunch'
  63. else
  64. $RESULT += 'normal'
  65. end
  66. :skipsteps
  67. $RESULT += '/'
  68. !! color
  69. $RESULT += 'hcol<<pcs_haircol>>.jpg'
  70. --- $face_image ---------------------------------