1
1

clothing_QV 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. # clothing_QV
  2. if $ARGS[0] = 'list':
  3. '<center><table border=1><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe''">Wardrobe </a></TH><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''store''">Storage</a></TH><TH><a href="exec:gt ''clothing'', ''view_clothing_list'', ''unwanted''">Unwanted</a></TH><TH><a href="exec:gt ''clothing_QV'', ''list''">Pick something to wear</a></TH></center>'
  4. if $clothingworntype ! 'nude':
  5. act 'Strip':gt 'clothing_QV', 'strip'
  6. end
  7. if tanga = 0 and clrbelo > 0:
  8. act 'Wear underwear':
  9. cla
  10. tanga = 1
  11. clrbelo -= 1
  12. gt $curloc, 'list'
  13. end
  14. elseif tanga = 1:
  15. act 'Take off your underwear':
  16. cla
  17. tanga = 0
  18. dirtbelo += 1
  19. gt $curloc, 'list'
  20. end
  21. end
  22. act 'Leave':gt $loc, $metka
  23. if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0 and schoolS[6] = 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''school'', 6"><img src="images/pc/clothing/6school/6.jpg" height="250" /></a>'
  24. i = 1
  25. :loopcheap
  26. gs 'clothing_attributes', 'cheap', i
  27. if CloExhibit <= pcs_exhibition:
  28. if CloStyle ! 5:
  29. if cheap[i] = 1 and cheapS[i] = 0 and cheapH[i] > 0 and cheapB[i] >= (pcs_hips - 8) and cheapB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''cheap'', <<i>>"><img src="images/pc/clothing/1cheap/<<i>>.jpg" height="250" /></a>'
  30. else
  31. if cheap[i] = 1 and cheapS[i] = 0 and cheapH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''cheap'', <<i>>"><img src="images/pc/clothing/1cheap/<<i>>.jpg" height="250" /></a>'
  32. end
  33. end
  34. i += 1
  35. if i <= 86:jump 'loopcheap'
  36. i = 1
  37. :loopaverage
  38. gs 'clothing_attributes', 'average', i
  39. if CloExhibit <= pcs_exhibition:
  40. if CloStyle ! 5:
  41. if average[i] = 1 and averageS[i] = 0 and averageH[i] > 0 and averageB[i] >= (pcs_hips - 8) and averageB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''average'', <<i>>"><img src="images/pc/clothing/2average/<<i>>.jpg" height="250" /></a>'
  42. else
  43. if average[i] = 1 and averageS[i] = 0 and averageH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''average'', <<i>>"><img src="images/pc/clothing/2average/<<i>>.jpg" height="250" /></a>'
  44. end
  45. end
  46. i += 1
  47. if i <= 132:jump 'loopaverage'
  48. i = 1
  49. :loopexpensive
  50. gs 'clothing_attributes', 'expensive', i
  51. if CloExhibit <= pcs_exhibition:
  52. if CloStyle ! 5:
  53. if expensive[i] = 1 and expensiveS[i] = 0 and expensiveH[i] > 0 and expensiveB[i] >= (pcs_hips - 8) and expensiveB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''expensive'', <<i>>"><img src="images/pc/clothing/3expensive/<<i>>.jpg" height="250" /></a>'
  54. else
  55. if expensive[i] = 1 and expensiveS[i] = 0 and expensiveH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''expensive'', <<i>>"><img src="images/pc/clothing/3expensive/<<i>>.jpg" height="250" /></a>'
  56. end
  57. end
  58. i += 1
  59. if i <= 150:jump 'loopexpensive'
  60. i = 1
  61. :loopformal
  62. gs 'clothing_attributes', 'formal', i
  63. if CloExhibit <= pcs_exhibition:
  64. if formal[i] = 1 and formalS[i] = 0 and formalH[i] > 0 and formalB[i] >= (pcs_hips - 8) and formalB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''formal'', <<i>>"><img src="images/pc/clothing/4formal/<<i>>.jpg" height="250" /></a>'
  65. end
  66. i += 1
  67. if i <= 33:jump 'loopformal'
  68. i = 1
  69. :loopoffice
  70. gs 'clothing_attributes', 'formal', i
  71. if CloExhibit <= pcs_exhibition:
  72. if office[i] = 1 and officeS[i] = 0 and officeH[i] > 0 and officeB[i] >= (pcs_hips - 8) and officeB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''office'', <<i>>"><img src="images/pc/clothing/5office/<<i>>.jpg" height="250" /></a>'
  73. end
  74. i += 1
  75. if i <= 44:jump 'loopoffice'
  76. i = 1
  77. :loopschool
  78. gs 'clothing_attributes', 'formal', i
  79. if CloExhibit <= pcs_exhibition:
  80. if school[i] = 1 and schoolS[i] = 0 and schoolH[i] > 0 and schoolB[i] >= (pcs_hips - 8) and schoolB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''school'', <<i>>"><img src="images/pc/clothing/6school/<<i>>.jpg" height="250" /></a>'
  81. end
  82. i += 1
  83. if i = 6: i = 7
  84. if i <= 38:jump 'loopschool'
  85. i = 1
  86. :loopexercise
  87. gs 'clothing_attributes', 'formal', i
  88. if CloExhibit <= pcs_exhibition:
  89. if exercise[i] = 1 and exerciseS[i] = 0 and exerciseH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exercise'', <<i>>"><img src="images/pc/clothing/7exercise/<<i>>.jpg" height="250" /></a>'
  90. end
  91. i += 1
  92. if i <= 37:jump 'loopexercise'
  93. i = 1
  94. :loopfetish
  95. gs 'clothing_attributes', 'formal', i
  96. if CloExhibit <= pcs_exhibition:
  97. if fetish[i] = 1 and fetishS[i] = 0 and fetishH[i] > 0 and fetishB[i] >= (pcs_hips - 8) and fetishB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''fetish'', <<i>>"><img src="images/pc/clothing/8fetish/<<i>>.jpg" height="250" /></a>'
  98. end
  99. i += 1
  100. if i <= 54:jump 'loopfetish'
  101. i = 1
  102. :loopexhibit
  103. gs 'clothing_attributes', 'formal', i
  104. if CloExhibit <= pcs_exhibition:
  105. if exhibit[i] = 1 and exhibitS[i] = 0 and exhibitH[i] > 0 and exhibitB[i] >= (pcs_hips - 8) and exhibitB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exhibit'', <<i>>"><img src="images/pc/clothing/9exhibit/<<i>>.jpg" height="250" /></a>'
  106. end
  107. i += 1
  108. if i <= 42:jump 'loopexhibit'
  109. i = 1
  110. :loopuniform
  111. gs 'clothing_attributes', 'formal', i
  112. if CloExhibit <= pcs_exhibition:
  113. if uniform[i] = 1 and uniformS[i] = 0 and uniformH[i] > 0 and uniformB[i] >= (pcs_hips - 8) and uniformB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''uniform'', <<i>>"><img src="images/pc/clothing/10uniform/<<i>>.jpg" height="250" /></a>'
  114. end
  115. i += 1
  116. if i <= 32:jump 'loopuniform'
  117. i = 1
  118. :loopburlesque
  119. gs 'clothing_attributes', 'formal', i
  120. if CloExhibit <= pcs_exhibition:
  121. if burlesque[i] = 1 and burlesqueS[i] = 0 and burlesqueH[i] > 0 and burlesqueB[i] >= (pcs_hips - 8) and burlesqueB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''burlesque'', <<i>>"><img src="images/pc/clothing/13burlesque/<<i>>.jpg" height="250" /></a>'
  122. end
  123. i += 1
  124. if i <= 22:jump 'loopburlesque'
  125. end
  126. if $ARGS[0] = 'cloak':
  127. i = 1
  128. :loopcoat
  129. if coat[i] = 1 and coatH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''coat'', <<i>>"><img src="images/pc/clothing/11coat/<<i>>.jpg" height="250" /></a>'
  130. i += 1
  131. if i <= 12:jump 'loopcoat'
  132. end
  133. if $ARGS[0] = 'strip':
  134. if tanga = 1:
  135. '<center><img src="images/pc/clothing/nude.jpg"></center>'
  136. '<center>You strip down to your panties.</center>'
  137. else
  138. '<center><img src="images/pc/clothing/nude1.jpg"></center>'
  139. '<center>You strip completely naked.</center>'
  140. end
  141. gs 'clothing', 'strip'
  142. act 'Choose something to wear':gt 'clothing_QV', 'list'
  143. act 'Leave':gt $loc, $metka
  144. end
  145. if $ARGS[0] = 'change':
  146. *clr
  147. cla
  148. '<center><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>"></center>'
  149. $RESULT = FUNC('$short_description', $ARGS[1])
  150. $RESULT += '<<ARGS[2]>>'
  151. '<<$RESULT>>'
  152. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  153. if $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear':
  154. gs 'clothing_descriptions'
  155. '<<$description>>'
  156. else
  157. FUNC('$clothing_name', $ARGS[1], ARGS[2])
  158. end
  159. if CloBimbo = 1:'This item is considered bimbo clothing.'
  160. if PCloStyle = 4:'This outfit can be used for prostitution.'
  161. if $ARGS[1] = 'uniform':
  162. if CloStyle2 = 1:
  163. 'This outfit is considered to be a maid uniform.'
  164. else
  165. 'This outfit is a server uniform, suitable for jobs that require one.'
  166. end
  167. end
  168. if $ARGS[2] = 'school':
  169. if CloSkirtShortness < 5:
  170. '<font color="blue">This uniform complies with the school regulations on skirt length.</font>'
  171. elseif CloSkirtShortness = 5:
  172. '<font color="blue">This uniform slightly breaches the school regulations on skirt length.</font>'
  173. else
  174. '<font color="red">This uniform makes a mockery of the school uniform regulations.</font>'
  175. end
  176. end
  177. if $clothingworntype = $ARGS[1] and clothingwornnumber = ARGS[2]:
  178. 'You are wearing this outfit.'
  179. elseif CloExhibit > pcs_exhibition:
  180. 'You don''t feel confident enough to wear an outfit this revealing.'
  181. elseif ARRPOS('$CloLosTyp', $ARGS[1]) ! -1 and ARRPOS('CloLosNum',ARGS[2]) ! -1 :
  182. 'You lost these clothes somewhere, maybe you can find them again?.'
  183. else
  184. act 'Wear this outfit':
  185. gs 'clothing', 'wear', $ARGS[1], ARGS[2]
  186. dynamic $ARGS[1] + 'W[<<ARGS[2]>>] = 1'
  187. gt $loc, $metka
  188. end
  189. end
  190. act 'Choose another outfit': gt 'clothing_QV', 'list'
  191. act 'Leave':gt $loc, $metka
  192. end
  193. --- clothing_QV ---------------------------------