1
0

_face_image 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # $face_image
  2. !! These images are missing from my copy of the image folder, so I am commenting them out for now
  3. !!if glass = 2:
  4. !! $RESULT = 'images/body/hcolglass<<hcol>>.jpg'
  5. !! exit
  6. !!end
  7. !!if glass = 1:
  8. !! $RESULT = 'images/body/nerd.jpg'
  9. !! exit
  10. !!end
  11. !!if shorthair = 1:
  12. !! $RESULT = 'images/body/SHcol<<hcol>>.jpg'
  13. !! exit
  14. !!end
  15. $RESULT = 'images/body/hairstyles/'
  16. !! length
  17. if hairlength > 400:
  18. $RESULT += 'vlng'
  19. elseif hairlength > 260:
  20. $RESULT += 'lng'
  21. elseif hairlength > 160:
  22. $RESULT += 'medlo'
  23. elseif hairlength > 80:
  24. $RESULT += 'med'
  25. elseif hairlength > 30:
  26. $RESULT += 'short'
  27. else
  28. $RESULT += 'vshort'
  29. end
  30. $RESULT += '/'
  31. !! style
  32. if hbraids > 0:
  33. $RESULT += 'braids'
  34. elseif hpigtail > 0:
  35. $RESULT += 'pigtails'
  36. elseif curly > 0 and hbangs > 0 and hpingripw > 0:
  37. $RESULT += 'curly-bangs-buns'
  38. elseif curly > 0 and hbangs > 0 and hscrunchw > 0:
  39. $RESULT += 'curly-bangs-scrunch'
  40. elseif curly > 0 and hbangs > 0:
  41. $RESULT += 'curly-bangs'
  42. elseif curly > 0 and hpingripw > 0:
  43. $RESULT += 'curly-buns'
  44. elseif curly > 0 and hscrunchw > 0:
  45. $RESULT += 'curly-scrunch'
  46. elseif hbangs > 0 and hpingripw > 0:
  47. $RESULT += 'bangs-buns'
  48. elseif hbangs > 0 and hscrunchw > 0:
  49. $RESULT += 'bangs-scrunch'
  50. elseif curly > 0:
  51. $RESULT += 'curly'
  52. elseif hbangs > 0:
  53. $RESULT += 'bangs'
  54. elseif hpingripw > 0:
  55. $RESULT += 'buns'
  56. elseif hscrunchw > 0:
  57. $RESULT += 'scrunch'
  58. else
  59. $RESULT += 'normal'
  60. end
  61. $RESULT += '/'
  62. !! color
  63. $RESULT += 'hcol<<hcol>>.jpg'
  64. --- face_image --------