_body_image.qsrc 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. # $body_image
  2. !This function will return url of image, and set additional texts to $body_image_msg
  3. !for example, you can VIEW FUNC('$body_image', 'body') to view body image in popup window, and
  4. !pl $body_image_msg to display extra texts
  5. $body_image_msg = ''
  6. if $ARGS[0] = 'body':
  7. !!!! $result = func('body_bmi_stren', 'body_img', pcs_bmi, 'strenbuf')
  8. bodyVars['img'] = func('body_structure', 'body_img', pcs_bmi, 'strenbuf')
  9. $result = bodyVars['img']
  10. body_image_msg += 'You are <<pcs_hgt>>cm tall and <<$bodyVars[''desc'']>>'
  11. end
  12. if $ARGS[0] = 'coat':
  13. if $coatworntype = 'none':
  14. $RESULT = ''
  15. $body_image_msg += 'You will not wear a coat outside.'
  16. $body_image_msg += '<br>Your health will suffer if you don''t wear a coat in the winter.'
  17. else
  18. $RESULT = 'images/pc/items/<<$coatworntype>>/coats/<<coatwornnumber>>.jpg'
  19. $body_image_msg += 'Your current coat is <<$coatworntype>> no.<<coatwornnumber>>.<br>'
  20. !make sure to sync these with [outdoors]~364
  21. if PCoatWarm = 1:
  22. $body_image_msg += 'It''ll keep you fairly warm down to -10C.'
  23. elseif PCoatWarm = 2:
  24. $body_image_msg += 'It will handle temperatures down to -20C.'
  25. elseif PCoatWarm = 3:
  26. $body_image_msg += 'You will be nice and warm even in the depths of winter.'
  27. end
  28. end
  29. end
  30. if $ARGS[0] = 'clothes':
  31. if $clothingworntype = 'nude' and towel = 1 and $pantyworntype = 'none':
  32. $RESULT = 'images/pc/body/towel.jpg'
  33. $body_image_msg += 'You are only wearing a towel'
  34. elseif $clothingworntype = 'nude' and robe = 1:
  35. $RESULT = 'images/pc/body/robe.jpg'
  36. $body_image_msg += 'You are only wearing a robe'
  37. elseif $clothingworntype = 'nude' and $pantyworntype ! 'none':
  38. $RESULT = 'images/pc/body/nude.jpg'
  39. $body_image_msg += 'You are only wearing panties'
  40. elseif $clothingworntype = 'nude' and $pantyworntype = 'none':
  41. $RESULT = 'images/pc/body/nude1.jpg'
  42. $body_image_msg += 'You are completely naked.'
  43. elseif $clothingworntype = 'misc_outfits' and clothingwornnumber = 1:
  44. $RESULT = FUNC('$clothing_image', $clothingworntype, clothingwornnumber)
  45. $body_image_msg += 'You are wearing a hessian sack the hunters gave you.'
  46. else
  47. $RESULT = FUNC('$clothing_image', $clothingworntype, clothingwornnumber)
  48. $body_image_msg += 'You are wearing ' + FUNC('$short_description', $clothingworntype) + '<<clothingwornnumber>>.'
  49. if PClobimbo = 1:$body_image_msg += '<br>You are dressed like a bimbo.'
  50. if $clothingworntype ! 'coat' and PCloswimwear = 0:
  51. gs 'clothing_attributes', $clothingworntype, clothingwornnumber
  52. gs 'clothing_descriptions'
  53. $body_image_msg += '<br><<$description>>'
  54. else
  55. if $clothingworntype = 'danilovich_swimsuit':
  56. FUNC('$attributes_danilovich_swim_one', $clothingworntype, clothingwornnumber)
  57. $body_image_msg += $swimwear_description
  58. elseif $clothingworntype = 'scandalicious_swimsuit':
  59. FUNC('$attributes_scandalicious_swim_one', $clothingworntype, clothingwornnumber)
  60. $body_image_msg += $swimwear_description
  61. elseif $clothingworntype = 'scandalicious_bikinis':
  62. FUNC('$attributes_scandalicious_swim_two', $clothingworntype, clothingwornnumber)
  63. $body_image_msg += $swimwear_description
  64. elseif $clothingworntype = 'allure_swimsuit':
  65. FUNC('$attributes_allure_swim_one', $clothingworntype, clothingwornnumber)
  66. $body_image_msg += $swimwear_description
  67. elseif $clothingworntype = 'allure_bikinis':
  68. FUNC('$attributes_allure_swim_two', $clothingworntype, clothingwornnumber)
  69. $body_image_msg += $swimwear_description
  70. elseif $clothingworntype = 'nerdvana_swimsuit':
  71. FUNC('$attributes_nerdvana_swim_one', $clothingworntype, clothingwornnumber)
  72. $body_image_msg += $swimwear_description
  73. elseif $clothingworntype = 'nerdvana_bikinis':
  74. FUNC('$attributes_nerdvana_swim_two', $clothingworntype, clothingwornnumber)
  75. $body_image_msg += $swimwear_description
  76. end
  77. end
  78. if $clothingworntype = 'gm_maid' or PCloStyle2 = 1:
  79. $body_image_msg += '<br>This outfit is considered to be a maid uniform.'
  80. elseif $clothingworntype = 'gm_server' or PCloStyle2 = 2:
  81. $body_image_msg += '<br>This outfit is a server uniform, suitable for jobs that require one.'
  82. elseif $clothingworntype = 'eroto_strip' or PCloStyle2 = 3:
  83. $body_image_msg += '<br>This is a stripper outfit.'
  84. end
  85. end
  86. end
  87. if $ARGS[0] = 'panties':
  88. if $pantyworntype = 'none':
  89. $RESULT = FUNC('$pube_image')
  90. $body_image_msg += 'You are not wearing any panties.'
  91. else
  92. $RESULT = FUNC('$panty_image', $pantyworntype, pantywornnumber)
  93. !Kevin, please edit this line. I can not find panties description
  94. !$body_image_msg += 'You are wearing ' + FUNC('$shoe_description', $shoeworntype) + '<<shoewornnumber>>.'
  95. $body_image_msg += 'You are wearing <<$pantyworntype>> panty <<pantywornnumber>>'
  96. end
  97. end
  98. if $ARGS[0] = 'bra':
  99. if $braworntype = 'none':
  100. $RESULT = 'images/pc/body/tits/t<<tits>>.jpg'
  101. $body_image_msg += 'You are not wearing a bra. Your breasts would be considered an EU <<$titsize>>'
  102. else
  103. $RESULT = FUNC('$bra_image', $braworntype, brawornnumber)
  104. !Kevin, please edit this line. I can not find bra description
  105. !$body_image_msg += 'You are wearing ' + FUNC('$shoe_description', $shoeworntype) + '<<shoewornnumber>>.'
  106. $body_image_msg += 'You are wearing <<$braworntype>> bra <<brawornnumber>>. Your breasts would be considered an EU <<$titsize>>'
  107. end
  108. end
  109. if $ARGS[0] = 'bodysuit':
  110. if $braworntype = 'none':
  111. $RESULT = 'images/pc/body/tits/t<<tits>>.jpg'
  112. $body_image_msg += 'You are not wearing a bodysuit. Your breasts would be considered an EU <<$titsize>>'
  113. else
  114. $RESULT = FUNC('$pcs_outfit_image', $bodysuitworntype+'_bodysuits', bodysuitwornnumber)
  115. $body_image_msg += 'You are wearing <<$bodysuitworntype>> bodysuit <<bodysuitwornnumber>>. Your breasts would be considered an EU <<$titsize>>'
  116. end
  117. end
  118. if $ARGS[0] = 'shoes':
  119. if $clothingworntype = 'nude' or $shoeworntype = 'none':
  120. $RESULT = 'images/pc/body/feet.jpg'
  121. else
  122. $RESULT = FUNC('$shoe_image', $shoeworntype, shoewornnumber)
  123. $body_image_msg += 'You are wearing ' + FUNC('$shoe_description', $shoeworntype) + '<<shoewornnumber>>.'
  124. end
  125. end
  126. --- $body_image ---------------------------------