_body_image.qsrc 6.3 KB

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