clothing_QV 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  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. dirtyclothes = 0
  5. swamp_clothes = 0
  6. if $clothingworntype ! 'nude':
  7. act 'Strip':gt 'clothing_QV', 'strip'
  8. end
  9. dynamic $wearpan
  10. dynamic $removepan
  11. act 'Leave':gt $loc, $metka
  12. 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>'
  13. i = 1
  14. :loopcheap
  15. if cheap[i] = 1:
  16. gs 'clothing_attributes', 'cheap', i
  17. if CloExhibit <= pcs_exhibition:
  18. if CloStyle ! 5:
  19. if 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>'
  20. else
  21. if 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>'
  22. end
  23. end
  24. end
  25. i += 1
  26. if i <= ARRSIZE('cheap'):jump 'loopcheap'
  27. i = 1
  28. :loopaverage
  29. if average[i] = 1:
  30. gs 'clothing_attributes', 'average', i
  31. if CloExhibit <= pcs_exhibition:
  32. if CloStyle ! 5:
  33. if 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>'
  34. else
  35. if 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>'
  36. end
  37. end
  38. end
  39. i += 1
  40. if i <= ARRSIZE('average'):jump 'loopaverage'
  41. i = 1
  42. :loopexpensive
  43. if expensive[i] = 1:
  44. gs 'clothing_attributes', 'expensive', i
  45. if CloExhibit <= pcs_exhibition:
  46. if CloStyle ! 5:
  47. if 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>'
  48. else
  49. if 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>'
  50. end
  51. end
  52. end
  53. i += 1
  54. if i <= ARRSIZE('expensive'):jump 'loopexpensive'
  55. i = 1
  56. :loopformal
  57. if formal[i] = 1:
  58. gs 'clothing_attributes', 'formal', i
  59. if CloExhibit <= pcs_exhibition:
  60. if 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>'
  61. end
  62. end
  63. i += 1
  64. if i <= ARRSIZE('formal'):jump 'loopformal'
  65. i = 1
  66. :loopoffice
  67. if office[i] = 1:
  68. gs 'clothing_attributes', 'office', i
  69. if CloExhibit <= pcs_exhibition:
  70. if 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>'
  71. end
  72. end
  73. i += 1
  74. if i <= ARRSIZE('office'):jump 'loopoffice'
  75. i = 1
  76. :loopschool
  77. if school[i] = 1:
  78. gs 'clothing_attributes', 'school', i
  79. if CloExhibit <= pcs_exhibition:
  80. if 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. end
  83. i += 1
  84. if i = 6: i = 7
  85. if i <= ARRSIZE('school'):jump 'loopschool'
  86. i = 1
  87. :loopexercise
  88. if exercise[i] = 1:
  89. gs 'clothing_attributes', 'exercise', i
  90. if CloExhibit <= pcs_exhibition:
  91. if 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>'
  92. end
  93. end
  94. i += 1
  95. if i <= ARRSIZE('exercise'):jump 'loopexercise'
  96. i = 1
  97. :loopfetish
  98. if fetish[i] = 1:
  99. gs 'clothing_attributes', 'fetish', i
  100. if CloExhibit <= pcs_exhibition:
  101. if 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>'
  102. end
  103. end
  104. i += 1
  105. if i <= ARRSIZE('fetish'):jump 'loopfetish'
  106. i = 1
  107. :loopexhibit
  108. if exhibit[i] = 1:
  109. gs 'clothing_attributes', 'exhibit', i
  110. if CloExhibit <= pcs_exhibition:
  111. if 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>'
  112. end
  113. end
  114. i += 1
  115. if i <= ARRSIZE('exhibit'):jump 'loopexhibit'
  116. i = 1
  117. :loopuniform
  118. if uniform[i] = 1:
  119. gs 'clothing_attributes', 'uniform', i
  120. if CloExhibit <= pcs_exhibition:
  121. if 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>'
  122. end
  123. end
  124. i += 1
  125. if i <= ARRSIZE('uniform'):jump 'loopuniform'
  126. i = 1
  127. :loopburlesque
  128. if burlesque[i] = 1:
  129. gs 'clothing_attributes', 'burlesque', i
  130. if CloExhibit <= pcs_exhibition:
  131. if 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>'
  132. end
  133. end
  134. i += 1
  135. if i <= ARRSIZE('burlesque'):jump 'loopburlesque'
  136. i = 1
  137. :loopalternative
  138. if alternative[i] = 1:
  139. gs 'clothing_attributes', 'alternative', i
  140. if CloExhibit <= pcs_exhibition:
  141. if alternativeS[i] = 0 and alternativeH[i] > 0 and alternativeB[i] >= (pcs_hips - 8) and alternativeB[i] <= (pcs_hips + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''alternative'', <<i>>"><img src="images/pc/clothing/14alternative/<<i>>.jpg" height="250" /></a>'
  142. end
  143. end
  144. i += 1
  145. if i <= ARRSIZE('alternative'):jump 'loopalternative'
  146. end
  147. if $ARGS[0] = 'cloak':
  148. i = 1
  149. :loopcoat
  150. if coat[i] = 1:
  151. if coatH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''coat'', <<i>>"><img src="images/pc/clothing/11coat/<<i>>.jpg" height="250" /></a>'
  152. end
  153. i += 1
  154. if i <= ARRSIZE('coat'):jump 'loopcoat'
  155. end
  156. if $ARGS[0] = 'strip':
  157. if $pantyworntype ! 'none':
  158. '<center><img src="images/pc/clothing/nude.jpg"></center>'
  159. '<center>You strip down to your panties.</center>'
  160. else
  161. '<center><img src="images/pc/clothing/nude1.jpg"></center>'
  162. '<center>You strip completely naked.</center>'
  163. end
  164. gs 'clothing', 'strip'
  165. act 'Choose something to wear':gt 'clothing_QV', 'list'
  166. act 'Leave':gt $loc, $metka
  167. end
  168. if $ARGS[0] = 'change':
  169. *clr
  170. cla
  171. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  172. '<center><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>"></center>'
  173. $RESULT = FUNC('$short_description', $ARGS[1], CloStyle2)
  174. $RESULT += '<<ARGS[2]>>'
  175. '<<$RESULT>>'
  176. if $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear':
  177. gs 'clothing_descriptions'
  178. '<<$description>>'
  179. else
  180. FUNC('$clothing_name', $ARGS[1], ARGS[2])
  181. end
  182. if CloBimbo = 1:'This item is considered bimbo clothing.'
  183. if CloStyle = 4:'This outfit can be used for prostitution.'
  184. if $ARGS[2] = 'uniform':
  185. if CloStyle2 = 1:
  186. 'This outfit is considered to be a maid uniform.'
  187. elseif CloStyle2 = 3:
  188. 'This is a stripper outfit.'
  189. else
  190. 'This outfit is a server uniform, suitable for jobs that require one.'
  191. end
  192. end
  193. if $ARGS[2] = 'school':
  194. if CloSkirtShortness < 5 and CloThinness < 5 and CloBra = 0:
  195. '<font color="blue">This uniform complies with the school regulations on skirt length.</font>'
  196. elseif CloSkirtShortness = 5 and CloThinness < 5 and CloBra = 0:
  197. '<font color="blue">This uniform slightly breaches the school regulations on skirt length.</font>'
  198. else
  199. '<font color="red">This uniform makes a mockery of the school uniform regulations.</font>'
  200. end
  201. end
  202. if $clothingworntype = $ARGS[1] and clothingwornnumber = ARGS[2]:
  203. 'You are wearing this outfit.'
  204. elseif CloExhibit > pcs_exhibition:
  205. 'You don''t feel confident enough to wear an outfit this revealing.'
  206. elseif ARRPOS('$CloLosTyp', $ARGS[1]) ! -1 and ARRPOS('CloLosNum',ARGS[2]) ! -1 :
  207. 'You lost these clothes somewhere, maybe you can find them again?.'
  208. else
  209. if CloExhibit + 10 > pcs_exhibition: 'You find this outfit more revealing than you are completely comfortable with but that makes it quite exciting too.'
  210. act 'Wear this outfit':
  211. gs 'clothing', 'wear', $ARGS[1], ARGS[2]
  212. dynamic $ARGS[1] + 'W[<<ARGS[2]>>] = 1'
  213. $clotype = $ARGS[1]
  214. gs 'shoes', 'setup'
  215. gs 'shoes', 'wear', $shoeworntype, shoewornnumber
  216. gt $loc, $metka
  217. end
  218. end
  219. act 'Choose another outfit': gt 'clothing_QV', 'list'
  220. act 'Leave':gt $loc, $metka
  221. end
  222. --- clothing_QV ---------------------------------