clothing_QV 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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/school6.jpg" height="250" /></a>'
  24. i = 1
  25. :loopcheap
  26. gs 'clothing_attributes', 'cheap', i
  27. if CloStyle ! 5:
  28. 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/cheap<<i>>.jpg" height="250" /></a>'
  29. else
  30. 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/cheap<<i>>.jpg" height="250" /></a>'
  31. end
  32. i += 1
  33. if i <= 85:jump 'loopcheap'
  34. i = 1
  35. :loopaverage
  36. gs 'clothing_attributes', 'average', i
  37. if CloStyle ! 5:
  38. 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/average<<i>>.jpg" height="250" /></a>'
  39. else
  40. 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/average<<i>>.jpg" height="250" /></a>'
  41. end
  42. i += 1
  43. if i <= 125:jump 'loopaverage'
  44. i = 1
  45. :loopexpensive
  46. gs 'clothing_attributes', 'expensive', i
  47. if CloStyle ! 5:
  48. 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/expensive<<i>>.jpg" height="250" /></a>'
  49. else
  50. 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/expensive<<i>>.jpg" height="250" /></a>'
  51. end
  52. i += 1
  53. if i <= 147:jump 'loopexpensive'
  54. i = 1
  55. :loopformal
  56. 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/formal<<i>>.jpg" height="250" /></a>'
  57. i += 1
  58. if i <= 14:jump 'loopformal'
  59. i = 1
  60. :loopoffice
  61. 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/office<<i>>.jpg" height="250" /></a>'
  62. i += 1
  63. if i <= 30:jump 'loopoffice'
  64. i = 1
  65. :loopschool
  66. 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/school<<i>>.jpg" height="250" /></a>'
  67. i += 1
  68. if i = 6: i = 7
  69. if i <= 35:jump 'loopschool'
  70. i = 1
  71. :loopexercise
  72. 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/exercise<<i>>.jpg" height="250" /></a>'
  73. i += 1
  74. if i <= 26:jump 'loopexercise'
  75. i = 1
  76. :loopfetish
  77. 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>'
  78. i += 1
  79. if i <= 54:jump 'loopfetish'
  80. i = 1
  81. :loopexhibit
  82. 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/exhibit<<i>>.jpg" height="250" /></a>'
  83. i += 1
  84. if i <= 30:jump 'loopexhibit'
  85. i = 1
  86. :loopuniform
  87. 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/uniform<<i>>.jpg" height="250" /></a>'
  88. i += 1
  89. if i <= 24:jump 'loopuniform'
  90. i = 1
  91. :loopburlesque
  92. 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>'
  93. i += 1
  94. if i <= 24:jump 'loopburlesque'
  95. end
  96. if $ARGS[0] = 'cloak':
  97. i = 1
  98. :loopcoat
  99. if coat[i] = 1 and coatH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''coat'', <<i>>"><img src="images/pc/clothing/11coat/coat<i>>.jpg" height="250" /></a>'
  100. i += 1
  101. if i <= 12:jump 'loopcoat'
  102. end
  103. if $ARGS[0] = 'strip':
  104. if tanga = 1:
  105. '<center><img src="images/pc/clothing/nude.jpg"></center>'
  106. '<center>You strip down to your panties.</center>'
  107. else
  108. '<center><img src="images/pc/clothing/nude1.jpg"></center>'
  109. '<center>You strip completely naked.</center>'
  110. end
  111. gs 'clothing', 'strip'
  112. act 'Choose something to wear':gt 'clothing_QV', 'list'
  113. act 'Leave':gt $loc, $metka
  114. end
  115. if $ARGS[0] = 'change':
  116. *clr
  117. cla
  118. '<center><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>"></center>'
  119. $RESULT = FUNC('$short_description', $ARGS[1])
  120. $RESULT += '<<ARGS[2]>>'
  121. '<<$RESULT>>'
  122. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  123. if $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear':
  124. gs 'clothing_descriptions'
  125. '<<$description>>'
  126. else
  127. FUNC('$clothing_name', $ARGS[1], ARGS[2])
  128. end
  129. if CloBimbo = 1:'This item is considered bimbo clothing.'
  130. if PCloStyle = 4:'This outfit can be used for prostitution.'
  131. if $ARGS[1] = 'uniform':
  132. if CloStyle2 = 1:
  133. 'This outfit is considered to be a maid uniform.'
  134. else
  135. 'This outfit is a server uniform, suitable for jobs that require one.'
  136. end
  137. end
  138. if $ARGS[2] = 'school':
  139. if CloSkirtShortness < 5:
  140. '<font color="blue">This uniform complies with the school regulations on skirt length.</font>'
  141. elseif CloSkirtShortness = 5:
  142. '<font color="blue">This uniform slightly breaches the school regulations on skirt length.</font>'
  143. else
  144. '<font color="red">This uniform makes a mockery of the school uniform regulations.</font>'
  145. end
  146. end
  147. if $clothingworntype = $ARGS[1] and clothingwornnumber = ARGS[2]:
  148. 'You are wearing this outfit.'
  149. else
  150. act 'Wear this outfit':
  151. gs 'clothing', 'wear', $ARGS[1], ARGS[2]
  152. dynamic $ARGS[1] + 'W[<<ARGS[2]>>] = 1'
  153. gt $loc, $metka
  154. end
  155. end
  156. act 'Choose another outfit': gt 'clothing_QV', 'list'
  157. act 'Leave':gt $loc, $metka
  158. end
  159. --- clothing_QV ---------------------------------