clothing_QV 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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':
  23. if $clothingworntype ! 'nude' or $loc ! 'gschool':
  24. gt $loc, $metka
  25. else
  26. msg'<b><font color = red>You need to get dressed.</font></b>'
  27. gt 'clothing_QV', 'list'
  28. end
  29. end
  30. if StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''school'', 6"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/6school/School6.jpg" height="250" /></div></a>'
  31. i = 1
  32. :loopcheap
  33. gs 'clothing_attributes', 'cheap', i
  34. if CloStyle ! 5:
  35. if cheap[i] = 1 and cheapS[i] = 0 and cheapH[i] > 0 and cheapB[i] >= (bedra - 8) and cheapB[i] <= (bedra + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''cheap'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/1cheap/Cheap<<i>>.jpg" height="250" /></div></a>'
  36. else
  37. if cheap[i] = 1 and cheapS[i] = 0 and cheapH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''cheap'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/1cheap/Cheap<<i>>.jpg" height="250" /></div></a>'
  38. end
  39. i += 1
  40. if i <= 85:jump 'loopcheap'
  41. i = 1
  42. :loopaverage
  43. gs 'clothing_attributes', 'cheap', i
  44. if CloStyle ! 5:
  45. if average[i] = 1 and averageS[i] = 0 and averageH[i] > 0 and averageB[i] >= (bedra - 8) and averageB[i] <= (bedra + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''average'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/2average/Average<<i>>.jpg" height="250" /></div></a>'
  46. else
  47. if average[i] = 1 and averageS[i] = 0 and averageH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''average'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/2average/Average<<i>>.jpg" height="250" /></div></a>'
  48. end
  49. i += 1
  50. if i <= 125:jump 'loopaverage'
  51. i = 1
  52. :loopexpensive
  53. gs 'clothing_attributes', 'cheap', i
  54. if CloStyle ! 5:
  55. if expensive[i] = 1 and expensiveS[i] = 0 and expensiveH[i] > 0 and expensiveB[i] >= (bedra - 8) and expensiveB[i] <= (bedra + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''expensive'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/3expensive/Expensive<<i>>.jpg" height="250" /></div></a>'
  56. else
  57. if expensive[i] = 1 and expensiveS[i] = 0 and expensiveH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''expensive'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/3expensive/Expensive<<i>>.jpg" height="250" /></div></a>'
  58. end
  59. i += 1
  60. if i <= 147:jump 'loopexpensive'
  61. i = 1
  62. :loopformal
  63. if formal[i] = 1 and formalS[i] = 0 and formalH[i] > 0 and formalB[i] >= (bedra - 8) and formalB[i] <= (bedra + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''formal'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/4formal/Formal<<i>>.jpg" height="250" /></div></a>'
  64. i += 1
  65. if i <= 14:jump 'loopformal'
  66. i = 1
  67. :loopoffice
  68. if office[i] = 1 and officeS[i] = 0 and officeH[i] > 0 and officeB[i] >= (bedra - 8) and officeB[i] <= (bedra + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''office'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/5office/Office<<i>>.jpg" height="250" /></div></a>'
  69. i += 1
  70. if i <= 30:jump 'loopoffice'
  71. i = 1
  72. :loopschool
  73. if school[i] = 1 and schoolS[i] = 0 and schoolH[i] > 0 and schoolB[i] >= (bedra - 8) and schoolB[i] <= (bedra + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''school'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/6school/School<<i>>.jpg" height="250" /></div></a>'
  74. i += 1
  75. if i = 6: i = 7
  76. if i <= 14:jump 'loopschool'
  77. i = 1
  78. :loopexercise
  79. if exercise[i] = 1 and exerciseS[i] = 0 and exerciseH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exercise'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/7exercise/Exercise<<i>>.jpg" height="250" /></div></a>'
  80. i += 1
  81. if i <= 26:jump 'loopexercise'
  82. i = 1
  83. :loopnaughty
  84. if naughty[i] = 1 and naughtyS[i] = 0 and naughtyH[i] > 0 and naughtyB[i] >= (bedra - 8) and naughtyB[i] <= (bedra + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''naughty'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/8naughty/Naughty<<i>>.jpg" height="250" /></div></a>'
  85. i += 1
  86. if i <= 67:jump 'loopnaughty'
  87. i = 1
  88. :loopexhibit
  89. if exhibit[i] = 1 and exhibitS[i] = 0 and exhibitH[i] > 0 and exhibitB[i] >= (bedra - 8) and exhibitB[i] <= (bedra + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''exhibit'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/9exhibit/Exhibit<<i>>.jpg" height="250" /></div></a>'
  90. i += 1
  91. if i <= 30:jump 'loopexhibit'
  92. i = 1
  93. :loopuniform
  94. if uniform[i] = 1 and uniformS[i] = 0 and uniformH[i] > 0 and uniformB[i] >= (bedra - 8) and uniformB[i] <= (bedra + 8):*p '<a href="exec:gt ''clothing_QV'', ''change'', ''uniform'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/10uniform/Uniform<<i>>.jpg" height="250" /></div></a>'
  95. i += 1
  96. if i <= 24:jump 'loopuniform'
  97. end
  98. if $ARGS[0] = 'cloak':
  99. i = 1
  100. :loopcoat
  101. if coat[i] = 1 and coatH[i] > 0:*p '<a href="exec:gt ''clothing_QV'', ''change'', ''coat'', <<i>>"><div style="width:100%; max-width:250px; max-height:250px;"><img src="images/Clothing/11coat/Coat<i>>.jpg" height="250" /></div></a>'
  102. i += 1
  103. if i <= 12:jump 'loopcoat'
  104. end
  105. if $ARGS[0] = 'strip':
  106. if tanga = 1:
  107. '<center><img src="images/clothes/nude.jpg"></center>'
  108. '<center>You strip down to your panties.</center>'
  109. else
  110. '<center><img src="images/clothes/nude1.jpg"></center>'
  111. '<center>You strip completely naked.</center>'
  112. end
  113. gs 'clothing', 'strip'
  114. act 'Choose something to wear':gt 'clothing_QV', 'list'
  115. act 'Leave':
  116. if $clothingworntype ! 'nude' or $loc ! 'gschool':
  117. gt $loc, $metka
  118. else
  119. msg'<b><font color = red>You need to get dressed.</font></b>'
  120. gt 'clothing_QV', 'list'
  121. end
  122. end
  123. end
  124. if $ARGS[0] = 'change':
  125. *clr
  126. cla
  127. '<center><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>"></center>'
  128. $RESULT = FUNC('$short_description', $ARGS[1])
  129. $RESULT += '<<ARGS[2]>>'
  130. '<<$RESULT>>'
  131. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  132. if $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear':
  133. gs 'clothing_descriptions'
  134. '<<$description>>'
  135. else
  136. FUNC('$clothing_name', $ARGS[1], ARGS[2])
  137. end
  138. if CloBimbo = 1:'This item is considered bimbo clothing.'
  139. if $ARGS[1] = 'naughty' and CloQuality < 4:'This outfit can be used for prostitution.'
  140. if $ARGS[1] = 'uniform':
  141. if CloStyle2 = 1:
  142. 'This outfit is considered to be a maid uniform.'
  143. else
  144. 'This outfit is a server uniform, suitable for jobs that require one.'
  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':
  158. if $clothingworntype ! 'nude' or $loc ! 'gschool':
  159. gt $loc, $metka
  160. else
  161. msg'<b><font color = red>You need to get dressed.</font></b>'
  162. gt 'clothing_QV', 'list'
  163. end
  164. end
  165. end
  166. --- clothing_QV ---------------------------------