_body_image.qsrc 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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 defaultcoat = 0:
  37. $RESULT = ''
  38. $body_image_msg += 'You have no default coat set.'
  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/clothing/11coat/<<defaultcoat>>.jpg'
  42. $body_image_msg += 'Your current default coat is Coat<<defaultcoat>>.<br>'
  43. !make sure to sync these with [outdoors]~364
  44. if defaultcoat_warmth = 1:
  45. $body_image_msg += 'It''ll keep you fairly warm down to -10C.'
  46. elseif defaultcoat_warmth = 2:
  47. $body_image_msg += 'It will handle temperatures down to -20C.'
  48. elseif defaultcoat_warmth = 3:
  49. $body_image_msg += 'You will be nice and warm even in the depths of winter.'
  50. else
  51. $body_image_msg += 'Your health will suffer if you don''t wear a coat in the winter.'
  52. end
  53. end
  54. end
  55. if $ARGS[0] = 'clothes':
  56. if $clothingworntype = 'nude' and towel = 1 and $pantyworntype = 'none':
  57. $RESULT = 'images/pc/body/towel.jpg'
  58. $body_image_msg += 'You are only wearing a towel'
  59. elseif $clothingworntype = 'nude' and robe = 1:
  60. $RESULT = 'images/pc/body/robe.jpg'
  61. $body_image_msg += 'You are only wearing a robe'
  62. elseif $clothingworntype = 'nude' and $pantyworntype ! 'none':
  63. $RESULT = 'images/pc/body/nude.jpg'
  64. $body_image_msg += 'You are only wearing panties'
  65. elseif $clothingworntype = 'nude' and $pantyworntype = 'none':
  66. $RESULT = 'images/pc/body/nude1.jpg'
  67. $body_image_msg += 'You are completely naked.'
  68. elseif $clothingworntype = 'misc_outfits' and clothingwornnumber = 1:
  69. $RESULT = FUNC('$clothing_image', $clothingworntype, clothingwornnumber)
  70. $body_image_msg += 'You are wearing a hessian sack the hunters gave you.'
  71. else
  72. $RESULT = FUNC('$clothing_image', $clothingworntype, clothingwornnumber)
  73. $body_image_msg += 'You are wearing ' + FUNC('$short_description', $clothingworntype, PCloStyle2) + '<<clothingwornnumber>>.'
  74. if PClobimbo = 1:$body_image_msg += '<br>You are dressed like a bimbo.'
  75. if $clothingworntype ! 'coat' and $clothingworntype ! 'swimwear':
  76. gs 'clothing_attributes', $clothingworntype, clothingwornnumber
  77. gs 'clothing_descriptions'
  78. $body_image_msg += '<br><<$description>>'
  79. else
  80. $body_image_msg += FUNC('$clothing_name', $clothingworntype, clothingwornnumber)
  81. end
  82. if $clothingworntype = 'uniform':
  83. if PCloStyle2 = 1:
  84. $body_image_msg += '<br>This outfit is considered to be a maid uniform.'
  85. elseif PCloStyle2 = 3:
  86. $body_image_msg += '<br>This is a stripper outfit.'
  87. else
  88. $body_image_msg += '<br>This outfit is a server uniform, suitable for jobs that require one.'
  89. end
  90. end
  91. end
  92. end
  93. if $ARGS[0] = 'panties':
  94. if $pantyworntype = 'none':
  95. $RESULT = FUNC('$pube_image')
  96. $body_image_msg += 'You are not wearing any panties.'
  97. else
  98. $RESULT = FUNC('$panty_image', $pantyworntype, pantywornnumber)
  99. !Kevin, please edit this line. I can not find panties description
  100. !$body_image_msg += 'You are wearing ' + FUNC('$shoe_description', $shoeworntype) + '<<shoewornnumber>>.'
  101. $body_image_msg += 'You are wearing <<$pantyworntype>> panty <<pantywornnumber>>'
  102. end
  103. end
  104. if $ARGS[0] = 'bra':
  105. if $braworntype = 'none':
  106. $RESULT = 'images/pc/body/tits/t<<tits>>.jpg'
  107. $body_image_msg += 'You are not wearing a bra. Your breasts would be considered an EU <<$titsize>>'
  108. else
  109. $RESULT = FUNC('$bra_image', $braworntype, brawornnumber)
  110. !Kevin, please edit this line. I can not find bra description
  111. !$body_image_msg += 'You are wearing ' + FUNC('$shoe_description', $shoeworntype) + '<<shoewornnumber>>.'
  112. $body_image_msg += 'You are wearing <<$braworntype>> bra <<brawornnumber>>. Your breasts would be considered an EU <<$titsize>>'
  113. end
  114. end
  115. if $ARGS[0] = 'shoes':
  116. if $clothingworntype = 'nude' or $shoeworntype = 'none':
  117. $RESULT = 'images/pc/body/feet.jpg'
  118. else
  119. $RESULT = FUNC('$shoe_image', $shoeworntype, shoewornnumber)
  120. $body_image_msg += 'You are wearing ' + FUNC('$shoe_description', $shoeworntype) + '<<shoewornnumber>>.'
  121. end
  122. end
  123. --- $body_image ---------------------------------