123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- # $face_image
- if player_avatar = 1:$RESULT = 'images/avatar.jpg' & exit
- !! These images are missing from my copy of the image folder, so I am commenting them out for now
- !!if glass = 2:
- !! $RESULT = 'images/pc/body/hcolglass<<pcs_haircol>>.jpg'
- !! exit
- !!end
- !!if glass = 1:
- !! $RESULT = 'images/pc/body/nerd.jpg'
- !! exit
- !!end
- !!if shorthair = 1:
- !! $RESULT = 'images/pc/body/shcol<<pcs_haircol>>.jpg'
- !! exit
- !!end
- $RESULT = 'images/pc/body/hairstyles/'
- if pcs_haircol > 3:
- $RESULT += 'colours'
- jump 'skipsteps'
- end
- !! length
- if pcs_hairlng > 400:
- $RESULT += 'vlng'
- elseif pcs_hairlng > 260:
- $RESULT += 'lng'
- elseif pcs_hairlng > 160:
- $RESULT += 'medlo'
- elseif pcs_hairlng > 80:
- $RESULT += 'med'
- elseif pcs_hairlng > 30:
- $RESULT += 'short'
- else
- $RESULT += 'vshort'
- end
- $RESULT += '/'
- !! style for medium or longer hair
- if pcs_hairlng > 80:
- if hbraids > 0:
- $RESULT += 'braids'
- elseif hpigtail > 0:
- $RESULT += 'pigtails'
- elseif curly > 0 and hbangs > 0 and hpingripw > 0:
- $RESULT += 'curly-bangs-buns'
- elseif curly > 0 and hbangs > 0 and hscrunchw > 0:
- $RESULT += 'curly-bangs-scrunch'
- elseif curly > 0 and hbangs > 0:
- $RESULT += 'curly-bangs'
- elseif curly > 0 and hpingripw > 0:
- $RESULT += 'curly-buns'
- elseif curly > 0 and hscrunchw > 0:
- $RESULT += 'curly-scrunch'
- elseif hbangs > 0 and hpingripw > 0:
- $RESULT += 'bangs-buns'
- elseif hbangs > 0 and hscrunchw > 0:
- $RESULT += 'bangs-scrunch'
- elseif curly > 0:
- $RESULT += 'curly'
- elseif hbangs > 0:
- $RESULT += 'bangs'
- elseif hpingripw > 0:
- $RESULT += 'buns'
- elseif hscrunchw > 0:
- $RESULT += 'scrunch'
- else
- $RESULT += 'normal'
- end
- !! style for short hair (other images don't exist)
- elseif pcs_hairlng <= 80 and pcs_hairlng > 30:
- if hbangs > 0:
- $RESULT += 'bangs'
- else
- $RESULT += 'normal'
- end
- !! style for very short hair (other images don't exist)
- else
- $RESULT += 'normal'
- end
- :skipsteps
- $RESULT += '/'
- !! color
- $RESULT += 'hcol<<pcs_haircol>>.jpg'
- --- $face_image ---------------------------------
|