1
0

_pcs_outfit_image.qsrc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # $pcs_outfit_image
  2. !! get the image for clothing
  3. !! ARGS 0 - clothing group name
  4. !! ARGS 1 - clothing index
  5. $shop_name = $MID($ARGS[0],1,STRPOS($ARGS[0],'_')-1)
  6. $class_name = $MID($ARGS[0],STRPOS($ARGS[0],'_')+1,LEN($ARGS[0])-STRPOS($ARGS[0],'_'))
  7. if $ARGS[0] = 'misc_outfits':
  8. $RESULT = 'images/pc/items/misc/<<ARGS[1]>>.jpg'
  9. elseif $ARGS[0] = 'allure_swimsuit':
  10. $RESULT = 'images/pc/items/allure/one/<<ARGS[1]>>.jpg'
  11. elseif $ARGS[0] = 'allure_bikinis':
  12. $RESULT = 'images/pc/items/allure/two/<<ARGS[1]>>.jpg'
  13. elseif $ARGS[0] = 'scandalicious_swimsuit':
  14. $RESULT = 'images/pc/items/scandalicious/swim/one/<<ARGS[1]>>.jpg'
  15. elseif $ARGS[0] = 'scandalicious_bikinis':
  16. $RESULT = 'images/pc/items/scandalicious/swim/two/<<ARGS[1]>>.jpg'
  17. elseif $ARGS[0] = 'danilovich_swimsuit':
  18. $RESULT = 'images/pc/items/danilovich/swimwear/<<ARGS[1]>>.jpg'
  19. elseif $ARGS[0] = 'market_outfits':
  20. $RESULT = 'images/pc/items/market/clothes/<<ARGS[1]>>.jpg'
  21. elseif $ARGS[0] = 'materinstvo_dress':
  22. $RESULT = 'images/pc/items/mommy/<<ARGS[1]>>.jpg'
  23. elseif $ARGS[0] = 'nerdvana_bikinis':
  24. $RESULT = 'images/pc/items/nerdvana/swim/two/<<ARGS[1]>>.jpg'
  25. elseif $ARGS[0] = 'nerdvana_swimsuit':
  26. $RESULT = 'images/pc/items/nerdvana/swim/one/<<ARGS[1]>>.jpg'
  27. else
  28. $RESULT = 'images/pc/items/<<$shop_name>>/<<$class_name>>/<<ARGS[1]>>.jpg'
  29. end
  30. --- $pcs_outfit_image ---------------------------------