NewCloShop.qsrc 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. # NewCloShop
  2. $location_type = 'event'
  3. if $ARGS[0] = 'start':
  4. $loc_arg = 'start'
  5. $loc = 'NewCloShop'
  6. $menu_loc = 'NewCloShop'
  7. $menu_arg = 'start'
  8. killvar '$locclass'
  9. menu_off = 0
  10. !!Variable for buying underwear for Natasha so it only procs once per changingroom event
  11. NatbelQW['underwearShop'] = 0
  12. gs 'stat'
  13. gs 'themes', 'indoors'
  14. '<center><b><font color="maroon">Fashionista</font></b></center>'
  15. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/fashionista/fashinista.jpg"</center>'
  16. 'This shop features many big name brands and designer clothing. Even their bags look cool.'
  17. act 'Leave':
  18. minut += 3
  19. view
  20. gt 'torgcentr'
  21. end
  22. act 'View purses': minut += 5 & gt 'NewCloShop', 'purses'
  23. act 'Try on some clothes': gt 'NewCloShop', 'changingroom'
  24. end
  25. if $ARGS[0] = 'changingroom':
  26. $locclass = 'changingroom'
  27. $loc_arg = 'changingroom'
  28. $loc = 'NewCloShop'
  29. $menu_loc = 'NewCloShop'
  30. $menu_arg = 'changingroom'
  31. gs 'stat'
  32. menu_off = 0
  33. *clr & cla
  34. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/fashionista/changingroom.jpg"</center>'
  35. 'As you walk through the store you notice that there''s nobody in the changing rooms. Feeling a bit bored you go look at some clothes and grab several items to try on before heading into one of the changing rooms.'
  36. if $clothingworntype = 'nude':
  37. act 'Try on clothes': gt 'NewCloShop', 'dressingclothes'
  38. act 'Try on bra':
  39. if NatbelQW['seethrough'] = 0 and NatbelQW['QWstage'] > 5 and NatbelQW['underwearShop'] = 0:
  40. *clr & cla
  41. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/fashionista/nude.jpg"</center>'
  42. 'As you try on a particularly spicy set of seethrough underwear you notice that it doesn''t quite fit you.'
  43. '"This should fit Natasha perfectly though. And it only costs 750 <b>₽</b>." You think to yourself, imagining the look on her face if you make her wear it.'
  44. act 'Buy it':
  45. *clr & cla
  46. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/fashionista/nude.jpg"</center>'
  47. 'You put the underwear aside for now so that you can take it to the register with you.'
  48. money -= 750
  49. NatbelQW['seethrough'] = 1
  50. act 'Stay in the changingroom': gt 'NewCloShop', 'changingroom'
  51. act 'Get dressed and go back to the store': gt 'NewCloShop', 'changingend'
  52. end
  53. act 'Don''t buy it':
  54. *clr & cla
  55. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/fashionista/nude.jpg"</center>'
  56. 'Deciding against it, you look through the rest of the underwear for something that would fit you better.'
  57. NatbelQW['underwearShop'] = 1
  58. act 'Stay in the changingroom': gt 'NewCloShop', 'changingroom'
  59. act 'Get dressed and go back to the store': gt 'NewCloShop', 'changingend'
  60. end
  61. else
  62. gt 'NewCloShop', 'dressingbra'
  63. !*clr & cla
  64. !clorand = rand(1, 38)
  65. !gt 'bras', 'view_bra_item', 'shop', 'fashionista',clorand, 750
  66. end
  67. end
  68. act 'Try on panties': gt 'NewCloShop', 'dressingpanties'
  69. !*clr & cla
  70. !clorand = rand(1, 75)
  71. !gt 'panties', 'view_panty_item', 'shop', 'fashionista',clorand, 750
  72. !end
  73. end
  74. if $clothingworntype = 'nude':
  75. act 'Put on clothes':
  76. *clr & cla
  77. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/fashionista/dressed.jpg"</center>'
  78. gs 'clothing', 'wear_last_worn'
  79. act 'Stay in the changingroom': gt 'NewCloShop', 'changingroom'
  80. act 'Get dressed and go back to the store': gt 'NewCloShop', 'changingend'
  81. end
  82. end
  83. if $clothingworntype ! 'nude' and $pantyworntype ! 'none':
  84. act 'Strip to your underwear':
  85. *clr & cla
  86. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/fashionista/underwear.jpg"</center>'
  87. gs 'clothing', 'strip'
  88. act 'Stay in the changingroom': gt 'NewCloShop', 'changingroom'
  89. act 'Get dressed and go back to the store': gt 'NewCloShop', 'changingend'
  90. end
  91. end
  92. if $clothingworntype = 'nude' and $pantyworntype = 'none':
  93. act 'Put on underwear':
  94. *clr & cla
  95. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/fashionista/underwear.jpg"</center>'
  96. gs 'underwear', 'wear'
  97. act 'Stay in the changingroom': gt 'NewCloShop', 'changingroom'
  98. act 'Get dressed and go back to the store': gt 'NewCloShop', 'changingend'
  99. end
  100. end
  101. if $clothingworntype ! 'nude' or $pantyworntype ! 'none':
  102. act 'Get naked':
  103. *clr & cla
  104. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/mall/fashionista/nude.jpg"</center>'
  105. gs 'clothing', 'strip'
  106. gs 'underwear', 'remove'
  107. act 'Stay in the changingroom': gt 'NewCloShop', 'changingroom'
  108. act 'Get dressed and go back to the store': gt 'NewCloShop', 'changingend'
  109. end
  110. end
  111. if $clothingworntype = 'nude':
  112. act 'Get dressed and go back to the store': gt 'NewCloShop', 'changingend'
  113. else
  114. act 'Go back to the store': gt 'NewCloShop', 'changingend'
  115. end
  116. end
  117. if $ARGS[0] = 'dressingclothes':
  118. *clr & cla
  119. $loc_arg = 'dressingclothes'
  120. $loc = 'NewCloShop'
  121. !clorand = rand(1,ARRSIZE('expensive'))
  122. !gt 'clothing', 'view_clothing_item', 'shop', 'expensive', clorand, 8000
  123. menu_off = 1
  124. *clr & cla
  125. gs'stat'
  126. '<center><b><font color="maroon">Viewing Fashionista clothing</font></b></center>'
  127. *nl
  128. gs 'clothing_QV', 'shop_header'
  129. act 'Return':
  130. minut += 1
  131. gt 'NewCloShop', 'changingroom'
  132. end
  133. i = Clothingstock +1
  134. if Clothingstock - 12 > 0:i -= 12
  135. clothingfilter['qualitycheck'] = 7
  136. :loopquality
  137. :loopexpensive2
  138. if expensive[i] = 0:
  139. gs 'clothing_attributes', 'expensive', i
  140. gs 'clothing_QV', 'shop_filter'
  141. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  142. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''NewCloShop'', ''dressingshmotmag''"><img src="images/pc/clothing/3expensive/<<i>>.jpg" height="250" /></a> '
  143. end
  144. end
  145. i += 12
  146. if i <= 433:jump 'loopexpensive2'
  147. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality'
  148. end
  149. if $ARGS[0] = 'dressingshmotmag':
  150. cla
  151. if expensive[i] ! 0:
  152. msg 'You already own these clothes.'
  153. gt 'NewCloShop', 'dressingclothes'
  154. end
  155. gt 'clothing', 'view_clothing_item', 'shop', 'expensive',i, 8000
  156. end
  157. if $ARGS[0] = 'dressingbra':
  158. $loc_arg = 'dressingbra'
  159. $loc = 'NewCloShop'
  160. menu_off = 1
  161. *clr & cla
  162. gs'stat'
  163. act 'Return':
  164. cla
  165. minut += 1
  166. gt 'NewCloShop', 'changingroom'
  167. end
  168. i = 1
  169. :loopfashionista_bras2
  170. if fashionista_bras[i] = 0:*p '<a href="exec: i = <<i>> & gt ''NewCloShop'', ''dressingbras2''"><img src="images/pc/bras/fashionista/<<i>>.jpg" height="150" /></a> '
  171. i += 1
  172. if i <= 38:jump 'loopfashionista_bras2'
  173. end
  174. if $ARGS[0] = 'dressingbras2':
  175. cla
  176. if fashionista_bras[i] ! 0:
  177. msg 'You already own this bra.'
  178. gt 'NewCloShop', 'bras'
  179. end
  180. gt 'bras', 'view_bra_item', 'shop', 'fashionista',i, 750
  181. end
  182. if $ARGS[0] = 'changingend':
  183. !! Sveta dresses again
  184. gs 'underwear', 'wear'
  185. gs 'clothing', 'wear_last_worn'
  186. gt 'NewCloShop', 'start'
  187. end
  188. if $ARGS[0] = 'dressingpanties':
  189. $loc_arg = 'dressingpanties'
  190. $loc = 'NewCloShop'
  191. menu_off = 1
  192. *clr & cla
  193. gs'stat'
  194. act 'Return':
  195. cla
  196. minut += 1
  197. gt 'NewCloShop', 'changingroom'
  198. end
  199. i = 1
  200. :loopfashionista_panties2
  201. if fashionista_panties[i] = 0:*p '<a href="exec: i = <<i>> & gt ''NewCloShop'', ''dressingpanties2''"><img src="images/pc/panties/fashionista/<<i>>.jpg" height="150" /></a> '
  202. i += 1
  203. if i <= 75:jump 'loopfashionista_panties2'
  204. end
  205. if $ARGS[0] = 'dressingpanties2':
  206. cla
  207. if fashionista_panties[i] ! 0:
  208. msg 'You already own these panties.'
  209. gt 'NewCloShop', 'dressingpanties'
  210. end
  211. gt 'panties', 'view_panty_item', 'shop', 'fashionista',i, 750
  212. end
  213. if $ARGS[0] = 'purses':
  214. $loc_arg = 'purses'
  215. $loc = 'NewCloShop'
  216. menu_off = 1
  217. *clr & cla
  218. gs'stat'
  219. act 'Return':
  220. cla
  221. minut += 1
  222. gt 'NewCloShop', 'start'
  223. end
  224. i = 1
  225. :loopfashionista_purses
  226. if fashionista_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''NewCloShop'', ''purses2''"><img src="images/pc/purses/fashionista/<<i>>.jpg" height="150" /></a> '
  227. i += 1
  228. if i <= 15:jump 'loopfashionista_purses'
  229. end
  230. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'fashionista',i, 3000
  231. --- NewCloShop ---------------------------------