clothing_QV 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. act 'Strip':gt 'clothing_QV', 'strip'
  5. act 'Leave':gt $loc, $metka
  6. i = 1
  7. :loopcheap
  8. gs 'clothing_attributes', 'cheap', i
  9. if CloStyle ! 5:
  10. 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>'
  11. else
  12. 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>'
  13. end
  14. i += 1
  15. if i <= 85:jump 'loopcheap'
  16. i = 1
  17. :loopaverage
  18. gs 'clothing_attributes', 'cheap', i
  19. if CloStyle ! 5:
  20. 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>'
  21. else
  22. 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>'
  23. end
  24. i += 1
  25. if i <= 125:jump 'loopaverage'
  26. i = 1
  27. :loopexpensive
  28. gs 'clothing_attributes', 'cheap', i
  29. if CloStyle ! 5:
  30. 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>'
  31. else
  32. 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>'
  33. end
  34. i += 1
  35. if i <= 147:jump 'loopexpensive'
  36. i = 1
  37. :loopformal
  38. 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>'
  39. i += 1
  40. if i <= 14:jump 'loopformal'
  41. i = 1
  42. :loopoffice
  43. 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>'
  44. i += 1
  45. if i <= 30:jump 'loopoffice'
  46. i = 1
  47. :loopschool
  48. 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>'
  49. i += 1
  50. if i = 6: i = 7
  51. if i <= 14:jump 'loopschool'
  52. i = 1
  53. :loopexercise
  54. 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>'
  55. i += 1
  56. if i <= 26:jump 'loopexercise'
  57. i = 1
  58. :loopnaughty
  59. 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>'
  60. i += 1
  61. if i <= 67:jump 'loopnaughty'
  62. i = 1
  63. :loopexhibit
  64. 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>'
  65. i += 1
  66. if i <= 30:jump 'loopexhibit'
  67. i = 1
  68. :loopuniform
  69. 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>'
  70. i += 1
  71. if i <= 24:jump 'loopuniform'
  72. end
  73. if $ARGS[0] = 'cloak':
  74. i = 1
  75. :loopcoat
  76. 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>'
  77. i += 1
  78. if i <= 12:jump 'loopcoat'
  79. end
  80. if $ARGS[0] = 'strip':
  81. if tanga = 1:
  82. '<center><img src="images/clothes/nude.jpg"></center>'
  83. '<center>You strip down to your panties.</center>'
  84. else
  85. '<center><img src="images/clothes/nude1.jpg"></center>'
  86. '<center>You strip completely naked.</center>'
  87. end
  88. gs 'clothing', 'strip'
  89. act 'Choose something to wear':gt 'clothing_QV', 'list'
  90. act 'Leave':gt $loc, $metka
  91. end
  92. if $ARGS[0] = 'change':
  93. *clr
  94. cla
  95. '<center><img src="<<FUNC(''$clothing_image'', $ARGS[1], ARGS[2])>>"></center>'
  96. $RESULT = FUNC('$short_description', $ARGS[1])
  97. $RESULT += '<<ARGS[2]>>'
  98. '<<$RESULT>>'
  99. gs 'clothing_attributes', $ARGS[1], ARGS[2]
  100. if $ARGS[1] ! 'coat' and $ARGS[1] ! 'swimwear':
  101. gs 'clothing_descriptions'
  102. '<<$description>>'
  103. else
  104. FUNC('$clothing_name', $ARGS[1], ARGS[2])
  105. end
  106. if CloBimbo = 1:'This item is considered bimbo clothing.'
  107. if $ARGS[1] = 'naughty' and CloQuality < 4:'This outfit can be used for prostitution.'
  108. if $ARGS[1] = 'uniform':
  109. if CloStyle2 = 1:
  110. 'This outfit is considered to be a maid uniform.'
  111. else
  112. 'This outfit is a server uniform, suitable for jobs that require one.'
  113. end
  114. end
  115. if $clothingworntype = $ARGS[1] and clothingwornnumber = ARGS[2]:
  116. 'You are wearing this outfit.'
  117. else
  118. act 'Wear this outfit':
  119. gs 'clothing', 'wear', $ARGS[1], ARGS[2]
  120. dynamic $ARGS[1] + 'W[<<ARGS[2]>>] = 1'
  121. gt $loc, $metka
  122. end
  123. end
  124. act 'Choose another outfit': gt 'clothing_QV', 'list'
  125. act 'Leave':gt $loc, $metka
  126. end
  127. --- clothing_QV ---------------------------------