_face_image 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # $face_image
  2. if player_avatar = 1:$RESULT = '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/body/hcolglass<<hcol>>.jpg'
  6. !! exit
  7. !!end
  8. !!if glass = 1:
  9. !! $RESULT = 'images/body/nerd.jpg'
  10. !! exit
  11. !!end
  12. !!if shorthair = 1:
  13. !! $RESULT = 'images/body/SHcol<<hcol>>.jpg'
  14. !! exit
  15. !!end
  16. $RESULT = 'images/body/hairstyles/'
  17. !! length
  18. if hairlength > 400:
  19. $RESULT += 'vlng'
  20. elseif hairlength > 260:
  21. $RESULT += 'lng'
  22. elseif hairlength > 160:
  23. $RESULT += 'medlo'
  24. elseif hairlength > 80:
  25. $RESULT += 'med'
  26. elseif hairlength > 30:
  27. $RESULT += 'short'
  28. else
  29. $RESULT += 'vshort'
  30. end
  31. $RESULT += '/'
  32. !! style
  33. if hbraids > 0:
  34. $RESULT += 'braids'
  35. elseif hpigtail > 0:
  36. $RESULT += 'pigtails'
  37. elseif curly > 0 and hbangs > 0 and hpingripw > 0:
  38. $RESULT += 'curly-bangs-buns'
  39. elseif curly > 0 and hbangs > 0 and hscrunchw > 0:
  40. $RESULT += 'curly-bangs-scrunch'
  41. elseif curly > 0 and hbangs > 0:
  42. $RESULT += 'curly-bangs'
  43. elseif curly > 0 and hpingripw > 0:
  44. $RESULT += 'curly-buns'
  45. elseif curly > 0 and hscrunchw > 0:
  46. $RESULT += 'curly-scrunch'
  47. elseif hbangs > 0 and hpingripw > 0:
  48. $RESULT += 'bangs-buns'
  49. elseif hbangs > 0 and hscrunchw > 0:
  50. $RESULT += 'bangs-scrunch'
  51. elseif curly > 0:
  52. $RESULT += 'curly'
  53. elseif hbangs > 0:
  54. $RESULT += 'bangs'
  55. elseif hpingripw > 0:
  56. $RESULT += 'buns'
  57. elseif hscrunchw > 0:
  58. $RESULT += 'scrunch'
  59. else
  60. $RESULT += 'normal'
  61. end
  62. $RESULT += '/'
  63. !! color
  64. $RESULT += 'hcol<<hcol>>.jpg'
  65. --- $face_image ---------------------------------